I use telethon for sending messages to telegram using python script.
I did not find anything in telethon to search for groups and channels I like used to search on telegram app. Please see iamge. How can I get such list using telethon?
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
Create file with your secrets:
config.ini
One solution is this,
do_search.py
And don’t forget to always thank @lonami for creating this awesome library Telethon 🙂