Hacker News new | ask | show | jobs
by hyperfuturism 933 days ago
Seconded on the Telegram bot API.

I've used both Discord's bot API as well, and can say it was way more convoluted to get up and going. Telegram's API was a joy to build in. This was in Node.js.

2 comments

Is there a simple API to read my chats programmatically? Not a bot, but on my own TG account? I was confused by this a while ago
You need to use the "Telegram API": https://core.telegram.org/api#telegram-api (not the "Bot API") to develop your client. It uses MTProto to communicate with the server, so I suggest you just use a library that supports it like Telethon if you want to program in Python.
Care to provide a concrete example of a difference? Curious.