Telethon
Telethon copied to clipboard
Pure Python 3 MTProto API Telegram client library, for bots too!
`thumb` is not defined anywhere. **Code that causes the issue** ```python channel = await self.client(channels.GetFullChannel(...)) contents = await self.client.download_media(channel.full_chat.chat_photo) ``` **Traceback** ``` Traceback (most recent call last): File "/home/telegram/worker/./app/controllers.py", line...
Hi, I am trying to `client.sign_in()`, `client.log_out()` and then `client.sign_in()` consecutively but failed. The last `sign_in()` raises `sqlite3.OperationalError: no such table: sessions` when it tries to connect to Telegram. I...
**Checklist** * [X] The error is in the library's code, and not in my own. * [X] I have searched for this issue before posting it and there isn't a...
**Checklist** * [ X] The error is in the library's code, and not in my own. * [X ] I have searched for this issue before posting it and there...
I try to know when i receive an album. `@client.on(events.Album(chats=FROM)) ` My FROM its user (12345678) and chanel (-10012345678). When i receive album from chanell - all good (i see...
Please add support for new telegram invites support. Because method like `await client(ImportChatInviteRequest(hash=url.split("t.me/+",maxsplit=1)[1]))` doesn't work.
I have problem in dealing with Telethon library when I use proxy ipv6 it show error "An invalid argument was supplied" and some times "Proxy connection timed out: 10" I...
Type hints
Some of them are wrong, and a lot of them are missing. It would be really good to type hint all parameters and return values on the public API of...
Please add a feature to get/set the list of folders, ans add/remove dialogs from those folders.