Replace error and method data with CSV files

This commit is contained in:
Lonami Exo 2018-11-30 21:38:36 +01:00
parent ed1bcb509f
commit f646863149
5 changed files with 434 additions and 79 deletions

View File

@ -1,77 +0,0 @@
# These are comments. Spaces around the = are optional. Empty lines ignored.
#CODE=Human readable description
FILE_MIGRATE_X=The file to be accessed is currently stored in DC {}
PHONE_MIGRATE_X=The phone number a user is trying to use for authorization is associated with DC {}
NETWORK_MIGRATE_X=The source IP address is associated with DC {}
USER_MIGRATE_X=The user whose identity is being used to execute queries is associated with DC {}
API_ID_INVALID=The api_id/api_hash combination is invalid
BOT_METHOD_INVALID=The API access for bot users is restricted. The method you tried to invoke cannot be executed as a bot
CDN_METHOD_INVALID=This method cannot be invoked on a CDN server. Refer to https://core.telegram.org/cdn#schema for available methods
CHANNEL_INVALID=Invalid channel object. Make sure to pass the right types, for instance making sure that the request is designed for channels or otherwise look for a different one more suited
CHANNEL_PRIVATE=The channel specified is private and you lack permission to access it. Another reason may be that you were banned from it
CHAT_ADMIN_REQUIRED=Chat admin privileges are required to do that in the specified chat (for example, to send a message in a channel which is not yours)
CHAT_ID_INVALID=Invalid object ID for a chat. Make sure to pass the right types, for instance making sure that the request is designed for chats (not channels/megagroups) or otherwise look for a different one more suited\nAn example working with a megagroup and AddChatUserRequest, it will fail because megagroups are channels. Use InviteToChannelRequest instead
CONNECTION_LANG_PACK_INVALID=The specified language pack is not valid. This is meant to be used by official applications only so far, leave it empty
CONNECTION_LAYER_INVALID=The very first request must always be InvokeWithLayerRequest
DC_ID_INVALID=This occurs when an authorization is tried to be exported for the same data center one is currently connected to
FIELD_NAME_EMPTY=The field with the name FIELD_NAME is missing
FIELD_NAME_INVALID=The field with the name FIELD_NAME is invalid
FILE_PARTS_INVALID=The number of file parts is invalid
FILE_PART_X_MISSING=Part {} of the file is missing from storage
FILE_PART_INVALID=The file part number is invalid
FIRSTNAME_INVALID=The first name is invalid
INPUT_METHOD_INVALID=The invoked method does not exist anymore or has never existed
INPUT_REQUEST_TOO_LONG=The input request was too long. This may be a bug in the library as it can occur when serializing more bytes than it should (like appending the vector constructor code at the end of a message)
LASTNAME_INVALID=The last name is invalid
LIMIT_INVALID=An invalid limit was provided. See https://core.telegram.org/api/files#downloading-files
LOCATION_INVALID=The location given for a file was invalid. See https://core.telegram.org/api/files#downloading-files
MD5_CHECKSUM_INVALID=The MD5 check-sums do not match
MESSAGE_EMPTY=Empty or invalid UTF-8 message was sent
MESSAGE_ID_INVALID=The specified message ID is invalid
MESSAGE_TOO_LONG=Message was too long. Current maximum length is 4096 UTF-8 characters
MESSAGE_NOT_MODIFIED=Content of the message was not modified
MSG_WAIT_FAILED=A waiting call returned an error
OFFSET_INVALID=The given offset was invalid, it must be divisible by 1KB. See https://core.telegram.org/api/files#downloading-files
PASSWORD_HASH_INVALID=The password (and thus its hash value) you entered is invalid
PEER_ID_INVALID=An invalid Peer was used. Make sure to pass the right peer type
PHONE_CODE_EMPTY=The phone code is missing
PHONE_CODE_EXPIRED=The confirmation code has expired
PHONE_CODE_HASH_EMPTY=The phone code hash is missing
PHONE_CODE_INVALID=The phone code entered was invalid
PHONE_NUMBER_BANNED=The used phone number has been banned from Telegram and cannot be used anymore. Maybe check https://www.telegram.org/faq_spam
PHONE_NUMBER_INVALID=The phone number is invalid
PHONE_NUMBER_OCCUPIED=The phone number is already in use
PHONE_NUMBER_UNOCCUPIED=The phone number is not yet being used
PHOTO_INVALID_DIMENSIONS=The photo dimensions are invalid
TYPE_CONSTRUCTOR_INVALID=The type constructor is invalid
USERNAME_INVALID=Nobody is using this username, or the username is unacceptable. If the latter, it must match r"[a-zA-Z][\w\d]{3,30}[a-zA-Z\d]"
USERNAME_NOT_MODIFIED=The username is not different from the current username
USERNAME_NOT_OCCUPIED=The username is not in use by anyone else yet
USERNAME_OCCUPIED=The username is already taken
USERS_TOO_FEW=Not enough users (to create a chat, for example)
USERS_TOO_MUCH=The maximum number of users has been exceeded (to create a chat, for example)
USER_ID_INVALID=Invalid object ID for a user. Make sure to pass the right types, for instance making sure that the request is designed for users or otherwise look for a different one more suited
ACTIVE_USER_REQUIRED=The method is only available to already activated users
AUTH_KEY_INVALID=The key is invalid
AUTH_KEY_PERM_EMPTY=The method is unavailable for temporary authorization key, not bound to permanent
AUTH_KEY_UNREGISTERED=The key is not registered in the system
INVITE_HASH_EXPIRED=The chat the user tried to join has expired and is not valid anymore
SESSION_EXPIRED=The authorization has expired
SESSION_PASSWORD_NEEDED=Two-steps verification is enabled and a password is required
SESSION_REVOKED=The authorization has been invalidated, because of the user terminating all sessions
USER_ALREADY_PARTICIPANT=The authenticated user is already a participant of the chat
USER_DEACTIVATED=The user has been deleted/deactivated
FLOOD_WAIT_X=A wait of {} seconds is required
FLOOD_TEST_PHONE_WAIT_X=A wait of {} seconds is required in the test servers
TAKEOUT_INIT_DELAY_X=A wait of {} seconds is required before being able to initiate the takeout
CHAT_NOT_MODIFIED=The chat or channel wasn't modified (title, invites, username, admins, etc. are the same)
URL_INVALID=The URL used was invalid (e.g. when answering a callback with an URL that's not t.me/yourbot or your game's URL)
USER_NOT_PARTICIPANT=The target user is not a member of the specified megagroup or channel
TAKEOUT_REQUIRED=You must initialize a takeout request first
REPLY_MARKUP_TOO_LONG=The data embedded in the reply markup buttons was too much
SHORTNAME_OCCUPY_FAILED=An error occurred when trying to register the short-name used for the sticker pack. Try a different name
PACK_SHORT_NAME_INVALID=Invalid sticker pack name. It must begin with a letter, can't contain consecutive underscores and must end in "_by_<bot username>".
PHOTO_SAVE_FILE_INVALID=The photo you tried to send cannot be saved by Telegram. A reason may be that it exceeds 10MB. Try resizing it locally
AUTH_KEY_DUPLICATED=The authorization key (session file) was used under two different IP addresses simultaneously, and can no longer be used. Use the same session exclusively, or use different sessions
CHAT_RESTRICTED=The chat is restricted and cannot be used in that request

View File

