I can't find any example for this method. I don't want to check the messages via "getMessages" method but want that telegram sends a TCP message to ESP8266, like my mobile or browser receive messages.

Here is the method description: https://core.telegram.org/method/account.registerDevice

I already tried a simple HTTP request like this: https://api.telegram.org/botIDgibberish/registerDevice?param&param

Is that possible?

  • 4
    Can you add some links to the relevant documentation? Commented May 2, 2017 at 12:12

1 Answer 1


You cannot use the normal API with http GET like you suggest. You would have to use MTProto protocol that is propietary for Telegram or Bots.

With bots you can generate an own url to your local server, where you give yourself a deep link for the desired action, looking quite similar to that you provided.

There are more details and links under:


Links for use of telegram api in github, if you don't like bots (links mentioned under the same post):



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.