Re:700M users and Premium
by neals on Sunday June 19, 2022 @04:12PM
(#31802973)
That's actually awesome, does Telegram have an API of some sort?
[ Parent
| on HN ]
Re:700M users and Premium
by ajsnigrutin on Sunday June 19, 2022 @04:58PM
(#31803440)
Yep :)
You first create a bot, then join a chat with that bot, then control the bot via the http api
api: https://core.telegram.org/bots/api
quickstart (just to send messages, not mine): https://gist.github.com/dideler/85de4d64f66c1966788c1b2304b9...
Telegram actually has full-featured APIs, allowing you to implement both bots and custom clients! You can start here: https://core.telegram.org/ . Unfortunately, I don't have the direct link to the single-curl-request.