pyrogram
pyrogram copied to clipboard
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
### Checklist - [X] I am sure the error is coming from Pyrogram's code and not elsewhere - [X] I have searched in the issue tracker for similar bug reports,...
According to the official document (https://core.telegram.org/method/messages.getHistory) max_id: Can be used to only return results with ID strictly smaller than max_id (e.g. message ID) min_id: Can be used to only return...
Please allow the use of custom storages. I use it, for example, to restore non-truncated with peer info sessions from my own SQL dump.
Only adds support for custom storages without breaking changes
### Checklist - [X] I believe the idea is awesome and would benefit the framework - [X] I have searched in the issue tracker for similar requests, including closed ones...
### Checklist - [X] I am sure the error is coming from Pyrogram's code and not elsewhere - [X] I have searched in the issue tracker for similar bug reports,...
Reverse parameter which was available in `iter_history` until Pyrogram 1.4.x is not available in `get_chat_history` in Pyrogram 2.x. This PR adds the reverse parameter to `get_chat_history` fixes: #991
public chat join request will raise `invite` miss `admin_id` attr fixes: #1037