How can I get a list of all bots registered with BotFather?
问题 My task is to get a list of all user bots, after authorization in the telegram client through the API. I looked in the documentation for a specific method, but did not find it. Can someone tell me how this can be done, and is it possible at all? 回答1: I don't think there's a direct API for that unfortunately. But consider automating the interaction with the BotFather to gather the list programmatically. Here is a sample script in Telethon from telethon import TelegramClient, events API_ID = ..