Telethon
Telethon copied to clipboard
Pure Python 3 MTProto API Telegram client library, for bots too!
It should accept only kwargs, each one overriding that property in the newly created object.
Please describe your idea. Would you like another friendly method? Renaming them to something more appropriated? Changing the way something works? since telethon automatic resize with PIL , and telegram...
The title says it all, but maybe since it would no longer only apply to chats it should be renamed to idk EntityMetadataAction or something in v2
The title says it all, but maybe since it would no longer only apply to chats it should be renamed to idk EntityMetadataAction or something in v2
**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...
Hi! It'd be nice to have a function that waits for all event handlers to finish. Something like a join(), but for event handlers. For example: - I register a...
Telegram now supports "[profile videos](https://telegram.org/blog/profile-videos-people-nearby-and-more#profile-videos)", which are basically a list of `VideoSize`, contained in `video_sizes` attribute of `Photo` type. Though it is a video, it's supposed to be downloaded like...
there is an update that received from inline called `chosen_inline_request` when the command `/setinlinefeedback` is enable from @botfather please implement this event. ![image](https://user-images.githubusercontent.com/17555698/70230530-965e7880-1769-11ea-846d-c427223a06a6.png)
### Code that causes the issue the code is: ```python msg_iter = client.iter_messages(entity.id, reverse=True, min_id=100) async for msg in msg_iter: if msg.media and (isinstance(msg.media, telethon.tl.types.MessageMediaPhoto) or isinstance(msg.media, telethon.tl.types.MessageMediaDocument)): media_path =...
### Code that causes the issue ``` def init_run (self): telegram_info = "a db query ...................................." mobile = telegram_info[0] api_id = telegram_info[1] api_hash = telegram_info[2] string_session = telegram_info[3] self.client =...