Telethon
Telethon copied to clipboard
Pure Python 3 MTProto API Telegram client library, for bots too!
**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...
Particularly, a new type of button, which opens a web app. (bot API 6) Example: https://t.me/DurgerKingBot For more info: https://core.telegram.org/bots/webapps
**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...
Telegram Desktop 3.0 client has introduced the ability to "change how the messages will be sent" when forwarding (see attached image): https://desktop.telegram.org/changelog#v-3-0-31-08-21 From that, I assume it would be possible...
**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...
Group video upload with http url is not currently supported ```python album = [ types.InputMediaPhotoExternal('https://example.com/example.png'), types.InputMediaDocumentExternal('https://example.com/example.mp4'), ] await client.send_file('username', album) ``` Error: ``` telethon.errors.rpcerrorlist.MediaInvalidError: Media invalid (caused by SendMultiMediaRequest) ```...
Hey @Lonami I reported the issue yesterday in your chat, and created a minimal example and steps on how to reproduce the issue. **Checklist** * [x] The error is in...
**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...
Since `download_file` is no longer accessible, I assume that the correct way to download a channel avatar is with the `download_profile_photo` function. **Code that causes the issue** ```python channel =...
Currently `progress_callback` in `download_profile_photo` is a required argument. https://github.com/LonamiWebs/Telethon/blob/08bb72ea6b49486efde98ba0100bbd32676646bf/telethon/_client/downloads.py#L179-L185