Hacker News new | ask | show | jobs
by pawelduda 935 days ago
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
1 comments

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.