mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 20:59:29 +00:00
2.3 KiB
2.3 KiB
1 | id | message |
---|---|---|
2 | FIRSTNAME_INVALID | The first name is invalid |
3 | LASTNAME_INVALID | The last name is invalid |
4 | PHONE_NUMBER_INVALID | The phone number is invalid |
5 | PHONE_CODE_HASH_EMPTY | phone_code_hash is missing |
6 | PHONE_CODE_EMPTY | phone_code is missing |
7 | PHONE_CODE_EXPIRED | The confirmation code has expired |
8 | PHONE_CODE_INVALID | The confirmation code is invalid |
9 | API_ID_INVALID | The api_id/api_hash combination is invalid |
10 | PHONE_NUMBER_OCCUPIED | The phone number is already in use |
11 | PHONE_NUMBER_UNOCCUPIED | The phone number is not yet being used |
12 | USERS_TOO_FEW | Not enough users (to create a chat, for example) |
13 | USERS_TOO_MUCH | The maximum number of users has been exceeded (to create a chat, for example) |
14 | TYPE_CONSTRUCTOR_INVALID | The type constructor is invalid |
15 | FILE_PART_INVALID | The file part number is invalid |
16 | FILE_PARTS_INVALID | The number of file parts is invalid |
17 | FILE_PART_X_MISSING | Part {x} of the file is missing from storage |
18 | MD5_CHECKSUM_INVALID | The MD5 checksums do not match |
19 | PHOTO_INVALID_DIMENSIONS | The photo dimensions are invalid |
20 | FIELD_NAME_INVALID | The field with the name FIELD_NAME is invalid |
21 | FIELD_NAME_EMPTY | The field with the name FIELD_NAME is missing |
22 | MSG_WAIT_FAILED | A waiting call returned an error |
23 | PEER_ID_INVALID | The id/access_hash combination is invalid |
24 | MESSAGE_EMPTY | The message sent is empty |
25 | ENCRYPTED_MESSAGE_INVALID | The special binding message (bind_auth_key_inner) contains invalid data |
26 | INPUT_METHOD_INVALID | The method called is invalid |
27 | PASSWORD_HASH_INVALID | Two-step verification password is invalid |
28 | USERNAME_NOT_OCCUPIED | The username is not occupied by anyone |
29 | USERNAME_INVALID | The username is invalid |
30 | MESSAGE_ID_INVALID | The message id is invalid |
31 | MESSAGE_NOT_MODIFIED | The message was not modified |
32 | ENTITY_MENTION_USER_INVALID | The mentioned entity is not an user |
33 | MESSAGE_TOO_LONG | The message text is over 4096 characters |
34 | ACCESS_TOKEN_EXPIRED | The bot token is invalid |
35 | BOT_METHOD_INVALID | The method can't be used by bots |
36 | QUERY_TOO_SHORT | The query is too short |
37 | SEARCH_QUERY_EMPTY | The query is empty |
38 | CHAT_ID_INVALID | The chat id is invalid |
39 | DATE_EMPTY | The date argument is empty |
40 | PERSISTENT_TIMESTAMP_EMPTY | The pts is empty |
41 | CDN_METHOD_INVALID | The method can't be used on CDN DCs |
42 | VOLUME_LOC_NOT_FOUND | The volume location can't be found |
43 | FILE_ID_INVALID | The file id is invalid |
44 | LOCATION_INVALID | The file location is invalid |
45 | CHAT_ADMIN_REQUIRED | The method requires admin privileges |