@ -0,0 +1,248 @@
name,codes,description
ABOUT_TOO_LONG,400,The provided bio is too long
ACCESS_TOKEN_EXPIRED,400,Bot token expired
ACCESS_TOKEN_INVALID,400,The provided token is not valid
ACTIVE_USER_REQUIRED,401,The method is only available to already activated users
ADMINS_TOO_MUCH,400,Too many admins
API_ID_INVALID,400,The api_id/api_hash combination is invalid
API_ID_PUBLISHED_FLOOD,400,"This API id was published somewhere, you can't use it now"
ARTICLE_TITLE_EMPTY,400,The title of the article is empty
AUTH_BYTES_INVALID,400,The provided authorization is invalid
AUTH_KEY_DUPLICATED,406,"The authorization key (session file) was used under two different IP addresses simultaneously, and can no longer be used. Use the same session exclusively, or use different sessions"
AUTH_KEY_INVALID,401,The key is invalid
AUTH_KEY_PERM_EMPTY,401,"The method is unavailable for temporary authorization key, not bound to permanent"
AUTH_KEY_UNREGISTERED,401,The key is not registered in the system
AUTH_RESTART,500,Restart the authorization process
BOTS_TOO_MUCH,400,There are too many bots in this chat/channel
BOT_CHANNELS_NA,400,Bots can't edit admin privileges
BOT_GROUPS_BLOCKED,400,This bot can't be added to groups
BOT_INLINE_DISABLED,400,This bot can't be used in inline mode
BOT_INVALID,400,This is not a valid bot
BOT_METHOD_INVALID,,The API access for bot users is restricted. The method you tried to invoke cannot be executed as a bot
BOT_MISSING,400,This method can only be run by a bot
BUTTON_DATA_INVALID,400,The provided button data is invalid
BUTTON_TYPE_INVALID,400,The type of one of the buttons you provided is invalid
BUTTON_URL_INVALID,400,Button URL invalid
CALL_ALREADY_ACCEPTED,400,The call was already accepted
CALL_ALREADY_DECLINED,400,The call was already declined
CALL_OCCUPY_FAILED,500,The call failed because the user is already making another call
CALL_PEER_INVALID,400,The provided call peer object is invalid
CALL_PROTOCOL_FLAGS_INVALID,400,Call protocol flags invalid
CDN_METHOD_INVALID,400,This method cannot be invoked on a CDN server. Refer to https://core.telegram.org/cdn#schema for available methods
CHANNELS_ADMIN_PUBLIC_TOO_MUCH,400,"You're admin of too many public channels, make some channels private to change the username of this channel"
CHANNELS_TOO_MUCH,400,You have joined too many channels/supergroups
CHANNEL_INVALID,400,"Invalid channel object. Make sure to pass the right types, for instance making sure that the request is designed for channels or otherwise look for a different one more suited"
CHANNEL_PRIVATE,400,The channel specified is private and you lack permission to access it. Another reason may be that you were banned from it
CHANNEL_PUBLIC_GROUP_NA,403,channel/supergroup not available
CHAT_ABOUT_NOT_MODIFIED,400,About text has not changed
CHAT_ABOUT_TOO_LONG,400,Chat about too long
CHAT_ADMIN_INVITE_REQUIRED,403,You do not have the rights to do this
CHAT_ADMIN_REQUIRED,400 403,"Chat admin privileges are required to do that in the specified chat (for example, to send a message in a channel which is not yours)"
CHAT_FORBIDDEN,,You cannot write in this chat
CHAT_ID_EMPTY,400,The provided chat ID is empty
CHAT_ID_INVALID,400,"Invalid object ID for a chat. Make sure to pass the right types, for instance making sure that the request is designed for chats (not channels/megagroups) or otherwise look for a different one more suited\nAn example working with a megagroup and AddChatUserRequest, it will fail because megagroups are channels. Use InviteToChannelRequest instead"
CHAT_NOT_MODIFIED,400,"The chat or channel wasn't modified (title, invites, username, admins, etc. are the same)"
CHAT_RESTRICTED,400,The chat is restricted and cannot be used in that request
CHAT_SEND_GIFS_FORBIDDEN,403,You can't send gifs in this chat
CHAT_SEND_MEDIA_FORBIDDEN,403,You can't send media in this chat
CHAT_SEND_STICKERS_FORBIDDEN,403,You can't send stickers in this chat.
CHAT_TITLE_EMPTY,400,No chat title provided
CHAT_WRITE_FORBIDDEN,403,You can't write in this chat
CODE_EMPTY,400,The provided code is empty
CODE_HASH_INVALID,400,Code hash invalid
CONNECTION_API_ID_INVALID,400,The provided API id is invalid
CONNECTION_DEVICE_MODEL_EMPTY,400,Device model empty
CONNECTION_LANG_PACK_INVALID,400,"The specified language pack is not valid. This is meant to be used by official applications only so far, leave it empty"
CONNECTION_LAYER_INVALID,400,The very first request must always be InvokeWithLayerRequest
CONNECTION_NOT_INITED,400,Connection not initialized
CONNECTION_SYSTEM_EMPTY,400,Connection system empty
CONTACT_ID_INVALID,400,The provided contact ID is invalid
DATA_INVALID,400,Encrypted data invalid
DATA_JSON_INVALID,400,The provided JSON data is invalid
DATE_EMPTY,400,Date empty
DC_ID_INVALID,400,This occurs when an authorization is tried to be exported for the same data center one is currently connected to
DH_G_A_INVALID,400,g_a invalid
EMAIL_UNCONFIRMED,400,Email unconfirmed
ENCRYPTED_MESSAGE_INVALID,400,Encrypted message invalid
ENCRYPTION_ALREADY_ACCEPTED,400,Secret chat already accepted
ENCRYPTION_ALREADY_DECLINED,400,The secret chat was already declined
ENCRYPTION_DECLINED,400,The secret chat was declined
ENCRYPTION_ID_INVALID,400,The provided secret chat ID is invalid
ENCRYPTION_OCCUPY_FAILED,500,Internal server error while accepting secret chat
ENTITY_MENTION_USER_INVALID,400,You can't use this entity
ERROR_TEXT_EMPTY,400,The provided error message is empty
EXPORT_CARD_INVALID,400,Provided card is invalid
EXTERNAL_URL_INVALID,400,External URL invalid
FIELD_NAME_EMPTY,,The field with the name FIELD_NAME is missing
FIELD_NAME_INVALID,,The field with the name FIELD_NAME is invalid
FILE_ID_INVALID,400,The provided file id is invalid
FILE_MIGRATE_X,303,The file to be accessed is currently stored in DC {}
FILE_PARTS_INVALID,400,The number of file parts is invalid
FILE_PART_0_MISSING,,File part 0 missing
FILE_PART_EMPTY,400,The provided file part is empty
FILE_PART_INVALID,400,The file part number is invalid
FILE_PART_LENGTH_INVALID,400,The length of a file part is invalid
FILE_PART_SIZE_INVALID,400,The provided file part size is invalid
FILE_PART_X_MISSING,,Part {} of the file is missing from storage
FIRSTNAME_INVALID,400,The first name is invalid
FLOOD_TEST_PHONE_WAIT_X,420,A wait of {} seconds is required in the test servers
FLOOD_WAIT_X,420,A wait of {} seconds is required
GIF_ID_INVALID,400,The provided GIF ID is invalid
GROUPED_MEDIA_INVALID,400,Invalid grouped media
HASH_INVALID,400,The provided hash is invalid
HISTORY_GET_FAILED,500,Fetching of history failed
IMAGE_PROCESS_FAILED,400,Failure while processing image
INLINE_RESULT_EXPIRED,400,The inline query expired
INPUT_CONSTRUCTOR_INVALID,400,The provided constructor is invalid
INPUT_FETCH_ERROR,,An error occurred while deserializing TL parameters
INPUT_FETCH_FAIL,400,Failed deserializing TL payload
INPUT_LAYER_INVALID,400,The provided layer is invalid
INPUT_METHOD_INVALID,,The invoked method does not exist anymore or has never existed
INPUT_REQUEST_TOO_LONG,400,The input request was too long. This may be a bug in the library as it can occur when serializing more bytes than it should (like appending the vector constructor code at the end of a message)
INPUT_USER_DEACTIVATED,400,The specified user was deleted
INTERDC_1_CALL_ERROR,,An error occurred while communicating with DC 1
INTERDC_1_CALL_RICH_ERROR,,A rich error occurred while communicating with DC 1
INTERDC_2_CALL_ERROR,,An error occurred while communicating with DC 2
INTERDC_2_CALL_RICH_ERROR,,A rich error occurred while communicating with DC 2
INTERDC_3_CALL_ERROR,,An error occurred while communicating with DC 3
INTERDC_3_CALL_RICH_ERROR,,A rich error occurred while communicating with DC 3
INTERDC_4_CALL_ERROR,,An error occurred while communicating with DC 4
INTERDC_4_CALL_RICH_ERROR,,A rich error occurred while communicating with DC 4
INTERDC_5_CALL_ERROR,,An error occurred while communicating with DC 5
INTERDC_5_CALL_RICH_ERROR,,A rich error occurred while communicating with DC 5
INVITE_HASH_EMPTY,400,The invite hash is empty
INVITE_HASH_EXPIRED,400,The chat the user tried to join has expired and is not valid anymore
INVITE_HASH_INVALID,400,The invite hash is invalid
LANG_PACK_INVALID,400,The provided language pack is invalid
LASTNAME_INVALID,,The last name is invalid
LIMIT_INVALID,400,An invalid limit was provided. See https://core.telegram.org/api/files#downloading-files
LOCATION_INVALID,400,The location given for a file was invalid. See https://core.telegram.org/api/files#downloading-files
MAX_ID_INVALID,400,The provided max ID is invalid
MD5_CHECKSUM_INVALID,,The MD5 check-sums do not match
MEDIA_CAPTION_TOO_LONG,400,The caption is too long
MEDIA_EMPTY,400,The provided media object is invalid
MEDIA_INVALID,400,Media invalid
MEMBER_NO_LOCATION,500,An internal failure occurred while fetching user info (couldn't find location)
MEMBER_OCCUPY_PRIMARY_LOC_FAILED,500,Occupation of primary member location failed
MESSAGE_AUTHOR_REQUIRED,403,Message author required
MESSAGE_DELETE_FORBIDDEN,403,"You can't delete one of the messages you tried to delete, most likely because it is a service message."
MESSAGE_EDIT_TIME_EXPIRED,400,"You can't edit this message anymore, too much time has passed since its creation."
MESSAGE_EMPTY,400,Empty or invalid UTF-8 message was sent
MESSAGE_IDS_EMPTY,400,No message ids were provided
MESSAGE_ID_INVALID,400,The specified message ID is invalid
MESSAGE_NOT_MODIFIED,400,Content of the message was not modified
MESSAGE_TOO_LONG,400,Message was too long. Current maximum length is 4096 UTF-8 characters
MSG_WAIT_FAILED,400,A waiting call returned an error
NEED_CHAT_INVALID,500,The provided chat is invalid
NEED_MEMBER_INVALID,500,The provided member is invalid
NETWORK_MIGRATE_X,303,The source IP address is associated with DC {}
NEW_SALT_INVALID,400,The new salt is invalid
NEW_SETTINGS_INVALID,400,The new settings are invalid
OFFSET_INVALID,400,"The given offset was invalid, it must be divisible by 1KB. See https://core.telegram.org/api/files#downloading-files"
OFFSET_PEER_ID_INVALID,400,The provided offset peer is invalid
PACK_SHORT_NAME_INVALID,400,"Invalid sticker pack name. It must begin with a letter, can't contain consecutive underscores and must end in ""_by_<bot username>""."
PACK_SHORT_NAME_OCCUPIED,400,A stickerpack with this name already exists
PARTICIPANTS_TOO_FEW,400,Not enough participants
PARTICIPANT_CALL_FAILED,500,Failure while making call
PARTICIPANT_VERSION_OUTDATED,400,The other participant does not use an up to date telegram client with support for calls
PASSWORD_EMPTY,400,The provided password is empty
PASSWORD_HASH_INVALID,400,The password (and thus its hash value) you entered is invalid
PEER_FLOOD,,Too many requests
PEER_ID_INVALID,400,An invalid Peer was used. Make sure to pass the right peer type
PEER_ID_NOT_SUPPORTED,400,The provided peer ID is not supported
PERSISTENT_TIMESTAMP_EMPTY,400,Persistent timestamp empty
PERSISTENT_TIMESTAMP_INVALID,400,Persistent timestamp invalid
PERSISTENT_TIMESTAMP_OUTDATED,500,Persistent timestamp outdated
PHONE_CODE_EMPTY,400,The phone code is missing
PHONE_CODE_EXPIRED,400,The confirmation code has expired
PHONE_CODE_HASH_EMPTY,,The phone code hash is missing
PHONE_CODE_INVALID,400,The phone code entered was invalid
PHONE_MIGRATE_X,303,The phone number a user is trying to use for authorization is associated with DC {}
PHONE_NUMBER_APP_SIGNUP_FORBIDDEN,400,
PHONE_NUMBER_BANNED,400,The used phone number has been banned from Telegram and cannot be used anymore. Maybe check https://www.telegram.org/faq_spam
PHONE_NUMBER_FLOOD,400,You asked for the code too many times.
PHONE_NUMBER_INVALID,400 406,The phone number is invalid
PHONE_NUMBER_OCCUPIED,400,The phone number is already in use
PHONE_NUMBER_UNOCCUPIED,400,The phone number is not yet being used
PHONE_PASSWORD_FLOOD,406,You have tried logging in too many times
PHONE_PASSWORD_PROTECTED,400,This phone is password protected
PHOTO_CROP_SIZE_SMALL,400,Photo is too small
PHOTO_EXT_INVALID,400,The extension of the photo is invalid
PHOTO_INVALID,400,Photo invalid
PHOTO_INVALID_DIMENSIONS,400,The photo dimensions are invalid
PHOTO_SAVE_FILE_INVALID,400,The photo you tried to send cannot be saved by Telegram. A reason may be that it exceeds 10MB. Try resizing it locally
PRIVACY_KEY_INVALID,400,The privacy key is invalid
PTS_CHANGE_EMPTY,500,No PTS change
QUERY_ID_EMPTY,400,The query ID is empty
QUERY_ID_INVALID,400,The query ID is invalid
QUERY_TOO_SHORT,400,The query string is too short
RANDOM_ID_DUPLICATE,500,You provided a random ID that was already used
RANDOM_ID_INVALID,400,A provided random ID is invalid
RANDOM_LENGTH_INVALID,400,Random length invalid
RANGES_INVALID,400,Invalid range provided
REG_ID_GENERATE_FAILED,500,Failure while generating registration ID
REPLY_MARKUP_INVALID,400,The provided reply markup is invalid
REPLY_MARKUP_TOO_LONG,400,The data embedded in the reply markup buttons was too much
RESULT_TYPE_INVALID,400,Result type invalid
RIGHT_FORBIDDEN,403,Your admin rights do not allow you to do this
RPC_CALL_FAIL,,"Telegram is having internal issues, please try again later."
RPC_MCGET_FAIL,,"Telegram is having internal issues, please try again later."
RSA_DECRYPT_FAILED,400,Internal RSA decryption failed
SEARCH_QUERY_EMPTY,400,The search query is empty
SEND_MESSAGE_TYPE_INVALID,400,The message type is invalid
SESSION_EXPIRED,401,The authorization has expired
SESSION_PASSWORD_NEEDED,401,Two-steps verification is enabled and a password is required
SESSION_REVOKED,401,"The authorization has been invalidated, because of the user terminating all sessions"
SHA256_HASH_INVALID,400,The provided SHA256 hash is invalid
SHORTNAME_OCCUPY_FAILED,400,An error occurred when trying to register the short-name used for the sticker pack. Try a different name
START_PARAM_EMPTY,400,The start parameter is empty
START_PARAM_INVALID,400,Start parameter invalid
STICKERSET_INVALID,400,The provided sticker set is invalid
STICKERS_EMPTY,400,No sticker provided
STICKER_EMOJI_INVALID,400,Sticker emoji invalid
STICKER_FILE_INVALID,400,Sticker file invalid
STICKER_ID_INVALID,400,The provided sticker ID is invalid
STICKER_INVALID,400,The provided sticker is invalid
STICKER_PNG_DIMENSIONS,400,Sticker png dimensions invalid
STORAGE_CHECK_FAILED,500,Server storage check failed
STORE_INVALID_SCALAR_TYPE,500,
TAKEOUT_INIT_DELAY_X,420,A wait of {} seconds is required before being able to initiate the takeout
TAKEOUT_REQUIRED,400,You must initialize a takeout request first
TEMP_AUTH_KEY_EMPTY,400,No temporary auth key provided
Timeout,-503,A timeout occurred while fetching data from the bot
TMP_PASSWORD_DISABLED,400,The temporary password is disabled
TOKEN_INVALID,400,The provided token is invalid
TTL_DAYS_INVALID,400,The provided TTL is invalid
TYPES_EMPTY,400,The types field is empty
TYPE_CONSTRUCTOR_INVALID,,The type constructor is invalid
UNKNOWN_METHOD,500,The method you tried to call cannot be called on non-CDN DCs
URL_INVALID,400,The URL used was invalid (e.g. when answering a callback with an URL that's not t.me/yourbot or your game's URL)
USERNAME_INVALID,400,"Nobody is using this username, or the username is unacceptable. If the latter, it must match r""[a-zA-Z][\w\d]{3,30}[a-zA-Z\d]"""
USERNAME_NOT_MODIFIED,400,The username is not different from the current username
USERNAME_NOT_OCCUPIED,400,The username is not in use by anyone else yet
USERNAME_OCCUPIED,400,The username is already taken
USERS_TOO_FEW,400,"Not enough users (to create a chat, for example)"
USERS_TOO_MUCH,400,"The maximum number of users has been exceeded (to create a chat, for example)"
USER_ADMIN_INVALID,400,You're not an admin
USER_ALREADY_PARTICIPANT,400,The authenticated user is already a participant of the chat
USER_BANNED_IN_CHANNEL,400,You're banned from sending messages in supergroups/channels
USER_BLOCKED,400,User blocked
USER_BOT,400,Bots can only be admins in channels.
USER_BOT_INVALID,400 403,This method can only be called by a bot
USER_BOT_REQUIRED,400,This method can only be called by a bot
USER_CHANNELS_TOO_MUCH,403,One of the users you tried to add is already in too many channels/supergroups
USER_CREATOR,400,"You can't leave this channel, because you're its creator"
USER_DEACTIVATED,401,The user has been deleted/deactivated
USER_ID_INVALID,400,"Invalid object ID for a user. Make sure to pass the right types, for instance making sure that the request is designed for users or otherwise look for a different one more suited"
USER_IS_BLOCKED,400 403,User is blocked
USER_IS_BOT,400,Bots can't send messages to other bots
USER_KICKED,400,This user was kicked from this supergroup/channel
USER_MIGRATE_X,303,The user whose identity is being used to execute queries is associated with DC {}
USER_NOT_MUTUAL_CONTACT,400 403,The provided user is not a mutual contact
USER_NOT_PARTICIPANT,400,The target user is not a member of the specified megagroup or channel
USER_PRIVACY_RESTRICTED,403,The user's privacy settings do not allow you to do this
USER_RESTRICTED,403,"You're spamreported, you can't create channels or chats."
WC_CONVERT_URL_INVALID,400,WC convert URL invalid
WEBPAGE_CURL_FAILED,400,Failure while fetching the webpage with cURL
WEBPAGE_MEDIA_EMPTY,400,Webpage media empty
YOU_BLOCKED_USER,400,You blocked this user
1 name codes description
2 ABOUT_TOO_LONG 400 The provided bio is too long
3 ACCESS_TOKEN_EXPIRED 400 Bot token expired
4 ACCESS_TOKEN_INVALID 400 The provided token is not valid
5 ACTIVE_USER_REQUIRED 401 The method is only available to already activated users
6 ADMINS_TOO_MUCH 400 Too many admins
7 API_ID_INVALID 400 The api_id/api_hash combination is invalid
8 API_ID_PUBLISHED_FLOOD 400 This API id was published somewhere, you can't use it now
9 ARTICLE_TITLE_EMPTY 400 The title of the article is empty
10 AUTH_BYTES_INVALID 400 The provided authorization is invalid
11 AUTH_KEY_DUPLICATED 406 The authorization key (session file) was used under two different IP addresses simultaneously, and can no longer be used. Use the same session exclusively, or use different sessions
12 AUTH_KEY_INVALID 401 The key is invalid
13 AUTH_KEY_PERM_EMPTY 401 The method is unavailable for temporary authorization key, not bound to permanent
14 AUTH_KEY_UNREGISTERED 401 The key is not registered in the system
15 AUTH_RESTART 500 Restart the authorization process
16 BOTS_TOO_MUCH 400 There are too many bots in this chat/channel
17 BOT_CHANNELS_NA 400 Bots can't edit admin privileges
18 BOT_GROUPS_BLOCKED 400 This bot can't be added to groups
19 BOT_INLINE_DISABLED 400 This bot can't be used in inline mode
20 BOT_INVALID 400 This is not a valid bot
21 BOT_METHOD_INVALID The API access for bot users is restricted. The method you tried to invoke cannot be executed as a bot
22 BOT_MISSING 400 This method can only be run by a bot
23 BUTTON_DATA_INVALID 400 The provided button data is invalid
24 BUTTON_TYPE_INVALID 400 The type of one of the buttons you provided is invalid
25 BUTTON_URL_INVALID 400 Button URL invalid
26 CALL_ALREADY_ACCEPTED 400 The call was already accepted
27 CALL_ALREADY_DECLINED 400 The call was already declined
28 CALL_OCCUPY_FAILED 500 The call failed because the user is already making another call
29 CALL_PEER_INVALID 400 The provided call peer object is invalid
30 CALL_PROTOCOL_FLAGS_INVALID 400 Call protocol flags invalid
31 CDN_METHOD_INVALID 400 This method cannot be invoked on a CDN server. Refer to https://core.telegram.org/cdn#schema for available methods
32 CHANNELS_ADMIN_PUBLIC_TOO_MUCH 400 You're admin of too many public channels, make some channels private to change the username of this channel
33 CHANNELS_TOO_MUCH 400 You have joined too many channels/supergroups
34 CHANNEL_INVALID 400 Invalid channel object. Make sure to pass the right types, for instance making sure that the request is designed for channels or otherwise look for a different one more suited
35 CHANNEL_PRIVATE 400 The channel specified is private and you lack permission to access it. Another reason may be that you were banned from it
36 CHANNEL_PUBLIC_GROUP_NA 403 channel/supergroup not available
37 CHAT_ABOUT_NOT_MODIFIED 400 About text has not changed
38 CHAT_ABOUT_TOO_LONG 400 Chat about too long
39 CHAT_ADMIN_INVITE_REQUIRED 403 You do not have the rights to do this
40 CHAT_ADMIN_REQUIRED 400 403 Chat admin privileges are required to do that in the specified chat (for example, to send a message in a channel which is not yours)
41 CHAT_FORBIDDEN You cannot write in this chat
42 CHAT_ID_EMPTY 400 The provided chat ID is empty
43 CHAT_ID_INVALID 400 Invalid object ID for a chat. Make sure to pass the right types, for instance making sure that the request is designed for chats (not channels/megagroups) or otherwise look for a different one more suited\nAn example working with a megagroup and AddChatUserRequest, it will fail because megagroups are channels. Use InviteToChannelRequest instead
44 CHAT_NOT_MODIFIED 400 The chat or channel wasn't modified (title, invites, username, admins, etc. are the same)
45 CHAT_RESTRICTED 400 The chat is restricted and cannot be used in that request
46 CHAT_SEND_GIFS_FORBIDDEN 403 You can't send gifs in this chat
47 CHAT_SEND_MEDIA_FORBIDDEN 403 You can't send media in this chat
48 CHAT_SEND_STICKERS_FORBIDDEN 403 You can't send stickers in this chat.
49 CHAT_TITLE_EMPTY 400 No chat title provided
50 CHAT_WRITE_FORBIDDEN 403 You can't write in this chat
51 CODE_EMPTY 400 The provided code is empty
52 CODE_HASH_INVALID 400 Code hash invalid
53 CONNECTION_API_ID_INVALID 400 The provided API id is invalid
54 CONNECTION_DEVICE_MODEL_EMPTY 400 Device model empty
55 CONNECTION_LANG_PACK_INVALID 400 The specified language pack is not valid. This is meant to be used by official applications only so far, leave it empty
56 CONNECTION_LAYER_INVALID 400 The very first request must always be InvokeWithLayerRequest
57 CONNECTION_NOT_INITED 400 Connection not initialized
58 CONNECTION_SYSTEM_EMPTY 400 Connection system empty
59 CONTACT_ID_INVALID 400 The provided contact ID is invalid
60 DATA_INVALID 400 Encrypted data invalid
61 DATA_JSON_INVALID 400 The provided JSON data is invalid
62 DATE_EMPTY 400 Date empty
63 DC_ID_INVALID 400 This occurs when an authorization is tried to be exported for the same data center one is currently connected to
64 DH_G_A_INVALID 400 g_a invalid
65 EMAIL_UNCONFIRMED 400 Email unconfirmed
66 ENCRYPTED_MESSAGE_INVALID 400 Encrypted message invalid
67 ENCRYPTION_ALREADY_ACCEPTED 400 Secret chat already accepted
68 ENCRYPTION_ALREADY_DECLINED 400 The secret chat was already declined
69 ENCRYPTION_DECLINED 400 The secret chat was declined
70 ENCRYPTION_ID_INVALID 400 The provided secret chat ID is invalid
71 ENCRYPTION_OCCUPY_FAILED 500 Internal server error while accepting secret chat
72 ENTITY_MENTION_USER_INVALID 400 You can't use this entity
73 ERROR_TEXT_EMPTY 400 The provided error message is empty
74 EXPORT_CARD_INVALID 400 Provided card is invalid
75 EXTERNAL_URL_INVALID 400 External URL invalid
76 FIELD_NAME_EMPTY The field with the name FIELD_NAME is missing
77 FIELD_NAME_INVALID The field with the name FIELD_NAME is invalid
78 FILE_ID_INVALID 400 The provided file id is invalid
79 FILE_MIGRATE_X 303 The file to be accessed is currently stored in DC {}
80 FILE_PARTS_INVALID 400 The number of file parts is invalid
81 FILE_PART_0_MISSING File part 0 missing
82 FILE_PART_EMPTY 400 The provided file part is empty
83 FILE_PART_INVALID 400 The file part number is invalid
84 FILE_PART_LENGTH_INVALID 400 The length of a file part is invalid
85 FILE_PART_SIZE_INVALID 400 The provided file part size is invalid
86 FILE_PART_X_MISSING Part {} of the file is missing from storage
87 FIRSTNAME_INVALID 400 The first name is invalid
88 FLOOD_TEST_PHONE_WAIT_X 420 A wait of {} seconds is required in the test servers
89 FLOOD_WAIT_X 420 A wait of {} seconds is required
90 GIF_ID_INVALID 400 The provided GIF ID is invalid
91 GROUPED_MEDIA_INVALID 400 Invalid grouped media
92 HASH_INVALID 400 The provided hash is invalid
93 HISTORY_GET_FAILED 500 Fetching of history failed
94 IMAGE_PROCESS_FAILED 400 Failure while processing image
95 INLINE_RESULT_EXPIRED 400 The inline query expired
96 INPUT_CONSTRUCTOR_INVALID 400 The provided constructor is invalid
97 INPUT_FETCH_ERROR An error occurred while deserializing TL parameters
98 INPUT_FETCH_FAIL 400 Failed deserializing TL payload
99 INPUT_LAYER_INVALID 400 The provided layer is invalid
100 INPUT_METHOD_INVALID The invoked method does not exist anymore or has never existed
101 INPUT_REQUEST_TOO_LONG 400 The input request was too long. This may be a bug in the library as it can occur when serializing more bytes than it should (like appending the vector constructor code at the end of a message)
102 INPUT_USER_DEACTIVATED 400 The specified user was deleted
103 INTERDC_1_CALL_ERROR An error occurred while communicating with DC 1
104 INTERDC_1_CALL_RICH_ERROR A rich error occurred while communicating with DC 1
105 INTERDC_2_CALL_ERROR An error occurred while communicating with DC 2
106 INTERDC_2_CALL_RICH_ERROR A rich error occurred while communicating with DC 2
107 INTERDC_3_CALL_ERROR An error occurred while communicating with DC 3
108 INTERDC_3_CALL_RICH_ERROR A rich error occurred while communicating with DC 3
109 INTERDC_4_CALL_ERROR An error occurred while communicating with DC 4
110 INTERDC_4_CALL_RICH_ERROR A rich error occurred while communicating with DC 4
111 INTERDC_5_CALL_ERROR An error occurred while communicating with DC 5
112 INTERDC_5_CALL_RICH_ERROR A rich error occurred while communicating with DC 5
113 INVITE_HASH_EMPTY 400 The invite hash is empty
114 INVITE_HASH_EXPIRED 400 The chat the user tried to join has expired and is not valid anymore
115 INVITE_HASH_INVALID 400 The invite hash is invalid
116 LANG_PACK_INVALID 400 The provided language pack is invalid
117 LASTNAME_INVALID The last name is invalid
118 LIMIT_INVALID 400 An invalid limit was provided. See https://core.telegram.org/api/files#downloading-files
119 LOCATION_INVALID 400 The location given for a file was invalid. See https://core.telegram.org/api/files#downloading-files
120 MAX_ID_INVALID 400 The provided max ID is invalid
121 MD5_CHECKSUM_INVALID The MD5 check-sums do not match
122 MEDIA_CAPTION_TOO_LONG 400 The caption is too long
123 MEDIA_EMPTY 400 The provided media object is invalid
124 MEDIA_INVALID 400 Media invalid
125 MEMBER_NO_LOCATION 500 An internal failure occurred while fetching user info (couldn't find location)
126 MEMBER_OCCUPY_PRIMARY_LOC_FAILED 500 Occupation of primary member location failed
127 MESSAGE_AUTHOR_REQUIRED 403 Message author required
128 MESSAGE_DELETE_FORBIDDEN 403 You can't delete one of the messages you tried to delete, most likely because it is a service message.
129 MESSAGE_EDIT_TIME_EXPIRED 400 You can't edit this message anymore, too much time has passed since its creation.
130 MESSAGE_EMPTY 400 Empty or invalid UTF-8 message was sent
131 MESSAGE_IDS_EMPTY 400 No message ids were provided
132 MESSAGE_ID_INVALID 400 The specified message ID is invalid
133 MESSAGE_NOT_MODIFIED 400 Content of the message was not modified
134 MESSAGE_TOO_LONG 400 Message was too long. Current maximum length is 4096 UTF-8 characters
135 MSG_WAIT_FAILED 400 A waiting call returned an error
136 NEED_CHAT_INVALID 500 The provided chat is invalid
137 NEED_MEMBER_INVALID 500 The provided member is invalid
138 NETWORK_MIGRATE_X 303 The source IP address is associated with DC {}
139 NEW_SALT_INVALID 400 The new salt is invalid
140 NEW_SETTINGS_INVALID 400 The new settings are invalid
141 OFFSET_INVALID 400 The given offset was invalid, it must be divisible by 1KB. See https://core.telegram.org/api/files#downloading-files
142 OFFSET_PEER_ID_INVALID 400 The provided offset peer is invalid
143 PACK_SHORT_NAME_INVALID 400 Invalid sticker pack name. It must begin with a letter, can't contain consecutive underscores and must end in "_by_<bot username>".
144 PACK_SHORT_NAME_OCCUPIED 400 A stickerpack with this name already exists
145 PARTICIPANTS_TOO_FEW 400 Not enough participants
146 PARTICIPANT_CALL_FAILED 500 Failure while making call
147 PARTICIPANT_VERSION_OUTDATED 400 The other participant does not use an up to date telegram client with support for calls
148 PASSWORD_EMPTY 400 The provided password is empty
149 PASSWORD_HASH_INVALID 400 The password (and thus its hash value) you entered is invalid
150 PEER_FLOOD Too many requests
151 PEER_ID_INVALID 400 An invalid Peer was used. Make sure to pass the right peer type
152 PEER_ID_NOT_SUPPORTED 400 The provided peer ID is not supported
153 PERSISTENT_TIMESTAMP_EMPTY 400 Persistent timestamp empty
154 PERSISTENT_TIMESTAMP_INVALID 400 Persistent timestamp invalid
155 PERSISTENT_TIMESTAMP_OUTDATED 500 Persistent timestamp outdated
156 PHONE_CODE_EMPTY 400 The phone code is missing
157 PHONE_CODE_EXPIRED 400 The confirmation code has expired
158 PHONE_CODE_HASH_EMPTY The phone code hash is missing
159 PHONE_CODE_INVALID 400 The phone code entered was invalid
160 PHONE_MIGRATE_X 303 The phone number a user is trying to use for authorization is associated with DC {}
161 PHONE_NUMBER_APP_SIGNUP_FORBIDDEN 400
162 PHONE_NUMBER_BANNED 400 The used phone number has been banned from Telegram and cannot be used anymore. Maybe check https://www.telegram.org/faq_spam
163 PHONE_NUMBER_FLOOD 400 You asked for the code too many times.
164 PHONE_NUMBER_INVALID 400 406 The phone number is invalid
165 PHONE_NUMBER_OCCUPIED 400 The phone number is already in use
166 PHONE_NUMBER_UNOCCUPIED 400 The phone number is not yet being used
167 PHONE_PASSWORD_FLOOD 406 You have tried logging in too many times
168 PHONE_PASSWORD_PROTECTED 400 This phone is password protected
169 PHOTO_CROP_SIZE_SMALL 400 Photo is too small
170 PHOTO_EXT_INVALID 400 The extension of the photo is invalid
171 PHOTO_INVALID 400 Photo invalid
172 PHOTO_INVALID_DIMENSIONS 400 The photo dimensions are invalid
173 PHOTO_SAVE_FILE_INVALID 400 The photo you tried to send cannot be saved by Telegram. A reason may be that it exceeds 10MB. Try resizing it locally
174 PRIVACY_KEY_INVALID 400 The privacy key is invalid
175 PTS_CHANGE_EMPTY 500 No PTS change
176 QUERY_ID_EMPTY 400 The query ID is empty
177 QUERY_ID_INVALID 400 The query ID is invalid
178 QUERY_TOO_SHORT 400 The query string is too short
179 RANDOM_ID_DUPLICATE 500 You provided a random ID that was already used
180 RANDOM_ID_INVALID 400 A provided random ID is invalid
181 RANDOM_LENGTH_INVALID 400 Random length invalid
182 RANGES_INVALID 400 Invalid range provided
183 REG_ID_GENERATE_FAILED 500 Failure while generating registration ID
184 REPLY_MARKUP_INVALID 400 The provided reply markup is invalid
185 REPLY_MARKUP_TOO_LONG 400 The data embedded in the reply markup buttons was too much
186 RESULT_TYPE_INVALID 400 Result type invalid
187 RIGHT_FORBIDDEN 403 Your admin rights do not allow you to do this
188 RPC_CALL_FAIL Telegram is having internal issues, please try again later.
189 RPC_MCGET_FAIL Telegram is having internal issues, please try again later.
190 RSA_DECRYPT_FAILED 400 Internal RSA decryption failed
191 SEARCH_QUERY_EMPTY 400 The search query is empty
192 SEND_MESSAGE_TYPE_INVALID 400 The message type is invalid
193 SESSION_EXPIRED 401 The authorization has expired
194 SESSION_PASSWORD_NEEDED 401 Two-steps verification is enabled and a password is required
195 SESSION_REVOKED 401 The authorization has been invalidated, because of the user terminating all sessions
196 SHA256_HASH_INVALID 400 The provided SHA256 hash is invalid
197 SHORTNAME_OCCUPY_FAILED 400 An error occurred when trying to register the short-name used for the sticker pack. Try a different name
198 START_PARAM_EMPTY 400 The start parameter is empty
199 START_PARAM_INVALID 400 Start parameter invalid
200 STICKERSET_INVALID 400 The provided sticker set is invalid
201 STICKERS_EMPTY 400 No sticker provided
202 STICKER_EMOJI_INVALID 400 Sticker emoji invalid
203 STICKER_FILE_INVALID 400 Sticker file invalid
204 STICKER_ID_INVALID 400 The provided sticker ID is invalid
205 STICKER_INVALID 400 The provided sticker is invalid
206 STICKER_PNG_DIMENSIONS 400 Sticker png dimensions invalid
207 STORAGE_CHECK_FAILED 500 Server storage check failed
208 STORE_INVALID_SCALAR_TYPE 500
209 TAKEOUT_INIT_DELAY_X 420 A wait of {} seconds is required before being able to initiate the takeout
210 TAKEOUT_REQUIRED 400 You must initialize a takeout request first
211 TEMP_AUTH_KEY_EMPTY 400 No temporary auth key provided
212 Timeout -503 A timeout occurred while fetching data from the bot
213 TMP_PASSWORD_DISABLED 400 The temporary password is disabled
214 TOKEN_INVALID 400 The provided token is invalid
215 TTL_DAYS_INVALID 400 The provided TTL is invalid
216 TYPES_EMPTY 400 The types field is empty
217 TYPE_CONSTRUCTOR_INVALID The type constructor is invalid
218 UNKNOWN_METHOD 500 The method you tried to call cannot be called on non-CDN DCs
219 URL_INVALID 400 The URL used was invalid (e.g. when answering a callback with an URL that's not t.me/yourbot or your game's URL)
220 USERNAME_INVALID 400 Nobody is using this username, or the username is unacceptable. If the latter, it must match r"[a-zA-Z][\w\d]{3,30}[a-zA-Z\d]"
221 USERNAME_NOT_MODIFIED 400 The username is not different from the current username
222 USERNAME_NOT_OCCUPIED 400 The username is not in use by anyone else yet
223 USERNAME_OCCUPIED 400 The username is already taken
224 USERS_TOO_FEW 400 Not enough users (to create a chat, for example)
225 USERS_TOO_MUCH 400 The maximum number of users has been exceeded (to create a chat, for example)
226 USER_ADMIN_INVALID 400 You're not an admin
227 USER_ALREADY_PARTICIPANT 400 The authenticated user is already a participant of the chat
228 USER_BANNED_IN_CHANNEL 400 You're banned from sending messages in supergroups/channels
229 USER_BLOCKED 400 User blocked
230 USER_BOT 400 Bots can only be admins in channels.
231 USER_BOT_INVALID 400 403 This method can only be called by a bot
232 USER_BOT_REQUIRED 400 This method can only be called by a bot
233 USER_CHANNELS_TOO_MUCH 403 One of the users you tried to add is already in too many channels/supergroups
234 USER_CREATOR 400 You can't leave this channel, because you're its creator
235 USER_DEACTIVATED 401 The user has been deleted/deactivated
236 USER_ID_INVALID 400 Invalid object ID for a user. Make sure to pass the right types, for instance making sure that the request is designed for users or otherwise look for a different one more suited
237 USER_IS_BLOCKED 400 403 User is blocked
238 USER_IS_BOT 400 Bots can't send messages to other bots
239 USER_KICKED 400 This user was kicked from this supergroup/channel
240 USER_MIGRATE_X 303 The user whose identity is being used to execute queries is associated with DC {}
241 USER_NOT_MUTUAL_CONTACT 400 403 The provided user is not a mutual contact
242 USER_NOT_PARTICIPANT 400 The target user is not a member of the specified megagroup or channel
243 USER_PRIVACY_RESTRICTED 403 The user's privacy settings do not allow you to do this
244 USER_RESTRICTED 403 You're spamreported, you can't create channels or chats.
245 WC_CONVERT_URL_INVALID 400 WC convert URL invalid
246 WEBPAGE_CURL_FAILED 400 Failure while fetching the webpage with cURL
247 WEBPAGE_MEDIA_EMPTY 400 Webpage media empty
248 YOU_BLOCKED_USER 400 You blocked this user

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
["account.changePhone", "account.checkUsername", "account.confirmPhone", "account.deleteAccount", "account.getAccountTTL", "account.getAuthorizations", "account.getNotifySettings", "account.getPassword", "account.getPasswordSettings", "account.getPrivacy", "account.getTmpPassword", "account.getWallPapers", "account.registerDevice", "account.reportPeer", "account.resetAuthorization", "account.resetNotifySettings", "account.sendChangePhoneCode", "account.sendConfirmPhoneCode", "account.setAccountTTL", "account.setPrivacy", "account.unregisterDevice", "account.updateDeviceLocked", "account.updateNotifySettings", "account.updatePasswordSettings", "account.updateProfile", "account.updateStatus", "account.updateUsername", "auth.cancelCode", "auth.checkPassword", "auth.checkPhone", "auth.recoverPassword", "auth.requestPasswordRecovery", "auth.resendCode", "auth.resetAuthorizations", "auth.sendCode", "auth.sendInvites", "auth.signIn", "auth.signUp", "channels.checkUsername", "channels.createChannel", "channels.deleteChannel", "channels.deleteUserHistory", "channels.exportMessageLink", "channels.getAdminedPublicChannels", "channels.getAdminLog", "channels.inviteToChannel", "channels.joinChannel", "channels.readHistory", "channels.readMessageContents", "channels.reportSpam", "channels.toggleInvites", "channels.toggleSignatures", "channels.updateUsername", "contacts.block", "contacts.deleteContact", "contacts.deleteContacts", "contacts.exportCard", "contacts.getBlocked", "contacts.getContacts", "contacts.getStatuses", "contacts.getTopPeers", "contacts.importCard", "contacts.importContacts", "contacts.resetTopPeerRating", "contacts.search", "contacts.unblock", "help.getAppChangelog", "help.getAppUpdate", "help.getInviteText", "help.getNearestDc", "help.getSupport", "help.getTermsOfService", "help.saveAppLog", "langpack.getDifference", "langpack.getLangPack", "langpack.getLanguages", "langpack.getStrings", "messages.acceptEncryption", "messages.addChatUser", "messages.checkChatInvite", "messages.clearRecentStickers", "messages.createChat", "messages.deleteHistory", "messages.discardEncryption", "messages.editChatAdmin", "messages.exportChatInvite", "messages.getAllChats", "messages.getAllDrafts", "messages.getAllStickers", "messages.getArchivedStickers", "messages.getAttachedStickers", "messages.getBotCallbackAnswer", "messages.getCommonChats", "messages.getDhConfig", "messages.getDialogs", "messages.getFeaturedStickers", "messages.getHistory", "messages.getInlineBotResults", "messages.getMaskStickers", "messages.getMessageEditData", "messages.getMessagesViews", "messages.getPeerDialogs", "messages.getPeerSettings", "messages.getPinnedDialogs", "messages.getRecentStickers", "messages.getSavedGifs", "messages.getUnreadMentions", "messages.getWebPage", "messages.getWebPagePreview", "messages.hideReportSpam", "messages.importChatInvite", "messages.installStickerSet", "messages.migrateChat", "messages.readFeaturedStickers", "messages.readHistory", "messages.readMessageContents", "messages.receivedMessages", "messages.reorderPinnedDialogs", "messages.reorderStickerSets", "messages.reportEncryptedSpam", "messages.reportSpam", "messages.requestEncryption", "messages.saveDraft", "messages.saveGif", "messages.saveRecentSticker", "messages.search", "messages.searchGifs", "messages.searchGlobal", "messages.sendInlineBotResult", "messages.sendScreenshotNotification", "messages.setEncryptedTyping", "messages.startBot", "messages.toggleChatAdmins", "messages.toggleDialogPin", "messages.uninstallStickerSet", "payments.clearSavedInfo", "payments.getPaymentForm", "payments.getPaymentReceipt", "payments.getSavedInfo", "payments.sendPaymentForm", "payments.validateRequestedInfo", "phone.acceptCall", "phone.confirmCall", "phone.discardCall", "phone.getCallConfig", "phone.receivedCall", "phone.requestCall", "phone.saveCallDebug", "phone.setCallRating", "photos.deletePhotos", "photos.updateProfilePhoto", "photos.uploadProfilePhoto", "upload.getCdnFile", "upload.getWebFile"]

View File

@ -0,0 +1,186 @@
method,usability,errors
account.changePhone,user,PHONE_NUMBER_INVALID
account.checkUsername,user,USERNAME_INVALID
account.confirmPhone,user,CODE_HASH_INVALID PHONE_CODE_EMPTY
account.getNotifySettings,user,PEER_ID_INVALID
account.getPasswordSettings,user,PASSWORD_HASH_INVALID
account.getPrivacy,user,PRIVACY_KEY_INVALID
account.getTmpPassword,user,PASSWORD_HASH_INVALID TMP_PASSWORD_DISABLED
account.registerDevice,user,TOKEN_INVALID
account.reportPeer,user,PEER_ID_INVALID
account.resetAuthorization,user,HASH_INVALID
account.sendChangePhoneCode,user,PHONE_NUMBER_INVALID
account.sendConfirmPhoneCode,user,HASH_INVALID
account.setAccountTTL,user,TTL_DAYS_INVALID
account.setPrivacy,user,PRIVACY_KEY_INVALID
account.unregisterDevice,user,TOKEN_INVALID
account.updateNotifySettings,user,PEER_ID_INVALID
account.updatePasswordSettings,user,EMAIL_UNCONFIRMED NEW_SALT_INVALID NEW_SETTINGS_INVALID PASSWORD_HASH_INVALID
account.updateProfile,user,ABOUT_TOO_LONG FIRSTNAME_INVALID
account.updateStatus,user,SESSION_PASSWORD_NEEDED
account.updateUsername,user,USERNAME_INVALID USERNAME_NOT_MODIFIED USERNAME_OCCUPIED
auth.bindTempAuthKey,unknown,ENCRYPTED_MESSAGE_INVALID INPUT_REQUEST_TOO_LONG TEMP_AUTH_KEY_EMPTY Timeout
auth.cancelCode,user,PHONE_NUMBER_INVALID
auth.checkPassword,user,PASSWORD_HASH_INVALID
auth.checkPhone,user,PHONE_NUMBER_BANNED PHONE_NUMBER_INVALID
auth.exportAuthorization,unknown,DC_ID_INVALID
auth.importAuthorization,unknown,AUTH_BYTES_INVALID USER_ID_INVALID
auth.importBotAuthorization,unknown,ACCESS_TOKEN_EXPIRED ACCESS_TOKEN_INVALID API_ID_INVALID
auth.recoverPassword,user,CODE_EMPTY
auth.requestPasswordRecovery,user,PASSWORD_EMPTY
auth.resendCode,user,PHONE_NUMBER_INVALID
auth.resetAuthorizations,user,Timeout
auth.sendCode,user,API_ID_INVALID API_ID_PUBLISHED_FLOOD AUTH_RESTART INPUT_REQUEST_TOO_LONG PHONE_NUMBER_APP_SIGNUP_FORBIDDEN PHONE_NUMBER_BANNED PHONE_NUMBER_FLOOD PHONE_NUMBER_INVALID PHONE_PASSWORD_FLOOD PHONE_PASSWORD_PROTECTED
auth.sendInvites,user,MESSAGE_EMPTY
auth.signIn,user,PHONE_CODE_EMPTY PHONE_CODE_EXPIRED PHONE_CODE_INVALID PHONE_NUMBER_INVALID PHONE_NUMBER_UNOCCUPIED SESSION_PASSWORD_NEEDED
auth.signUp,user,FIRSTNAME_INVALID MEMBER_OCCUPY_PRIMARY_LOC_FAILED PHONE_CODE_EMPTY PHONE_CODE_EXPIRED PHONE_CODE_INVALID PHONE_NUMBER_FLOOD PHONE_NUMBER_INVALID PHONE_NUMBER_OCCUPIED REG_ID_GENERATE_FAILED
bots.answerWebhookJSONQuery,unknown,QUERY_ID_INVALID USER_BOT_INVALID
bots.sendCustomRequest,unknown,USER_BOT_INVALID
channels.checkUsername,user,CHANNEL_INVALID CHAT_ID_INVALID USERNAME_INVALID
channels.createChannel,user,CHAT_TITLE_EMPTY USER_RESTRICTED
channels.deleteChannel,user,CHANNEL_INVALID CHANNEL_PRIVATE
channels.deleteMessages,unknown,CHANNEL_INVALID CHANNEL_PRIVATE MESSAGE_DELETE_FORBIDDEN
channels.deleteUserHistory,user,CHANNEL_INVALID CHAT_ADMIN_REQUIRED
channels.editAbout,unknown,CHANNEL_INVALID CHAT_ABOUT_NOT_MODIFIED CHAT_ABOUT_TOO_LONG CHAT_ADMIN_REQUIRED
channels.editAdmin,unknown,ADMINS_TOO_MUCH BOT_CHANNELS_NA CHANNEL_INVALID CHAT_ADMIN_INVITE_REQUIRED CHAT_ADMIN_REQUIRED RIGHT_FORBIDDEN USER_CREATOR USER_ID_INVALID USER_NOT_MUTUAL_CONTACT USER_PRIVACY_RESTRICTED
channels.editBanned,unknown,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ADMIN_INVALID USER_ID_INVALID
channels.editPhoto,unknown,CHANNEL_INVALID CHAT_ADMIN_REQUIRED PHOTO_INVALID
channels.editTitle,unknown,CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_NOT_MODIFIED
channels.exportInvite,unknown,CHANNEL_INVALID CHAT_ADMIN_REQUIRED INVITE_HASH_EXPIRED
channels.exportMessageLink,user,CHANNEL_INVALID
channels.getAdminLog,user,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED
channels.getChannels,unknown,CHANNEL_INVALID CHANNEL_PRIVATE NEED_CHAT_INVALID
channels.getFullChannel,unknown,CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA Timeout
channels.getMessages,unknown,CHANNEL_INVALID CHANNEL_PRIVATE MESSAGE_IDS_EMPTY
channels.getParticipant,unknown,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ID_INVALID USER_NOT_PARTICIPANT
channels.getParticipants,unknown,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED INPUT_CONSTRUCTOR_INVALID Timeout
channels.inviteToChannel,user,BOTS_TOO_MUCH BOT_GROUPS_BLOCKED CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED CHAT_WRITE_FORBIDDEN INPUT_USER_DEACTIVATED USERS_TOO_MUCH USER_BANNED_IN_CHANNEL USER_BLOCKED USER_BOT USER_CHANNELS_TOO_MUCH USER_ID_INVALID USER_KICKED USER_NOT_MUTUAL_CONTACT USER_PRIVACY_RESTRICTED
channels.joinChannel,user,CHANNELS_TOO_MUCH CHANNEL_INVALID CHANNEL_PRIVATE
channels.leaveChannel,unknown,CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA USER_CREATOR USER_NOT_PARTICIPANT
channels.readHistory,user,CHANNEL_INVALID CHANNEL_PRIVATE
channels.readMessageContents,user,CHANNEL_INVALID CHANNEL_PRIVATE
channels.reportSpam,user,CHANNEL_INVALID INPUT_USER_DEACTIVATED
channels.setStickers,unknown,CHANNEL_INVALID PARTICIPANTS_TOO_FEW
channels.toggleInvites,user,CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_NOT_MODIFIED
channels.toggleSignatures,user,CHANNEL_INVALID
channels.updatePinnedMessage,unknown,CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_ID_INVALID CHAT_NOT_MODIFIED
channels.updateUsername,user,CHANNELS_ADMIN_PUBLIC_TOO_MUCH CHANNEL_INVALID CHAT_ADMIN_REQUIRED USERNAME_INVALID USERNAME_OCCUPIED
contacts.block,user,CONTACT_ID_INVALID
contacts.deleteContact,user,CONTACT_ID_INVALID
contacts.deleteContacts,user,NEED_MEMBER_INVALID Timeout
contacts.getSaved,unknown,TAKEOUT_REQUIRED
contacts.getTopPeers,user,TYPES_EMPTY
contacts.importCard,user,EXPORT_CARD_INVALID NEED_MEMBER_INVALID
contacts.resetTopPeerRating,user,PEER_ID_INVALID
contacts.resolveUsername,unknown,AUTH_KEY_PERM_EMPTY SESSION_PASSWORD_NEEDED USERNAME_INVALID USERNAME_NOT_OCCUPIED
contacts.search,user,QUERY_TOO_SHORT SEARCH_QUERY_EMPTY Timeout
contacts.unblock,user,CONTACT_ID_INVALID
help.getCdnConfig,unknown,AUTH_KEY_PERM_EMPTY Timeout
help.getConfig,unknown,AUTH_KEY_DUPLICATED Timeout
initConnection,unknown,CONNECTION_LAYER_INVALID INPUT_FETCH_FAIL
invokeWithLayer,unknown,AUTH_BYTES_INVALID AUTH_KEY_DUPLICATED CDN_METHOD_INVALID CHAT_WRITE_FORBIDDEN CONNECTION_API_ID_INVALID CONNECTION_DEVICE_MODEL_EMPTY CONNECTION_LANG_PACK_INVALID CONNECTION_NOT_INITED CONNECTION_SYSTEM_EMPTY INPUT_LAYER_INVALID INVITE_HASH_EXPIRED NEED_MEMBER_INVALID Timeout
langpack.getDifference,user,LANG_PACK_INVALID
langpack.getLangPack,user,LANG_PACK_INVALID
langpack.getLanguages,user,LANG_PACK_INVALID
langpack.getStrings,user,LANG_PACK_INVALID
messages.acceptEncryption,user,CHAT_ID_INVALID ENCRYPTION_ALREADY_ACCEPTED ENCRYPTION_ALREADY_DECLINED ENCRYPTION_OCCUPY_FAILED
messages.addChatUser,user,CHAT_ADMIN_REQUIRED CHAT_ID_INVALID INPUT_USER_DEACTIVATED PEER_ID_INVALID USERS_TOO_MUCH USER_ALREADY_PARTICIPANT USER_ID_INVALID USER_NOT_MUTUAL_CONTACT USER_PRIVACY_RESTRICTED
messages.checkChatInvite,user,INVITE_HASH_EMPTY INVITE_HASH_EXPIRED INVITE_HASH_INVALID
messages.createChat,user,USERS_TOO_FEW USER_RESTRICTED
messages.deleteChatUser,unknown,CHAT_ID_INVALID PEER_ID_INVALID USER_NOT_PARTICIPANT
messages.deleteHistory,user,PEER_ID_INVALID
messages.deleteMessages,unknown,MESSAGE_DELETE_FORBIDDEN
messages.discardEncryption,user,CHAT_ID_EMPTY ENCRYPTION_ALREADY_DECLINED ENCRYPTION_ID_INVALID
messages.editChatAdmin,user,CHAT_ID_INVALID
messages.editChatPhoto,unknown,CHAT_ID_INVALID INPUT_CONSTRUCTOR_INVALID INPUT_FETCH_FAIL PEER_ID_INVALID PHOTO_EXT_INVALID
messages.editChatTitle,unknown,CHAT_ID_INVALID NEED_CHAT_INVALID
messages.editInlineBotMessage,unknown,MESSAGE_ID_INVALID MESSAGE_NOT_MODIFIED
messages.editMessage,unknown,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_WRITE_FORBIDDEN INPUT_USER_DEACTIVATED MESSAGE_AUTHOR_REQUIRED MESSAGE_EDIT_TIME_EXPIRED MESSAGE_EMPTY MESSAGE_ID_INVALID MESSAGE_NOT_MODIFIED PEER_ID_INVALID
messages.exportChatInvite,user,CHAT_ID_INVALID
messages.faveSticker,unknown,STICKER_ID_INVALID
messages.forwardMessage,unknown,CHAT_ID_INVALID MESSAGE_ID_INVALID PEER_ID_INVALID YOU_BLOCKED_USER
messages.forwardMessages,unknown,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED CHAT_ID_INVALID CHAT_SEND_GIFS_FORBIDDEN CHAT_SEND_MEDIA_FORBIDDEN CHAT_SEND_STICKERS_FORBIDDEN CHAT_WRITE_FORBIDDEN GROUPED_MEDIA_INVALID INPUT_USER_DEACTIVATED MEDIA_EMPTY MESSAGE_IDS_EMPTY MESSAGE_ID_INVALID PEER_ID_INVALID PTS_CHANGE_EMPTY RANDOM_ID_DUPLICATE RANDOM_ID_INVALID Timeout USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT YOU_BLOCKED_USER
messages.getBotCallbackAnswer,user,CHANNEL_INVALID DATA_INVALID MESSAGE_ID_INVALID PEER_ID_INVALID Timeout
messages.getChats,unknown,CHAT_ID_INVALID PEER_ID_INVALID
messages.getCommonChats,user,USER_ID_INVALID
messages.getDhConfig,user,RANDOM_LENGTH_INVALID
messages.getDialogs,user,INPUT_CONSTRUCTOR_INVALID OFFSET_PEER_ID_INVALID SESSION_PASSWORD_NEEDED Timeout
messages.getDocumentByHash,unknown,SHA256_HASH_INVALID
messages.getFullChat,unknown,CHAT_ID_INVALID PEER_ID_INVALID
messages.getGameHighScores,unknown,PEER_ID_INVALID USER_BOT_REQUIRED
messages.getHistory,user,AUTH_KEY_DUPLICATED AUTH_KEY_PERM_EMPTY CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ID_INVALID PEER_ID_INVALID Timeout
messages.getInlineBotResults,user,BOT_INLINE_DISABLED BOT_INVALID CHANNEL_PRIVATE Timeout
messages.getInlineGameHighScores,unknown,MESSAGE_ID_INVALID USER_BOT_REQUIRED
messages.getMessageEditData,user,MESSAGE_AUTHOR_REQUIRED PEER_ID_INVALID
messages.getMessagesViews,user,CHANNEL_PRIVATE CHAT_ID_INVALID PEER_ID_INVALID
messages.getPeerDialogs,user,CHANNEL_PRIVATE PEER_ID_INVALID
messages.getPeerSettings,user,CHANNEL_INVALID PEER_ID_INVALID
messages.getStickerSet,unknown,STICKERSET_INVALID
messages.getUnreadMentions,user,PEER_ID_INVALID
messages.getWebPage,user,WC_CONVERT_URL_INVALID
messages.hideReportSpam,user,PEER_ID_INVALID
messages.importChatInvite,user,CHANNELS_TOO_MUCH INVITE_HASH_EMPTY INVITE_HASH_EXPIRED INVITE_HASH_INVALID SESSION_PASSWORD_NEEDED USERS_TOO_MUCH USER_ALREADY_PARTICIPANT
messages.installStickerSet,user,STICKERSET_INVALID
messages.migrateChat,user,CHAT_ADMIN_REQUIRED CHAT_ID_INVALID PEER_ID_INVALID
messages.readEncryptedHistory,unknown,MSG_WAIT_FAILED
messages.readHistory,user,PEER_ID_INVALID Timeout
messages.receivedQueue,unknown,MSG_WAIT_FAILED
messages.reorderPinnedDialogs,user,PEER_ID_INVALID
messages.reportEncryptedSpam,user,CHAT_ID_INVALID
messages.reportSpam,user,PEER_ID_INVALID
messages.requestEncryption,user,DH_G_A_INVALID USER_ID_INVALID
messages.saveDraft,user,PEER_ID_INVALID
messages.saveGif,user,GIF_ID_INVALID
messages.saveRecentSticker,user,STICKER_ID_INVALID
messages.search,user,CHAT_ADMIN_REQUIRED INPUT_CONSTRUCTOR_INVALID INPUT_USER_DEACTIVATED PEER_ID_INVALID PEER_ID_NOT_SUPPORTED SEARCH_QUERY_EMPTY USER_ID_INVALID
messages.searchGifs,user,SEARCH_QUERY_EMPTY
messages.searchGlobal,user,SEARCH_QUERY_EMPTY
messages.sendEncrypted,unknown,CHAT_ID_INVALID DATA_INVALID ENCRYPTION_DECLINED MSG_WAIT_FAILED
messages.sendEncryptedFile,unknown,MSG_WAIT_FAILED
messages.sendEncryptedService,unknown,DATA_INVALID ENCRYPTION_DECLINED MSG_WAIT_FAILED USER_IS_BLOCKED
messages.sendInlineBotResult,user,CHAT_WRITE_FORBIDDEN INLINE_RESULT_EXPIRED PEER_ID_INVALID QUERY_ID_EMPTY WEBPAGE_CURL_FAILED WEBPAGE_MEDIA_EMPTY
messages.sendMedia,unknown,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED CHAT_SEND_MEDIA_FORBIDDEN CHAT_WRITE_FORBIDDEN EXTERNAL_URL_INVALID FILE_PARTS_INVALID FILE_PART_LENGTH_INVALID INPUT_USER_DEACTIVATED MEDIA_CAPTION_TOO_LONG MEDIA_EMPTY PEER_ID_INVALID PHOTO_EXT_INVALID PHOTO_INVALID_DIMENSIONS PHOTO_SAVE_FILE_INVALID RANDOM_ID_DUPLICATE STORAGE_CHECK_FAILED Timeout USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT WEBPAGE_CURL_FAILED WEBPAGE_MEDIA_EMPTY
messages.sendMessage,unknown,AUTH_KEY_DUPLICATED BUTTON_DATA_INVALID BUTTON_TYPE_INVALID BUTTON_URL_INVALID CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED CHAT_ID_INVALID CHAT_RESTRICTED CHAT_WRITE_FORBIDDEN ENTITY_MENTION_USER_INVALID INPUT_USER_DEACTIVATED MESSAGE_EMPTY MESSAGE_TOO_LONG PEER_ID_INVALID RANDOM_ID_DUPLICATE REPLY_MARKUP_INVALID REPLY_MARKUP_TOO_LONG Timeout USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT YOU_BLOCKED_USER
messages.sendScreenshotNotification,user,PEER_ID_INVALID
messages.setBotCallbackAnswer,unknown,QUERY_ID_INVALID URL_INVALID
messages.setBotPrecheckoutResults,unknown,ERROR_TEXT_EMPTY
messages.setBotShippingResults,unknown,QUERY_ID_INVALID
messages.setEncryptedTyping,user,CHAT_ID_INVALID
messages.setGameScore,unknown,PEER_ID_INVALID USER_BOT_REQUIRED
messages.setInlineBotResults,unknown,ARTICLE_TITLE_EMPTY BUTTON_DATA_INVALID BUTTON_TYPE_INVALID BUTTON_URL_INVALID MESSAGE_EMPTY QUERY_ID_INVALID REPLY_MARKUP_INVALID RESULT_TYPE_INVALID SEND_MESSAGE_TYPE_INVALID START_PARAM_INVALID USER_BOT_INVALID
messages.setInlineGameScore,unknown,MESSAGE_ID_INVALID USER_BOT_REQUIRED
messages.setTyping,unknown,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ID_INVALID CHAT_WRITE_FORBIDDEN PEER_ID_INVALID USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT
messages.startBot,user,BOT_INVALID PEER_ID_INVALID START_PARAM_EMPTY START_PARAM_INVALID
messages.toggleChatAdmins,user,CHAT_ID_INVALID CHAT_NOT_MODIFIED
messages.toggleDialogPin,user,PEER_ID_INVALID
messages.uninstallStickerSet,user,STICKERSET_INVALID
messages.uploadMedia,unknown,BOT_MISSING MEDIA_INVALID PEER_ID_INVALID
payments.getPaymentForm,user,MESSAGE_ID_INVALID
payments.getPaymentReceipt,user,MESSAGE_ID_INVALID
payments.sendPaymentForm,user,MESSAGE_ID_INVALID
payments.validateRequestedInfo,user,MESSAGE_ID_INVALID
phone.acceptCall,user,CALL_ALREADY_ACCEPTED CALL_ALREADY_DECLINED CALL_OCCUPY_FAILED CALL_PEER_INVALID CALL_PROTOCOL_FLAGS_INVALID
phone.confirmCall,user,CALL_ALREADY_DECLINED CALL_PEER_INVALID
phone.discardCall,user,CALL_ALREADY_ACCEPTED CALL_PEER_INVALID
phone.receivedCall,user,CALL_ALREADY_DECLINED CALL_PEER_INVALID
phone.requestCall,user,CALL_PROTOCOL_FLAGS_INVALID PARTICIPANT_CALL_FAILED PARTICIPANT_VERSION_OUTDATED USER_ID_INVALID USER_IS_BLOCKED USER_PRIVACY_RESTRICTED
phone.saveCallDebug,user,CALL_PEER_INVALID DATA_JSON_INVALID
phone.setCallRating,user,CALL_PEER_INVALID
photos.getUserPhotos,unknown,MAX_ID_INVALID USER_ID_INVALID
photos.uploadProfilePhoto,user,FILE_PARTS_INVALID IMAGE_PROCESS_FAILED PHOTO_CROP_SIZE_SMALL PHOTO_EXT_INVALID
stickers.addStickerToSet,unknown,BOT_MISSING STICKERSET_INVALID
stickers.changeStickerPosition,unknown,BOT_MISSING STICKER_INVALID
stickers.createStickerSet,unknown,BOT_MISSING PACK_SHORT_NAME_INVALID PACK_SHORT_NAME_OCCUPIED PEER_ID_INVALID SHORTNAME_OCCUPY_FAILED STICKERS_EMPTY STICKER_EMOJI_INVALID STICKER_FILE_INVALID STICKER_PNG_DIMENSIONS USER_ID_INVALID
stickers.removeStickerFromSet,unknown,BOT_MISSING STICKER_INVALID
updates.getChannelDifference,unknown,CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA HISTORY_GET_FAILED PERSISTENT_TIMESTAMP_EMPTY PERSISTENT_TIMESTAMP_INVALID PERSISTENT_TIMESTAMP_OUTDATED RANGES_INVALID Timeout
updates.getDifference,unknown,AUTH_KEY_PERM_EMPTY CDN_METHOD_INVALID DATE_EMPTY NEED_MEMBER_INVALID PERSISTENT_TIMESTAMP_EMPTY PERSISTENT_TIMESTAMP_INVALID SESSION_PASSWORD_NEEDED STORE_INVALID_SCALAR_TYPE Timeout
updates.getState,unknown,AUTH_KEY_DUPLICATED SESSION_PASSWORD_NEEDED Timeout
upload.getCdnFile,user,UNKNOWN_METHOD
upload.getCdnFileHashes,unknown,CDN_METHOD_INVALID RSA_DECRYPT_FAILED
upload.getFile,unknown,AUTH_KEY_PERM_EMPTY FILE_ID_INVALID INPUT_FETCH_FAIL LIMIT_INVALID LOCATION_INVALID OFFSET_INVALID Timeout
upload.getWebFile,user,LOCATION_INVALID
upload.reuploadCdnFile,unknown,RSA_DECRYPT_FAILED
upload.saveBigFilePart,unknown,FILE_PARTS_INVALID FILE_PART_EMPTY FILE_PART_INVALID FILE_PART_SIZE_INVALID Timeout
upload.saveFilePart,unknown,FILE_PART_EMPTY FILE_PART_INVALID INPUT_FETCH_FAIL SESSION_PASSWORD_NEEDED
users.getFullUser,unknown,Timeout USER_ID_INVALID
users.getUsers,unknown,AUTH_KEY_PERM_EMPTY MEMBER_NO_LOCATION NEED_MEMBER_INVALID SESSION_PASSWORD_NEEDED Timeout
1 method usability errors
2 account.changePhone user PHONE_NUMBER_INVALID
3 account.checkUsername user USERNAME_INVALID
4 account.confirmPhone user CODE_HASH_INVALID PHONE_CODE_EMPTY
5 account.getNotifySettings user PEER_ID_INVALID
6 account.getPasswordSettings user PASSWORD_HASH_INVALID
7 account.getPrivacy user PRIVACY_KEY_INVALID
8 account.getTmpPassword user PASSWORD_HASH_INVALID TMP_PASSWORD_DISABLED
9 account.registerDevice user TOKEN_INVALID
10 account.reportPeer user PEER_ID_INVALID
11 account.resetAuthorization user HASH_INVALID
12 account.sendChangePhoneCode user PHONE_NUMBER_INVALID
13 account.sendConfirmPhoneCode user HASH_INVALID
14 account.setAccountTTL user TTL_DAYS_INVALID
15 account.setPrivacy user PRIVACY_KEY_INVALID
16 account.unregisterDevice user TOKEN_INVALID
17 account.updateNotifySettings user PEER_ID_INVALID
18 account.updatePasswordSettings user EMAIL_UNCONFIRMED NEW_SALT_INVALID NEW_SETTINGS_INVALID PASSWORD_HASH_INVALID
19 account.updateProfile user ABOUT_TOO_LONG FIRSTNAME_INVALID
20 account.updateStatus user SESSION_PASSWORD_NEEDED
21 account.updateUsername user USERNAME_INVALID USERNAME_NOT_MODIFIED USERNAME_OCCUPIED
22 auth.bindTempAuthKey unknown ENCRYPTED_MESSAGE_INVALID INPUT_REQUEST_TOO_LONG TEMP_AUTH_KEY_EMPTY Timeout
23 auth.cancelCode user PHONE_NUMBER_INVALID
24 auth.checkPassword user PASSWORD_HASH_INVALID
25 auth.checkPhone user PHONE_NUMBER_BANNED PHONE_NUMBER_INVALID
26 auth.exportAuthorization unknown DC_ID_INVALID
27 auth.importAuthorization unknown AUTH_BYTES_INVALID USER_ID_INVALID
28 auth.importBotAuthorization unknown ACCESS_TOKEN_EXPIRED ACCESS_TOKEN_INVALID API_ID_INVALID
29 auth.recoverPassword user CODE_EMPTY
30 auth.requestPasswordRecovery user PASSWORD_EMPTY
31 auth.resendCode user PHONE_NUMBER_INVALID
32 auth.resetAuthorizations user Timeout
33 auth.sendCode user API_ID_INVALID API_ID_PUBLISHED_FLOOD AUTH_RESTART INPUT_REQUEST_TOO_LONG PHONE_NUMBER_APP_SIGNUP_FORBIDDEN PHONE_NUMBER_BANNED PHONE_NUMBER_FLOOD PHONE_NUMBER_INVALID PHONE_PASSWORD_FLOOD PHONE_PASSWORD_PROTECTED
34 auth.sendInvites user MESSAGE_EMPTY
35 auth.signIn user PHONE_CODE_EMPTY PHONE_CODE_EXPIRED PHONE_CODE_INVALID PHONE_NUMBER_INVALID PHONE_NUMBER_UNOCCUPIED SESSION_PASSWORD_NEEDED
36 auth.signUp user FIRSTNAME_INVALID MEMBER_OCCUPY_PRIMARY_LOC_FAILED PHONE_CODE_EMPTY PHONE_CODE_EXPIRED PHONE_CODE_INVALID PHONE_NUMBER_FLOOD PHONE_NUMBER_INVALID PHONE_NUMBER_OCCUPIED REG_ID_GENERATE_FAILED
37 bots.answerWebhookJSONQuery unknown QUERY_ID_INVALID USER_BOT_INVALID
38 bots.sendCustomRequest unknown USER_BOT_INVALID
39 channels.checkUsername user CHANNEL_INVALID CHAT_ID_INVALID USERNAME_INVALID
40 channels.createChannel user CHAT_TITLE_EMPTY USER_RESTRICTED
41 channels.deleteChannel user CHANNEL_INVALID CHANNEL_PRIVATE
42 channels.deleteMessages unknown CHANNEL_INVALID CHANNEL_PRIVATE MESSAGE_DELETE_FORBIDDEN
43 channels.deleteUserHistory user CHANNEL_INVALID CHAT_ADMIN_REQUIRED
44 channels.editAbout unknown CHANNEL_INVALID CHAT_ABOUT_NOT_MODIFIED CHAT_ABOUT_TOO_LONG CHAT_ADMIN_REQUIRED
45 channels.editAdmin unknown ADMINS_TOO_MUCH BOT_CHANNELS_NA CHANNEL_INVALID CHAT_ADMIN_INVITE_REQUIRED CHAT_ADMIN_REQUIRED RIGHT_FORBIDDEN USER_CREATOR USER_ID_INVALID USER_NOT_MUTUAL_CONTACT USER_PRIVACY_RESTRICTED
46 channels.editBanned unknown CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ADMIN_INVALID USER_ID_INVALID
47 channels.editPhoto unknown CHANNEL_INVALID CHAT_ADMIN_REQUIRED PHOTO_INVALID
48 channels.editTitle unknown CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_NOT_MODIFIED
49 channels.exportInvite unknown CHANNEL_INVALID CHAT_ADMIN_REQUIRED INVITE_HASH_EXPIRED
50 channels.exportMessageLink user CHANNEL_INVALID
51 channels.getAdminLog user CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED
52 channels.getChannels unknown CHANNEL_INVALID CHANNEL_PRIVATE NEED_CHAT_INVALID
53 channels.getFullChannel unknown CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA Timeout
54 channels.getMessages unknown CHANNEL_INVALID CHANNEL_PRIVATE MESSAGE_IDS_EMPTY
55 channels.getParticipant unknown CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ID_INVALID USER_NOT_PARTICIPANT
56 channels.getParticipants unknown CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED INPUT_CONSTRUCTOR_INVALID Timeout
57 channels.inviteToChannel user BOTS_TOO_MUCH BOT_GROUPS_BLOCKED CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED CHAT_WRITE_FORBIDDEN INPUT_USER_DEACTIVATED USERS_TOO_MUCH USER_BANNED_IN_CHANNEL USER_BLOCKED USER_BOT USER_CHANNELS_TOO_MUCH USER_ID_INVALID USER_KICKED USER_NOT_MUTUAL_CONTACT USER_PRIVACY_RESTRICTED
58 channels.joinChannel user CHANNELS_TOO_MUCH CHANNEL_INVALID CHANNEL_PRIVATE
59 channels.leaveChannel unknown CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA USER_CREATOR USER_NOT_PARTICIPANT
60 channels.readHistory user CHANNEL_INVALID CHANNEL_PRIVATE
61 channels.readMessageContents user CHANNEL_INVALID CHANNEL_PRIVATE
62 channels.reportSpam user CHANNEL_INVALID INPUT_USER_DEACTIVATED
63 channels.setStickers unknown CHANNEL_INVALID PARTICIPANTS_TOO_FEW
64 channels.toggleInvites user CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_NOT_MODIFIED
65 channels.toggleSignatures user CHANNEL_INVALID
66 channels.updatePinnedMessage unknown CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_ID_INVALID CHAT_NOT_MODIFIED
67 channels.updateUsername user CHANNELS_ADMIN_PUBLIC_TOO_MUCH CHANNEL_INVALID CHAT_ADMIN_REQUIRED USERNAME_INVALID USERNAME_OCCUPIED
68 contacts.block user CONTACT_ID_INVALID
69 contacts.deleteContact user CONTACT_ID_INVALID
70 contacts.deleteContacts user NEED_MEMBER_INVALID Timeout
71 contacts.getSaved unknown TAKEOUT_REQUIRED
72 contacts.getTopPeers user TYPES_EMPTY
73 contacts.importCard user EXPORT_CARD_INVALID NEED_MEMBER_INVALID
74 contacts.resetTopPeerRating user PEER_ID_INVALID
75 contacts.resolveUsername unknown AUTH_KEY_PERM_EMPTY SESSION_PASSWORD_NEEDED USERNAME_INVALID USERNAME_NOT_OCCUPIED
76 contacts.search user QUERY_TOO_SHORT SEARCH_QUERY_EMPTY Timeout
77 contacts.unblock user CONTACT_ID_INVALID
78 help.getCdnConfig unknown AUTH_KEY_PERM_EMPTY Timeout
79 help.getConfig unknown AUTH_KEY_DUPLICATED Timeout
80 initConnection unknown CONNECTION_LAYER_INVALID INPUT_FETCH_FAIL
81 invokeWithLayer unknown AUTH_BYTES_INVALID AUTH_KEY_DUPLICATED CDN_METHOD_INVALID CHAT_WRITE_FORBIDDEN CONNECTION_API_ID_INVALID CONNECTION_DEVICE_MODEL_EMPTY CONNECTION_LANG_PACK_INVALID CONNECTION_NOT_INITED CONNECTION_SYSTEM_EMPTY INPUT_LAYER_INVALID INVITE_HASH_EXPIRED NEED_MEMBER_INVALID Timeout
82 langpack.getDifference user LANG_PACK_INVALID
83 langpack.getLangPack user LANG_PACK_INVALID
84 langpack.getLanguages user LANG_PACK_INVALID
85 langpack.getStrings user LANG_PACK_INVALID
86 messages.acceptEncryption user CHAT_ID_INVALID ENCRYPTION_ALREADY_ACCEPTED ENCRYPTION_ALREADY_DECLINED ENCRYPTION_OCCUPY_FAILED
87 messages.addChatUser user CHAT_ADMIN_REQUIRED CHAT_ID_INVALID INPUT_USER_DEACTIVATED PEER_ID_INVALID USERS_TOO_MUCH USER_ALREADY_PARTICIPANT USER_ID_INVALID USER_NOT_MUTUAL_CONTACT USER_PRIVACY_RESTRICTED
88 messages.checkChatInvite user INVITE_HASH_EMPTY INVITE_HASH_EXPIRED INVITE_HASH_INVALID
89 messages.createChat user USERS_TOO_FEW USER_RESTRICTED
90 messages.deleteChatUser unknown CHAT_ID_INVALID PEER_ID_INVALID USER_NOT_PARTICIPANT
91 messages.deleteHistory user PEER_ID_INVALID
92 messages.deleteMessages unknown MESSAGE_DELETE_FORBIDDEN
93 messages.discardEncryption user CHAT_ID_EMPTY ENCRYPTION_ALREADY_DECLINED ENCRYPTION_ID_INVALID
94 messages.editChatAdmin user CHAT_ID_INVALID
95 messages.editChatPhoto unknown CHAT_ID_INVALID INPUT_CONSTRUCTOR_INVALID INPUT_FETCH_FAIL PEER_ID_INVALID PHOTO_EXT_INVALID
96 messages.editChatTitle unknown CHAT_ID_INVALID NEED_CHAT_INVALID
97 messages.editInlineBotMessage unknown MESSAGE_ID_INVALID MESSAGE_NOT_MODIFIED
98 messages.editMessage unknown CHANNEL_INVALID CHANNEL_PRIVATE CHAT_WRITE_FORBIDDEN INPUT_USER_DEACTIVATED MESSAGE_AUTHOR_REQUIRED MESSAGE_EDIT_TIME_EXPIRED MESSAGE_EMPTY MESSAGE_ID_INVALID MESSAGE_NOT_MODIFIED PEER_ID_INVALID
99 messages.exportChatInvite user CHAT_ID_INVALID
100 messages.faveSticker unknown STICKER_ID_INVALID
101 messages.forwardMessage unknown CHAT_ID_INVALID MESSAGE_ID_INVALID PEER_ID_INVALID YOU_BLOCKED_USER
102 messages.forwardMessages unknown CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED CHAT_ID_INVALID CHAT_SEND_GIFS_FORBIDDEN CHAT_SEND_MEDIA_FORBIDDEN CHAT_SEND_STICKERS_FORBIDDEN CHAT_WRITE_FORBIDDEN GROUPED_MEDIA_INVALID INPUT_USER_DEACTIVATED MEDIA_EMPTY MESSAGE_IDS_EMPTY MESSAGE_ID_INVALID PEER_ID_INVALID PTS_CHANGE_EMPTY RANDOM_ID_DUPLICATE RANDOM_ID_INVALID Timeout USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT YOU_BLOCKED_USER
103 messages.getBotCallbackAnswer user CHANNEL_INVALID DATA_INVALID MESSAGE_ID_INVALID PEER_ID_INVALID Timeout
104 messages.getChats unknown CHAT_ID_INVALID PEER_ID_INVALID
105 messages.getCommonChats user USER_ID_INVALID
106 messages.getDhConfig user RANDOM_LENGTH_INVALID
107 messages.getDialogs user INPUT_CONSTRUCTOR_INVALID OFFSET_PEER_ID_INVALID SESSION_PASSWORD_NEEDED Timeout
108 messages.getDocumentByHash unknown SHA256_HASH_INVALID
109 messages.getFullChat unknown CHAT_ID_INVALID PEER_ID_INVALID
110 messages.getGameHighScores unknown PEER_ID_INVALID USER_BOT_REQUIRED
111 messages.getHistory user AUTH_KEY_DUPLICATED AUTH_KEY_PERM_EMPTY CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ID_INVALID PEER_ID_INVALID Timeout
112 messages.getInlineBotResults user BOT_INLINE_DISABLED BOT_INVALID CHANNEL_PRIVATE Timeout
113 messages.getInlineGameHighScores unknown MESSAGE_ID_INVALID USER_BOT_REQUIRED
114 messages.getMessageEditData user MESSAGE_AUTHOR_REQUIRED PEER_ID_INVALID
115 messages.getMessagesViews user CHANNEL_PRIVATE CHAT_ID_INVALID PEER_ID_INVALID
116 messages.getPeerDialogs user CHANNEL_PRIVATE PEER_ID_INVALID
117 messages.getPeerSettings user CHANNEL_INVALID PEER_ID_INVALID
118 messages.getStickerSet unknown STICKERSET_INVALID
119 messages.getUnreadMentions user PEER_ID_INVALID
120 messages.getWebPage user WC_CONVERT_URL_INVALID
121 messages.hideReportSpam user PEER_ID_INVALID
122 messages.importChatInvite user CHANNELS_TOO_MUCH INVITE_HASH_EMPTY INVITE_HASH_EXPIRED INVITE_HASH_INVALID SESSION_PASSWORD_NEEDED USERS_TOO_MUCH USER_ALREADY_PARTICIPANT
123 messages.installStickerSet user STICKERSET_INVALID
124 messages.migrateChat user CHAT_ADMIN_REQUIRED CHAT_ID_INVALID PEER_ID_INVALID
125 messages.readEncryptedHistory unknown MSG_WAIT_FAILED
126 messages.readHistory user PEER_ID_INVALID Timeout
127 messages.receivedQueue unknown MSG_WAIT_FAILED
128 messages.reorderPinnedDialogs user PEER_ID_INVALID
129 messages.reportEncryptedSpam user CHAT_ID_INVALID
130 messages.reportSpam user PEER_ID_INVALID
131 messages.requestEncryption user DH_G_A_INVALID USER_ID_INVALID
132 messages.saveDraft user PEER_ID_INVALID
133 messages.saveGif user GIF_ID_INVALID
134 messages.saveRecentSticker user STICKER_ID_INVALID
135 messages.search user CHAT_ADMIN_REQUIRED INPUT_CONSTRUCTOR_INVALID INPUT_USER_DEACTIVATED PEER_ID_INVALID PEER_ID_NOT_SUPPORTED SEARCH_QUERY_EMPTY USER_ID_INVALID
136 messages.searchGifs user SEARCH_QUERY_EMPTY
137 messages.searchGlobal user SEARCH_QUERY_EMPTY
138 messages.sendEncrypted unknown CHAT_ID_INVALID DATA_INVALID ENCRYPTION_DECLINED MSG_WAIT_FAILED
139 messages.sendEncryptedFile unknown MSG_WAIT_FAILED
140 messages.sendEncryptedService unknown DATA_INVALID ENCRYPTION_DECLINED MSG_WAIT_FAILED USER_IS_BLOCKED
141 messages.sendInlineBotResult user CHAT_WRITE_FORBIDDEN INLINE_RESULT_EXPIRED PEER_ID_INVALID QUERY_ID_EMPTY WEBPAGE_CURL_FAILED WEBPAGE_MEDIA_EMPTY
142 messages.sendMedia unknown CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED CHAT_SEND_MEDIA_FORBIDDEN CHAT_WRITE_FORBIDDEN EXTERNAL_URL_INVALID FILE_PARTS_INVALID FILE_PART_LENGTH_INVALID INPUT_USER_DEACTIVATED MEDIA_CAPTION_TOO_LONG MEDIA_EMPTY PEER_ID_INVALID PHOTO_EXT_INVALID PHOTO_INVALID_DIMENSIONS PHOTO_SAVE_FILE_INVALID RANDOM_ID_DUPLICATE STORAGE_CHECK_FAILED Timeout USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT WEBPAGE_CURL_FAILED WEBPAGE_MEDIA_EMPTY
143 messages.sendMessage unknown AUTH_KEY_DUPLICATED BUTTON_DATA_INVALID BUTTON_TYPE_INVALID BUTTON_URL_INVALID CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED CHAT_ID_INVALID CHAT_RESTRICTED CHAT_WRITE_FORBIDDEN ENTITY_MENTION_USER_INVALID INPUT_USER_DEACTIVATED MESSAGE_EMPTY MESSAGE_TOO_LONG PEER_ID_INVALID RANDOM_ID_DUPLICATE REPLY_MARKUP_INVALID REPLY_MARKUP_TOO_LONG Timeout USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT YOU_BLOCKED_USER
144 messages.sendScreenshotNotification user PEER_ID_INVALID
145 messages.setBotCallbackAnswer unknown QUERY_ID_INVALID URL_INVALID
146 messages.setBotPrecheckoutResults unknown ERROR_TEXT_EMPTY
147 messages.setBotShippingResults unknown QUERY_ID_INVALID
148 messages.setEncryptedTyping user CHAT_ID_INVALID
149 messages.setGameScore unknown PEER_ID_INVALID USER_BOT_REQUIRED
150 messages.setInlineBotResults unknown ARTICLE_TITLE_EMPTY BUTTON_DATA_INVALID BUTTON_TYPE_INVALID BUTTON_URL_INVALID MESSAGE_EMPTY QUERY_ID_INVALID REPLY_MARKUP_INVALID RESULT_TYPE_INVALID SEND_MESSAGE_TYPE_INVALID START_PARAM_INVALID USER_BOT_INVALID
151 messages.setInlineGameScore unknown MESSAGE_ID_INVALID USER_BOT_REQUIRED
152 messages.setTyping unknown CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ID_INVALID CHAT_WRITE_FORBIDDEN PEER_ID_INVALID USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT
153 messages.startBot user BOT_INVALID PEER_ID_INVALID START_PARAM_EMPTY START_PARAM_INVALID
154 messages.toggleChatAdmins user CHAT_ID_INVALID CHAT_NOT_MODIFIED
155 messages.toggleDialogPin user PEER_ID_INVALID
156 messages.uninstallStickerSet user STICKERSET_INVALID
157 messages.uploadMedia unknown BOT_MISSING MEDIA_INVALID PEER_ID_INVALID
158 payments.getPaymentForm user MESSAGE_ID_INVALID
159 payments.getPaymentReceipt user MESSAGE_ID_INVALID
160 payments.sendPaymentForm user MESSAGE_ID_INVALID
161 payments.validateRequestedInfo user MESSAGE_ID_INVALID
162 phone.acceptCall user CALL_ALREADY_ACCEPTED CALL_ALREADY_DECLINED CALL_OCCUPY_FAILED CALL_PEER_INVALID CALL_PROTOCOL_FLAGS_INVALID
163 phone.confirmCall user CALL_ALREADY_DECLINED CALL_PEER_INVALID
164 phone.discardCall user CALL_ALREADY_ACCEPTED CALL_PEER_INVALID
165 phone.receivedCall user CALL_ALREADY_DECLINED CALL_PEER_INVALID
166 phone.requestCall user CALL_PROTOCOL_FLAGS_INVALID PARTICIPANT_CALL_FAILED PARTICIPANT_VERSION_OUTDATED USER_ID_INVALID USER_IS_BLOCKED USER_PRIVACY_RESTRICTED
167 phone.saveCallDebug user CALL_PEER_INVALID DATA_JSON_INVALID
168 phone.setCallRating user CALL_PEER_INVALID
169 photos.getUserPhotos unknown MAX_ID_INVALID USER_ID_INVALID
170 photos.uploadProfilePhoto user FILE_PARTS_INVALID IMAGE_PROCESS_FAILED PHOTO_CROP_SIZE_SMALL PHOTO_EXT_INVALID
171 stickers.addStickerToSet unknown BOT_MISSING STICKERSET_INVALID
172 stickers.changeStickerPosition unknown BOT_MISSING STICKER_INVALID
173 stickers.createStickerSet unknown BOT_MISSING PACK_SHORT_NAME_INVALID PACK_SHORT_NAME_OCCUPIED PEER_ID_INVALID SHORTNAME_OCCUPY_FAILED STICKERS_EMPTY STICKER_EMOJI_INVALID STICKER_FILE_INVALID STICKER_PNG_DIMENSIONS USER_ID_INVALID
174 stickers.removeStickerFromSet unknown BOT_MISSING STICKER_INVALID
175 updates.getChannelDifference unknown CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA HISTORY_GET_FAILED PERSISTENT_TIMESTAMP_EMPTY PERSISTENT_TIMESTAMP_INVALID PERSISTENT_TIMESTAMP_OUTDATED RANGES_INVALID Timeout
176 updates.getDifference unknown AUTH_KEY_PERM_EMPTY CDN_METHOD_INVALID DATE_EMPTY NEED_MEMBER_INVALID PERSISTENT_TIMESTAMP_EMPTY PERSISTENT_TIMESTAMP_INVALID SESSION_PASSWORD_NEEDED STORE_INVALID_SCALAR_TYPE Timeout
177 updates.getState unknown AUTH_KEY_DUPLICATED SESSION_PASSWORD_NEEDED Timeout
178 upload.getCdnFile user UNKNOWN_METHOD
179 upload.getCdnFileHashes unknown CDN_METHOD_INVALID RSA_DECRYPT_FAILED
180 upload.getFile unknown AUTH_KEY_PERM_EMPTY FILE_ID_INVALID INPUT_FETCH_FAIL LIMIT_INVALID LOCATION_INVALID OFFSET_INVALID Timeout
181 upload.getWebFile user LOCATION_INVALID
182 upload.reuploadCdnFile unknown RSA_DECRYPT_FAILED
183 upload.saveBigFilePart unknown FILE_PARTS_INVALID FILE_PART_EMPTY FILE_PART_INVALID FILE_PART_SIZE_INVALID Timeout
184 upload.saveFilePart unknown FILE_PART_EMPTY FILE_PART_INVALID INPUT_FETCH_FAIL SESSION_PASSWORD_NEEDED
185 users.getFullUser unknown Timeout USER_ID_INVALID
186 users.getUsers unknown AUTH_KEY_PERM_EMPTY MEMBER_NO_LOCATION NEED_MEMBER_INVALID SESSION_PASSWORD_NEEDED Timeout