Add some more errors

This commit is contained in:
Dan 2017-12-22 07:55:02 +01:00
parent d01f6f67a9
commit 9fce809188

View File

@ -30,4 +30,15 @@ USERNAME_INVALID The username is invalid
MESSAGE_ID_INVALID The message id is invalid
MESSAGE_NOT_MODIFIED The message was not modified
ENTITY_MENTION_USER_INVALID The mentioned entity is not an user
MESSAGE_TOO_LONG The message text is over 4096 characters
MESSAGE_TOO_LONG The message text is over 4096 characters
ACCESS_TOKEN_EXPIRED The bot token is invalid
BOT_METHOD_INVALID The method can't be used by bots
QUERY_TOO_SHORT The query is too short
SEARCH_QUERY_EMPTY The query is empty
CHAT_ID_INVALID The chat id is invalid
DATE_EMPTY The date argument is empty
PERSISTENT_TIMESTAMP_EMPTY The pts is empty
CDN_METHOD_INVALID The method can't be used on CDN DCs
VOLUME_LOC_NOT_FOUND The volume location can't be found
FILE_ID_INVALID The file id is invalid
LOCATION_INVALID The file location is invalid
1 id message
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