mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-04 00:05:07 +00:00
Deep rewrite: preparing for v1.0
- Pyrogram core is now fully asynchronous - Ditched Python 3.5, welcome 3.6 as minimum version. - Moved all types to pyrogram.types - Turned the Filters class into a module (filters) - Moved all filters to pyrogram.filters - Moved all handlers to pyrogram.handlers - Moved all emoji to pyrogram.emoji - Renamed pyrogram.api to pyrogram.raw - Clock is now synced with server's time - Telegram schema updated to Layer 117 - Greatly improved the TL compiler (proper type-constructor hierarchy) - Added "do not edit" warning in generated files - Crypto parts are executed in a thread pool to avoid blocking the event loop - idle() is now a separate function (it doesn't deal with Client instances) - Async storage, async filters and async progress callback (optional, can be sync too) - Added getpass back, for hidden password inputs
This commit is contained in:
@@ -28,7 +28,7 @@ PASSWORD_HASH_INVALID Two-step verification password is invalid
|
||||
USERNAME_NOT_OCCUPIED The username is not occupied by anyone
|
||||
USERNAME_INVALID The username is invalid
|
||||
MESSAGE_ID_INVALID The message id is invalid
|
||||
MESSAGE_NOT_MODIFIED The message was not modified
|
||||
MESSAGE_NOT_MODIFIED The message was not modified because you tried to edit it using the same content
|
||||
ENTITY_MENTION_USER_INVALID The mentioned entity is not an user
|
||||
MESSAGE_TOO_LONG The message text is over 4096 characters
|
||||
ACCESS_TOKEN_EXPIRED The bot token is invalid
|
||||
|
|
Reference in New Issue
Block a user