Answer the question
In order to leave comments, you need to log in
How to make requests to Telegram API?
How to work with him, how to make requests? I write in php, c++ (I clarify, I don’t need to work with api bots)
Ps I went through many pages, including the telegram documentation, but did not find any examples of working with the API at all. Isn't anyone interested in this area? Or is it very difficult?
Pps I'm familiar with the VK API, everything is convenient there, I like it :)
UPD: I need a specific example of c++ code (at least in php) with sending a request.
Answer the question
In order to leave comments, you need to log in
Telegram has a simple HTTP API only for working with bots.
The main Telegram protocol is called MtProto and it is somewhat more complicated - the documentation is in the public domain ( https://core.telegram.org/mtproto ) + full of ready-made implementations in different languages, for example, on php https://github.com/danog/ MadelineProto
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question