Closed andrew-maksimov closed 7 years ago
Hi. Can you explain the motivation of implementing it over http? The only thing I can advice atm is to read docs: https://core.telegram.org/mtproto They have pretty good documentation on the protocol. Also you could reuse a lot of code from this library(f.e. messages encryption and so on)
Adding protocol choices, make it more universal library. Where there is a possibility, of course better to use TCP. But not everywhere have the opportunity to use TCP protocol.
I'm not telling this is a bad idea. Just interested in the motivation :)
But not everywhere have the opportunity to use TCP protocol.
In which cases is this possible? Http is built on to of tcp.
Now Telegram.Net supports one transport (TCP). I would try to write another transport (HTTP).
Someone tell me where best to start, and which way to go? =)
I tried, but it was stuck. Maybe someone will tell you where I'm confused. I am trying to implement the http-transport. When you try to get the answer - Error 404.