Update docs, usability and errors for all methods

This commit is contained in:
Lonami Exo 2019-03-02 19:00:14 +01:00
parent c4d65f8bf4
commit dd1ca16ded
4 changed files with 199 additions and 84 deletions

View File

@ -5,7 +5,7 @@ This place is for issues with the library, so please make sure that:
2. You have already searched for your error on existing issues.
3. You are testing with upstream code (pip install -U https://github.com/LonamiWebs/Telethon/archive/master.zip).
If you have a question, ask in the official Telegram group https://t.me/TelethonChat or https://stackoverflow.com. Enhancement ideas are currently welcome, too.
If you have a question, ask in https://stackoverflow.com or find the link for the Telegram group in the description of https://t.me/TelethonUpdates. Enhancement ideas are currently welcome, too.
If you paste code, please put it between three backticks (`):
```python

View File

@ -27,8 +27,8 @@ First things first, sorry for updating the layer in the previous patch
version. That should only be done between major versions ideally, but
due to how Telegram works, it's done between minor versions. However raw
API has and will always be considered "unsafe", this meaning that you
should always really on the convenience client methods instead. You can't
do everything that you can do with raw API, so pull requests are welcome.
should always use the convenience client methods instead. These methods
don't cover the full API yet, so pull requests are welcome.
Breaking Changes
~~~~~~~~~~~~~~~~

View File

@ -47,8 +47,9 @@ CHAT_INVALID,400,The chat is invalid for this request
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_INLINE_FORBIDDEN,400,You cannot send inline results 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_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
@ -67,7 +68,9 @@ 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_HASH_EXPIRED,400,The email hash expired and cannot be used to verify it
EMAIL_INVALID,400,The given email is invalid
EMAIL_UNCONFIRMED_X,400,"Email unconfirmed, the length of the code must be {code_length}"
EMOTICON_EMPTY,400,The emoticon field cannot be empty
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
@ -117,6 +120,7 @@ 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
MAX_QTS_INVALID,400,The provided QTS were 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
@ -149,6 +153,7 @@ 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
PASSWORD_REQUIRED,400,The account must have 2-factor authentication enabled (a password) before this method can be used
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
@ -243,6 +248,7 @@ USER_CHANNELS_TOO_MUCH,403,One of the users you tried to add is already in too m
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_INVALID,400,The given user was invalid
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
@ -252,6 +258,8 @@ USER_NOT_PARTICIPANT,400,The target user is not a member of the specified megagr
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."
VIDEO_CONTENT_TYPE_INVALID,400,The video content type is not supported with the given parameters (i.e. supports_streaming)
WALLPAPER_FILE_INVALID,400,The given file cannot be used as a wallpaper
WALLPAPER_INVALID,400,The input wallpaper was not valid
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

1 name codes description
47 CHAT_NOT_MODIFIED 400 The chat or channel wasn't modified (title, invites, username, admins, etc. are the same)
48 CHAT_RESTRICTED 400 The chat is restricted and cannot be used in that request
49 CHAT_SEND_GIFS_FORBIDDEN 403 You can't send gifs in this chat
50 CHAT_SEND_INLINE_FORBIDDEN 400 You cannot send inline results in this chat
51 CHAT_SEND_MEDIA_FORBIDDEN 403 You can't send media in this chat
52 CHAT_SEND_STICKERS_FORBIDDEN 403 You can't send stickers in this chat. You can't send stickers in this chat
53 CHAT_TITLE_EMPTY 400 No chat title provided
54 CHAT_WRITE_FORBIDDEN 403 You can't write in this chat
55 CODE_EMPTY 400 The provided code is empty
68 DC_ID_INVALID 400 This occurs when an authorization is tried to be exported for the same data center one is currently connected to
69 DH_G_A_INVALID 400 g_a invalid
70 EMAIL_HASH_EXPIRED 400 The email hash expired and cannot be used to verify it
71 EMAIL_INVALID 400 The given email is invalid
72 EMAIL_UNCONFIRMED_X 400 Email unconfirmed, the length of the code must be {code_length}
73 EMOTICON_EMPTY 400 The emoticon field cannot be empty
74 ENCRYPTED_MESSAGE_INVALID 400 Encrypted message invalid
75 ENCRYPTION_ALREADY_ACCEPTED 400 Secret chat already accepted
76 ENCRYPTION_ALREADY_DECLINED 400 The secret chat was already declined
120 LIMIT_INVALID 400 An invalid limit was provided. See https://core.telegram.org/api/files#downloading-files
121 LOCATION_INVALID 400 The location given for a file was invalid. See https://core.telegram.org/api/files#downloading-files
122 MAX_ID_INVALID 400 The provided max ID is invalid
123 MAX_QTS_INVALID 400 The provided QTS were invalid
124 MD5_CHECKSUM_INVALID The MD5 check-sums do not match
125 MEDIA_CAPTION_TOO_LONG 400 The caption is too long
126 MEDIA_EMPTY 400 The provided media object is invalid
153 PARTICIPANT_VERSION_OUTDATED 400 The other participant does not use an up to date telegram client with support for calls
154 PASSWORD_EMPTY 400 The provided password is empty
155 PASSWORD_HASH_INVALID 400 The password (and thus its hash value) you entered is invalid
156 PASSWORD_REQUIRED 400 The account must have 2-factor authentication enabled (a password) before this method can be used
157 PEER_FLOOD Too many requests
158 PEER_ID_INVALID 400 An invalid Peer was used. Make sure to pass the right peer type
159 PEER_ID_NOT_SUPPORTED 400 The provided peer ID is not supported
248 USER_CREATOR 400 You can't leave this channel, because you're its creator
249 USER_DEACTIVATED 401 The user has been deleted/deactivated
250 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
251 USER_INVALID 400 The given user was invalid
252 USER_IS_BLOCKED 400 403 User is blocked
253 USER_IS_BOT 400 Bots can't send messages to other bots
254 USER_KICKED 400 This user was kicked from this supergroup/channel
258 USER_PRIVACY_RESTRICTED 403 The user's privacy settings do not allow you to do this
259 USER_RESTRICTED 403 You're spamreported, you can't create channels or chats.
260 VIDEO_CONTENT_TYPE_INVALID 400 The video content type is not supported with the given parameters (i.e. supports_streaming)
261 WALLPAPER_FILE_INVALID 400 The given file cannot be used as a wallpaper
262 WALLPAPER_INVALID 400 The input wallpaper was not valid
263 WC_CONVERT_URL_INVALID 400 WC convert URL invalid
264 WEBPAGE_CURL_FAILED 400 Failure while fetching the webpage with cURL
265 WEBPAGE_MEDIA_EMPTY 400 Webpage media empty

View File

@ -1,132 +1,223 @@
method,usability,errors
account.acceptAuthorization,user,
account.cancelPasswordEmail,user,
account.changePhone,user,PHONE_NUMBER_INVALID
account.checkUsername,user,USERNAME_INVALID
account.confirmPasswordEmail,user,
account.confirmPhone,user,CODE_HASH_INVALID PHONE_CODE_EMPTY
account.deleteSecureValue,user,
account.finishTakeoutSession,user,
account.getAccountTTL,user,
account.getAllSecureValues,user,
account.getAuthorizationForm,user,
account.getAuthorizations,user,
account.getContactSignUpNotification,user,
account.getNotifyExceptions,user,
account.getNotifySettings,user,PEER_ID_INVALID
account.getPassword,user,
account.getPasswordSettings,user,PASSWORD_HASH_INVALID
account.getPrivacy,user,PRIVACY_KEY_INVALID
account.getSecureValue,user,
account.getTmpPassword,user,PASSWORD_HASH_INVALID TMP_PASSWORD_DISABLED
account.getWallPaper,user,WALLPAPER_INVALID
account.getWallPapers,user,
account.getWebAuthorizations,user,
account.initTakeoutSession,user,
account.installWallPaper,user,WALLPAPER_INVALID
account.registerDevice,user,TOKEN_INVALID
account.reportPeer,user,PEER_ID_INVALID
account.resendPasswordEmail,user,
account.resetAuthorization,user,HASH_INVALID
account.resetNotifySettings,user,
account.resetWallPapers,user,
account.resetWebAuthorization,user,
account.resetWebAuthorizations,user,
account.saveSecureValue,user,PASSWORD_REQUIRED
account.saveWallPaper,user,WALLPAPER_INVALID
account.sendChangePhoneCode,user,PHONE_NUMBER_INVALID
account.sendConfirmPhoneCode,user,HASH_INVALID
account.sendVerifyEmailCode,user,EMAIL_INVALID
account.sendVerifyPhoneCode,user,
account.setAccountTTL,user,TTL_DAYS_INVALID
account.setContactSignUpNotification,user,
account.setPrivacy,user,PRIVACY_KEY_INVALID
account.unregisterDevice,user,TOKEN_INVALID
account.updateDeviceLocked,user,
account.updateNotifySettings,user,PEER_ID_INVALID
account.updatePasswordSettings,user,EMAIL_UNCONFIRMED_X 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
account.uploadWallPaper,user,WALLPAPER_FILE_INVALID
account.verifyEmail,user,EMAIL_INVALID
account.verifyPhone,user,
auth.bindTempAuthKey,both,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.dropTempAuthKeys,both,
auth.exportAuthorization,both,DC_ID_INVALID
auth.importAuthorization,both,AUTH_BYTES_INVALID USER_ID_INVALID
auth.importBotAuthorization,both,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
bots.answerWebhookJSONQuery,bot,QUERY_ID_INVALID USER_BOT_INVALID
bots.sendCustomRequest,bot,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.deleteHistory,user,
channels.deleteMessages,both,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.editAdmin,both,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,both,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ADMIN_INVALID USER_ID_INVALID
channels.editPhoto,both,CHANNEL_INVALID CHAT_ADMIN_REQUIRED PHOTO_INVALID
channels.editTitle,both,CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_NOT_MODIFIED
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.getAdminedPublicChannels,user,
channels.getChannels,both,CHANNEL_INVALID CHANNEL_PRIVATE NEED_CHAT_INVALID
channels.getFullChannel,both,CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA Timeout
channels.getLeftChannels,user,
channels.getMessages,both,CHANNEL_INVALID CHANNEL_PRIVATE MESSAGE_IDS_EMPTY
channels.getParticipant,both,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ID_INVALID USER_NOT_PARTICIPANT
channels.getParticipants,both,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_INVALID 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.leaveChannel,both,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.setStickers,both,CHANNEL_INVALID PARTICIPANTS_TOO_FEW
channels.togglePreHistoryHidden,user,
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.deleteByPhones,user,
contacts.deleteContact,user,CONTACT_ID_INVALID
contacts.deleteContacts,user,NEED_MEMBER_INVALID Timeout
contacts.getSaved,unknown,TAKEOUT_REQUIRED
contacts.getBlocked,user,
contacts.getContactIDs,user,
contacts.getContacts,user,
contacts.getSaved,user,TAKEOUT_REQUIRED
contacts.getStatuses,user,
contacts.getTopPeers,user,TYPES_EMPTY
contacts.importCard,user,EXPORT_CARD_INVALID NEED_MEMBER_INVALID
contacts.importContacts,user,
contacts.resetSaved,user,
contacts.resetTopPeerRating,user,PEER_ID_INVALID
contacts.resolveUsername,unknown,AUTH_KEY_PERM_EMPTY SESSION_PASSWORD_NEEDED USERNAME_INVALID USERNAME_NOT_OCCUPIED
contacts.resolveUsername,both,AUTH_KEY_PERM_EMPTY SESSION_PASSWORD_NEEDED USERNAME_INVALID USERNAME_NOT_OCCUPIED
contacts.search,user,QUERY_TOO_SHORT SEARCH_QUERY_EMPTY Timeout
contacts.toggleTopPeers,user,
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
contest.saveDeveloperInfo,both,
help.acceptTermsOfService,user,
help.editUserInfo,user,USER_INVALID
help.getAppChangelog,user,
help.getAppConfig,user,
help.getAppUpdate,user,
help.getCdnConfig,both,AUTH_KEY_PERM_EMPTY Timeout
help.getConfig,both,AUTH_KEY_DUPLICATED Timeout
help.getDeepLinkInfo,user,
help.getInviteText,user,
help.getNearestDc,user,
help.getPassportConfig,user,
help.getProxyData,user,
help.getRecentMeUrls,user,
help.getSupport,user,
help.getSupportName,user,USER_INVALID
help.getTermsOfServiceUpdate,user,
help.getUserInfo,user,USER_INVALID
help.saveAppLog,user,
help.setBotUpdatesStatus,both,
initConnection,both,CONNECTION_LAYER_INVALID INPUT_FETCH_FAIL
invokeAfterMsg,both,
invokeAfterMsgs,both,
invokeWithLayer,both,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
invokeWithMessagesRange,both,
invokeWithTakeout,both,
invokeWithoutUpdates,both,
langpack.getDifference,user,LANG_PACK_INVALID
langpack.getLangPack,user,LANG_PACK_INVALID
langpack.getLanguage,user,
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.clearAllDrafts,user,
messages.clearRecentStickers,user,
messages.createChat,user,USERS_TOO_FEW USER_RESTRICTED
messages.deleteChatUser,unknown,CHAT_ID_INVALID PEER_ID_INVALID USER_NOT_PARTICIPANT
messages.deleteChatUser,both,CHAT_ID_INVALID PEER_ID_INVALID USER_NOT_PARTICIPANT
messages.deleteHistory,user,PEER_ID_INVALID
messages.deleteMessages,unknown,MESSAGE_DELETE_FORBIDDEN
messages.deleteMessages,both,MESSAGE_DELETE_FORBIDDEN
messages.discardEncryption,user,CHAT_ID_EMPTY ENCRYPTION_ALREADY_DECLINED ENCRYPTION_ID_INVALID
messages.editChatAbout,both,
messages.editChatAdmin,user,CHAT_ID_INVALID
messages.editChatDefaultBannedRights,unknown,BANNED_RIGHTS_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 MEDIA_NEW_INVALID MEDIA_PREV_INVALID MESSAGE_AUTHOR_REQUIRED MESSAGE_EDIT_TIME_EXPIRED MESSAGE_EMPTY MESSAGE_ID_INVALID MESSAGE_NOT_MODIFIED PEER_ID_INVALID
messages.editChatDefaultBannedRights,both,BANNED_RIGHTS_INVALID
messages.editChatPhoto,both,CHAT_ID_INVALID INPUT_CONSTRUCTOR_INVALID INPUT_FETCH_FAIL PEER_ID_INVALID PHOTO_EXT_INVALID
messages.editChatTitle,both,CHAT_ID_INVALID NEED_CHAT_INVALID
messages.editInlineBotMessage,both,MESSAGE_ID_INVALID MESSAGE_NOT_MODIFIED
messages.editMessage,both,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_WRITE_FORBIDDEN INPUT_USER_DEACTIVATED MEDIA_NEW_INVALID MEDIA_PREV_INVALID 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.faveSticker,user,STICKER_ID_INVALID
messages.forwardMessages,both,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.getAllChats,user,
messages.getAllDrafts,user,
messages.getAllStickers,user,
messages.getArchivedStickers,user,
messages.getAttachedStickers,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.getChats,both,CHAT_ID_INVALID PEER_ID_INVALID
messages.getCommonChats,user,USER_ID_INVALID
messages.getDhConfig,user,RANDOM_LENGTH_INVALID
messages.getDialogUnreadMarks,user,
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.getDocumentByHash,both,SHA256_HASH_INVALID
messages.getFavedStickers,user,
messages.getFeaturedStickers,user,
messages.getFullChat,both,CHAT_ID_INVALID PEER_ID_INVALID
messages.getGameHighScores,bot,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.getInlineGameHighScores,bot,MESSAGE_ID_INVALID USER_BOT_REQUIRED
messages.getMaskStickers,user,
messages.getMessageEditData,user,MESSAGE_AUTHOR_REQUIRED PEER_ID_INVALID
messages.getMessages,both,
messages.getMessagesViews,user,CHANNEL_PRIVATE CHAT_ID_INVALID PEER_ID_INVALID
messages.getOnlines,user,
messages.getPeerDialogs,user,CHANNEL_PRIVATE PEER_ID_INVALID
messages.getPeerSettings,user,CHANNEL_INVALID PEER_ID_INVALID
messages.getStickerSet,unknown,STICKERSET_INVALID
messages.getPinnedDialogs,user,
messages.getPollResults,user,
messages.getRecentLocations,user,
messages.getRecentStickers,user,
messages.getSavedGifs,user,
messages.getSplitRanges,user,
messages.getStatsURL,user,
messages.getStickerSet,both,STICKERSET_INVALID
messages.getStickers,user,EMOTICON_EMPTY
messages.getUnreadMentions,user,PEER_ID_INVALID
messages.getWebPage,user,WC_CONVERT_URL_INVALID
messages.getWebPagePreview,user,
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.markDialogUnread,user,
messages.migrateChat,user,CHAT_ADMIN_REQUIRED CHAT_ID_INVALID PEER_ID_INVALID
messages.readEncryptedHistory,unknown,MSG_WAIT_FAILED
messages.readEncryptedHistory,user,MSG_WAIT_FAILED
messages.readFeaturedStickers,user,
messages.readHistory,user,PEER_ID_INVALID Timeout
messages.receivedQueue,unknown,MSG_WAIT_FAILED
messages.readMentions,user,
messages.readMessageContents,user,
messages.receivedMessages,user,
messages.receivedQueue,user,MSG_WAIT_FAILED MAX_QTS_INVALID
messages.reorderPinnedDialogs,user,PEER_ID_INVALID
messages.reorderStickerSets,user,
messages.report,user,
messages.reportEncryptedSpam,user,CHAT_ID_INVALID
messages.reportSpam,user,PEER_ID_INVALID
messages.requestEncryption,user,DH_G_A_INVALID USER_ID_INVALID
@ -136,52 +227,68 @@ 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,BOT_POLLS_DISABLED 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 VIDEO_CONTENT_TYPE_INVALID 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.searchStickerSets,user,
messages.sendEncrypted,user,CHAT_ID_INVALID DATA_INVALID ENCRYPTION_DECLINED MSG_WAIT_FAILED
messages.sendEncryptedFile,user,MSG_WAIT_FAILED
messages.sendEncryptedService,user,DATA_INVALID ENCRYPTION_DECLINED MSG_WAIT_FAILED USER_IS_BLOCKED
messages.sendInlineBotResult,user,CHAT_SEND_INLINE_FORBIDDEN CHAT_WRITE_FORBIDDEN INLINE_RESULT_EXPIRED PEER_ID_INVALID QUERY_ID_EMPTY WEBPAGE_CURL_FAILED WEBPAGE_MEDIA_EMPTY
messages.sendMedia,both,BOT_POLLS_DISABLED 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 VIDEO_CONTENT_TYPE_INVALID WEBPAGE_CURL_FAILED WEBPAGE_MEDIA_EMPTY
messages.sendMessage,both,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.sendMultiMedia,both,
messages.sendVote,user,
messages.setBotCallbackAnswer,both,QUERY_ID_INVALID URL_INVALID
messages.setBotPrecheckoutResults,both,ERROR_TEXT_EMPTY
messages.setBotShippingResults,both,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 PHOTO_CONTENT_URL_EMPTY PHOTO_THUMB_URL_EMPTY QUERY_ID_INVALID REPLY_MARKUP_INVALID RESULT_TYPE_INVALID SEND_MESSAGE_MEDIA_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.setGameScore,bot,PEER_ID_INVALID USER_BOT_REQUIRED
messages.setInlineBotResults,bot,ARTICLE_TITLE_EMPTY BUTTON_DATA_INVALID BUTTON_TYPE_INVALID BUTTON_URL_INVALID MESSAGE_EMPTY PHOTO_CONTENT_URL_EMPTY PHOTO_THUMB_URL_EMPTY QUERY_ID_INVALID REPLY_MARKUP_INVALID RESULT_TYPE_INVALID SEND_MESSAGE_MEDIA_INVALID SEND_MESSAGE_TYPE_INVALID START_PARAM_INVALID USER_BOT_INVALID
messages.setInlineGameScore,bot,MESSAGE_ID_INVALID USER_BOT_REQUIRED
messages.setTyping,both,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
messages.updatePinnedMessage,both,
messages.uploadEncryptedFile,user,
messages.uploadMedia,both,BOT_MISSING MEDIA_INVALID PEER_ID_INVALID
payments.clearSavedInfo,user,
payments.getPaymentForm,user,MESSAGE_ID_INVALID
payments.getPaymentReceipt,user,MESSAGE_ID_INVALID
payments.getSavedInfo,user,
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.getCallConfig,user,
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.deletePhotos,user,
photos.getUserPhotos,both,MAX_ID_INVALID USER_ID_INVALID
photos.updateProfilePhoto,user,
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
ping,both,
reqDHParams,both,
reqPq,both,
reqPqMulti,both,
rpcDropAnswer,both,
setClientDHParams,both,
stickers.addStickerToSet,both,BOT_MISSING STICKERSET_INVALID
stickers.changeStickerPosition,both,BOT_MISSING STICKER_INVALID
stickers.createStickerSet,both,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,both,BOT_MISSING STICKER_INVALID
updates.getChannelDifference,both,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,both,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,both,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.getCdnFileHashes,both,CDN_METHOD_INVALID RSA_DECRYPT_FAILED
upload.getFile,both,AUTH_KEY_PERM_EMPTY FILE_ID_INVALID INPUT_FETCH_FAIL LIMIT_INVALID LOCATION_INVALID OFFSET_INVALID Timeout
upload.getFileHashes,both,
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
upload.reuploadCdnFile,both,RSA_DECRYPT_FAILED
upload.saveBigFilePart,both,FILE_PARTS_INVALID FILE_PART_EMPTY FILE_PART_INVALID FILE_PART_SIZE_INVALID Timeout
upload.saveFilePart,both,FILE_PART_EMPTY FILE_PART_INVALID INPUT_FETCH_FAIL SESSION_PASSWORD_NEEDED
users.getFullUser,both,Timeout USER_ID_INVALID
users.getUsers,both,AUTH_KEY_PERM_EMPTY MEMBER_NO_LOCATION NEED_MEMBER_INVALID SESSION_PASSWORD_NEEDED Timeout
users.setSecureValueErrors,bot,

1 method usability errors
2 account.acceptAuthorization user
3 account.cancelPasswordEmail user
4 account.changePhone user PHONE_NUMBER_INVALID
5 account.checkUsername user USERNAME_INVALID
6 account.confirmPasswordEmail user
7 account.confirmPhone user CODE_HASH_INVALID PHONE_CODE_EMPTY
8 account.deleteSecureValue user
9 account.finishTakeoutSession user
10 account.getAccountTTL user
11 account.getAllSecureValues user
12 account.getAuthorizationForm user
13 account.getAuthorizations user
14 account.getContactSignUpNotification user
15 account.getNotifyExceptions user
16 account.getNotifySettings user PEER_ID_INVALID
17 account.getPassword user
18 account.getPasswordSettings user PASSWORD_HASH_INVALID
19 account.getPrivacy user PRIVACY_KEY_INVALID
20 account.getSecureValue user
21 account.getTmpPassword user PASSWORD_HASH_INVALID TMP_PASSWORD_DISABLED
22 account.getWallPaper user WALLPAPER_INVALID
23 account.getWallPapers user
24 account.getWebAuthorizations user
25 account.initTakeoutSession user
26 account.installWallPaper user WALLPAPER_INVALID
27 account.registerDevice user TOKEN_INVALID
28 account.reportPeer user PEER_ID_INVALID
29 account.resendPasswordEmail user
30 account.resetAuthorization user HASH_INVALID
31 account.resetNotifySettings user
32 account.resetWallPapers user
33 account.resetWebAuthorization user
34 account.resetWebAuthorizations user
35 account.saveSecureValue user PASSWORD_REQUIRED
36 account.saveWallPaper user WALLPAPER_INVALID
37 account.sendChangePhoneCode user PHONE_NUMBER_INVALID
38 account.sendConfirmPhoneCode user HASH_INVALID
39 account.sendVerifyEmailCode user EMAIL_INVALID
40 account.sendVerifyPhoneCode user
41 account.setAccountTTL user TTL_DAYS_INVALID
42 account.setContactSignUpNotification user
43 account.setPrivacy user PRIVACY_KEY_INVALID
44 account.unregisterDevice user TOKEN_INVALID
45 account.updateDeviceLocked user
46 account.updateNotifySettings user PEER_ID_INVALID
47 account.updatePasswordSettings user EMAIL_UNCONFIRMED_X NEW_SALT_INVALID NEW_SETTINGS_INVALID PASSWORD_HASH_INVALID
48 account.updateProfile user ABOUT_TOO_LONG FIRSTNAME_INVALID
49 account.updateStatus user SESSION_PASSWORD_NEEDED
50 account.updateUsername user USERNAME_INVALID USERNAME_NOT_MODIFIED USERNAME_OCCUPIED
51 auth.bindTempAuthKey account.uploadWallPaper unknown user ENCRYPTED_MESSAGE_INVALID INPUT_REQUEST_TOO_LONG TEMP_AUTH_KEY_EMPTY Timeout WALLPAPER_FILE_INVALID
52 account.verifyEmail user EMAIL_INVALID
53 account.verifyPhone user
54 auth.bindTempAuthKey both ENCRYPTED_MESSAGE_INVALID INPUT_REQUEST_TOO_LONG TEMP_AUTH_KEY_EMPTY Timeout
55 auth.cancelCode user PHONE_NUMBER_INVALID
56 auth.checkPassword user PASSWORD_HASH_INVALID
57 auth.checkPhone auth.dropTempAuthKeys user both PHONE_NUMBER_BANNED PHONE_NUMBER_INVALID
58 auth.exportAuthorization unknown both DC_ID_INVALID
59 auth.importAuthorization unknown both AUTH_BYTES_INVALID USER_ID_INVALID
60 auth.importBotAuthorization unknown both ACCESS_TOKEN_EXPIRED ACCESS_TOKEN_INVALID API_ID_INVALID
61 auth.recoverPassword user CODE_EMPTY
62 auth.requestPasswordRecovery user PASSWORD_EMPTY
63 auth.resendCode user PHONE_NUMBER_INVALID
64 auth.resetAuthorizations user Timeout
65 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
66 auth.signIn user PHONE_CODE_EMPTY PHONE_CODE_EXPIRED PHONE_CODE_INVALID PHONE_NUMBER_INVALID PHONE_NUMBER_UNOCCUPIED SESSION_PASSWORD_NEEDED
67 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
68 bots.answerWebhookJSONQuery unknown bot QUERY_ID_INVALID USER_BOT_INVALID
69 bots.sendCustomRequest unknown bot USER_BOT_INVALID
70 channels.checkUsername user CHANNEL_INVALID CHAT_ID_INVALID USERNAME_INVALID
71 channels.createChannel user CHAT_TITLE_EMPTY USER_RESTRICTED
72 channels.deleteChannel user CHANNEL_INVALID CHANNEL_PRIVATE
73 channels.deleteMessages channels.deleteHistory unknown user CHANNEL_INVALID CHANNEL_PRIVATE MESSAGE_DELETE_FORBIDDEN
74 channels.deleteMessages both CHANNEL_INVALID CHANNEL_PRIVATE MESSAGE_DELETE_FORBIDDEN
75 channels.deleteUserHistory user CHANNEL_INVALID CHAT_ADMIN_REQUIRED
76 channels.editAbout channels.editAdmin unknown both CHANNEL_INVALID CHAT_ABOUT_NOT_MODIFIED CHAT_ABOUT_TOO_LONG CHAT_ADMIN_REQUIRED 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
77 channels.editAdmin channels.editBanned unknown both 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 CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ADMIN_INVALID USER_ID_INVALID
78 channels.editBanned channels.editPhoto unknown both CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ADMIN_INVALID USER_ID_INVALID CHANNEL_INVALID CHAT_ADMIN_REQUIRED PHOTO_INVALID
79 channels.editPhoto channels.editTitle unknown both CHANNEL_INVALID CHAT_ADMIN_REQUIRED PHOTO_INVALID CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_NOT_MODIFIED
channels.editTitle unknown CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_NOT_MODIFIED
channels.exportInvite unknown CHANNEL_INVALID CHAT_ADMIN_REQUIRED INVITE_HASH_EXPIRED
80 channels.exportMessageLink user CHANNEL_INVALID
81 channels.getAdminLog user CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED
82 channels.getChannels channels.getAdminedPublicChannels unknown user CHANNEL_INVALID CHANNEL_PRIVATE NEED_CHAT_INVALID
83 channels.getFullChannel channels.getChannels unknown both CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA Timeout CHANNEL_INVALID CHANNEL_PRIVATE NEED_CHAT_INVALID
84 channels.getMessages channels.getFullChannel unknown both CHANNEL_INVALID CHANNEL_PRIVATE MESSAGE_IDS_EMPTY CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA Timeout
85 channels.getParticipant channels.getLeftChannels unknown user CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ID_INVALID USER_NOT_PARTICIPANT
86 channels.getParticipants channels.getMessages unknown both CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED INPUT_CONSTRUCTOR_INVALID Timeout CHANNEL_INVALID CHANNEL_PRIVATE MESSAGE_IDS_EMPTY
87 channels.getParticipant both CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ID_INVALID USER_NOT_PARTICIPANT
88 channels.getParticipants both CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED INPUT_CONSTRUCTOR_INVALID Timeout
89 channels.inviteToChannel user BOTS_TOO_MUCH BOT_GROUPS_BLOCKED CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED CHAT_INVALID 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
90 channels.joinChannel user CHANNELS_TOO_MUCH CHANNEL_INVALID CHANNEL_PRIVATE
91 channels.leaveChannel unknown both CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA USER_CREATOR USER_NOT_PARTICIPANT
92 channels.readHistory user CHANNEL_INVALID CHANNEL_PRIVATE
93 channels.readMessageContents user CHANNEL_INVALID CHANNEL_PRIVATE
94 channels.reportSpam user CHANNEL_INVALID INPUT_USER_DEACTIVATED
95 channels.setStickers unknown both CHANNEL_INVALID PARTICIPANTS_TOO_FEW
96 channels.toggleInvites channels.togglePreHistoryHidden user CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_NOT_MODIFIED
97 channels.toggleSignatures user CHANNEL_INVALID
channels.updatePinnedMessage unknown CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_ID_INVALID CHAT_NOT_MODIFIED
98 channels.updateUsername user CHANNELS_ADMIN_PUBLIC_TOO_MUCH CHANNEL_INVALID CHAT_ADMIN_REQUIRED USERNAME_INVALID USERNAME_OCCUPIED
99 contacts.block user CONTACT_ID_INVALID
100 contacts.deleteByPhones user
101 contacts.deleteContact user CONTACT_ID_INVALID
102 contacts.deleteContacts user NEED_MEMBER_INVALID Timeout
103 contacts.getSaved contacts.getBlocked unknown user TAKEOUT_REQUIRED
104 contacts.getContactIDs user
105 contacts.getContacts user
106 contacts.getSaved user TAKEOUT_REQUIRED
107 contacts.getStatuses user
108 contacts.getTopPeers user TYPES_EMPTY
109 contacts.importCard contacts.importContacts user EXPORT_CARD_INVALID NEED_MEMBER_INVALID
110 contacts.resetSaved user
111 contacts.resetTopPeerRating user PEER_ID_INVALID
112 contacts.resolveUsername unknown both AUTH_KEY_PERM_EMPTY SESSION_PASSWORD_NEEDED USERNAME_INVALID USERNAME_NOT_OCCUPIED
113 contacts.search user QUERY_TOO_SHORT SEARCH_QUERY_EMPTY Timeout
114 contacts.toggleTopPeers user
115 contacts.unblock user CONTACT_ID_INVALID
116 help.getCdnConfig contest.saveDeveloperInfo unknown both AUTH_KEY_PERM_EMPTY Timeout
117 help.getConfig help.acceptTermsOfService unknown user AUTH_KEY_DUPLICATED Timeout
118 initConnection help.editUserInfo unknown user CONNECTION_LAYER_INVALID INPUT_FETCH_FAIL USER_INVALID
119 invokeWithLayer help.getAppChangelog unknown user 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
120 help.getAppConfig user
121 help.getAppUpdate user
122 help.getCdnConfig both AUTH_KEY_PERM_EMPTY Timeout
123 help.getConfig both AUTH_KEY_DUPLICATED Timeout
124 help.getDeepLinkInfo user
125 help.getInviteText user
126 help.getNearestDc user
127 help.getPassportConfig user
128 help.getProxyData user
129 help.getRecentMeUrls user
130 help.getSupport user
131 help.getSupportName user USER_INVALID
132 help.getTermsOfServiceUpdate user
133 help.getUserInfo user USER_INVALID
134 help.saveAppLog user
135 help.setBotUpdatesStatus both
136 initConnection both CONNECTION_LAYER_INVALID INPUT_FETCH_FAIL
137 invokeAfterMsg both
138 invokeAfterMsgs both
139 invokeWithLayer both 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
140 invokeWithMessagesRange both
141 invokeWithTakeout both
142 invokeWithoutUpdates both
143 langpack.getDifference user LANG_PACK_INVALID
144 langpack.getLangPack user LANG_PACK_INVALID
145 langpack.getLanguage user
146 langpack.getLanguages user LANG_PACK_INVALID
147 langpack.getStrings user LANG_PACK_INVALID
148 messages.acceptEncryption user CHAT_ID_INVALID ENCRYPTION_ALREADY_ACCEPTED ENCRYPTION_ALREADY_DECLINED ENCRYPTION_OCCUPY_FAILED
149 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
150 messages.checkChatInvite user INVITE_HASH_EMPTY INVITE_HASH_EXPIRED INVITE_HASH_INVALID
151 messages.clearAllDrafts user
152 messages.clearRecentStickers user
153 messages.createChat user USERS_TOO_FEW USER_RESTRICTED
154 messages.deleteChatUser unknown both CHAT_ID_INVALID PEER_ID_INVALID USER_NOT_PARTICIPANT
155 messages.deleteHistory user PEER_ID_INVALID
156 messages.deleteMessages unknown both MESSAGE_DELETE_FORBIDDEN
157 messages.discardEncryption user CHAT_ID_EMPTY ENCRYPTION_ALREADY_DECLINED ENCRYPTION_ID_INVALID
158 messages.editChatAbout both
159 messages.editChatAdmin user CHAT_ID_INVALID
160 messages.editChatDefaultBannedRights unknown both BANNED_RIGHTS_INVALID
161 messages.editChatPhoto unknown both CHAT_ID_INVALID INPUT_CONSTRUCTOR_INVALID INPUT_FETCH_FAIL PEER_ID_INVALID PHOTO_EXT_INVALID
162 messages.editChatTitle unknown both CHAT_ID_INVALID NEED_CHAT_INVALID
163 messages.editInlineBotMessage unknown both MESSAGE_ID_INVALID MESSAGE_NOT_MODIFIED
164 messages.editMessage unknown both CHANNEL_INVALID CHANNEL_PRIVATE CHAT_WRITE_FORBIDDEN INPUT_USER_DEACTIVATED MEDIA_NEW_INVALID MEDIA_PREV_INVALID MESSAGE_AUTHOR_REQUIRED MESSAGE_EDIT_TIME_EXPIRED MESSAGE_EMPTY MESSAGE_ID_INVALID MESSAGE_NOT_MODIFIED PEER_ID_INVALID
165 messages.exportChatInvite user CHAT_ID_INVALID
166 messages.faveSticker unknown user STICKER_ID_INVALID
167 messages.forwardMessage messages.forwardMessages unknown both CHAT_ID_INVALID MESSAGE_ID_INVALID PEER_ID_INVALID YOU_BLOCKED_USER 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
168 messages.forwardMessages messages.getAllChats unknown user 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
169 messages.getAllDrafts user
170 messages.getAllStickers user
171 messages.getArchivedStickers user
172 messages.getAttachedStickers user
173 messages.getBotCallbackAnswer user CHANNEL_INVALID DATA_INVALID MESSAGE_ID_INVALID PEER_ID_INVALID Timeout
174 messages.getChats unknown both CHAT_ID_INVALID PEER_ID_INVALID
175 messages.getCommonChats user USER_ID_INVALID
176 messages.getDhConfig user RANDOM_LENGTH_INVALID
177 messages.getDialogUnreadMarks user
178 messages.getDialogs user INPUT_CONSTRUCTOR_INVALID OFFSET_PEER_ID_INVALID SESSION_PASSWORD_NEEDED Timeout
179 messages.getDocumentByHash unknown both SHA256_HASH_INVALID
180 messages.getFullChat messages.getFavedStickers unknown user CHAT_ID_INVALID PEER_ID_INVALID
181 messages.getGameHighScores messages.getFeaturedStickers unknown user PEER_ID_INVALID USER_BOT_REQUIRED
182 messages.getFullChat both CHAT_ID_INVALID PEER_ID_INVALID
183 messages.getGameHighScores bot PEER_ID_INVALID USER_BOT_REQUIRED
184 messages.getHistory user AUTH_KEY_DUPLICATED AUTH_KEY_PERM_EMPTY CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ID_INVALID PEER_ID_INVALID Timeout
185 messages.getInlineBotResults user BOT_INLINE_DISABLED BOT_INVALID CHANNEL_PRIVATE Timeout
186 messages.getInlineGameHighScores unknown bot MESSAGE_ID_INVALID USER_BOT_REQUIRED
187 messages.getMaskStickers user
188 messages.getMessageEditData user MESSAGE_AUTHOR_REQUIRED PEER_ID_INVALID
189 messages.getMessages both
190 messages.getMessagesViews user CHANNEL_PRIVATE CHAT_ID_INVALID PEER_ID_INVALID
191 messages.getOnlines user
192 messages.getPeerDialogs user CHANNEL_PRIVATE PEER_ID_INVALID
193 messages.getPeerSettings user CHANNEL_INVALID PEER_ID_INVALID
194 messages.getStickerSet messages.getPinnedDialogs unknown user STICKERSET_INVALID
195 messages.getPollResults user
196 messages.getRecentLocations user
197 messages.getRecentStickers user
198 messages.getSavedGifs user
199 messages.getSplitRanges user
200 messages.getStatsURL user
201 messages.getStickerSet both STICKERSET_INVALID
202 messages.getStickers user EMOTICON_EMPTY
203 messages.getUnreadMentions user PEER_ID_INVALID
204 messages.getWebPage user WC_CONVERT_URL_INVALID
205 messages.getWebPagePreview user
206 messages.hideReportSpam user PEER_ID_INVALID
207 messages.importChatInvite user CHANNELS_TOO_MUCH INVITE_HASH_EMPTY INVITE_HASH_EXPIRED INVITE_HASH_INVALID SESSION_PASSWORD_NEEDED USERS_TOO_MUCH USER_ALREADY_PARTICIPANT
208 messages.installStickerSet user STICKERSET_INVALID
209 messages.markDialogUnread user
210 messages.migrateChat user CHAT_ADMIN_REQUIRED CHAT_ID_INVALID PEER_ID_INVALID
211 messages.readEncryptedHistory unknown user MSG_WAIT_FAILED
212 messages.readFeaturedStickers user
213 messages.readHistory user PEER_ID_INVALID Timeout
214 messages.receivedQueue messages.readMentions unknown user MSG_WAIT_FAILED
215 messages.readMessageContents user
216 messages.receivedMessages user
217 messages.receivedQueue user MSG_WAIT_FAILED MAX_QTS_INVALID
218 messages.reorderPinnedDialogs user PEER_ID_INVALID
219 messages.reorderStickerSets user
220 messages.report user
221 messages.reportEncryptedSpam user CHAT_ID_INVALID
222 messages.reportSpam user PEER_ID_INVALID
223 messages.requestEncryption user DH_G_A_INVALID USER_ID_INVALID
227 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
228 messages.searchGifs user SEARCH_QUERY_EMPTY
229 messages.searchGlobal user SEARCH_QUERY_EMPTY
230 messages.sendEncrypted messages.searchStickerSets unknown user CHAT_ID_INVALID DATA_INVALID ENCRYPTION_DECLINED MSG_WAIT_FAILED
231 messages.sendEncryptedFile messages.sendEncrypted unknown user MSG_WAIT_FAILED CHAT_ID_INVALID DATA_INVALID ENCRYPTION_DECLINED MSG_WAIT_FAILED
232 messages.sendEncryptedService messages.sendEncryptedFile unknown user DATA_INVALID ENCRYPTION_DECLINED MSG_WAIT_FAILED USER_IS_BLOCKED MSG_WAIT_FAILED
233 messages.sendInlineBotResult messages.sendEncryptedService user CHAT_WRITE_FORBIDDEN INLINE_RESULT_EXPIRED PEER_ID_INVALID QUERY_ID_EMPTY WEBPAGE_CURL_FAILED WEBPAGE_MEDIA_EMPTY DATA_INVALID ENCRYPTION_DECLINED MSG_WAIT_FAILED USER_IS_BLOCKED
234 messages.sendMedia messages.sendInlineBotResult unknown user BOT_POLLS_DISABLED 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 VIDEO_CONTENT_TYPE_INVALID WEBPAGE_CURL_FAILED WEBPAGE_MEDIA_EMPTY CHAT_SEND_INLINE_FORBIDDEN CHAT_WRITE_FORBIDDEN INLINE_RESULT_EXPIRED PEER_ID_INVALID QUERY_ID_EMPTY WEBPAGE_CURL_FAILED WEBPAGE_MEDIA_EMPTY
235 messages.sendMessage messages.sendMedia unknown both 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 BOT_POLLS_DISABLED 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 VIDEO_CONTENT_TYPE_INVALID WEBPAGE_CURL_FAILED WEBPAGE_MEDIA_EMPTY
236 messages.sendScreenshotNotification messages.sendMessage user both PEER_ID_INVALID 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
237 messages.setBotCallbackAnswer messages.sendMultiMedia unknown both QUERY_ID_INVALID URL_INVALID
238 messages.setBotPrecheckoutResults messages.sendVote unknown user ERROR_TEXT_EMPTY
239 messages.setBotShippingResults messages.setBotCallbackAnswer unknown both QUERY_ID_INVALID QUERY_ID_INVALID URL_INVALID
240 messages.setBotPrecheckoutResults both ERROR_TEXT_EMPTY
241 messages.setBotShippingResults both QUERY_ID_INVALID
242 messages.setEncryptedTyping user CHAT_ID_INVALID
243 messages.setGameScore unknown bot PEER_ID_INVALID USER_BOT_REQUIRED
244 messages.setInlineBotResults unknown bot ARTICLE_TITLE_EMPTY BUTTON_DATA_INVALID BUTTON_TYPE_INVALID BUTTON_URL_INVALID MESSAGE_EMPTY PHOTO_CONTENT_URL_EMPTY PHOTO_THUMB_URL_EMPTY QUERY_ID_INVALID REPLY_MARKUP_INVALID RESULT_TYPE_INVALID SEND_MESSAGE_MEDIA_INVALID SEND_MESSAGE_TYPE_INVALID START_PARAM_INVALID USER_BOT_INVALID
245 messages.setInlineGameScore unknown bot MESSAGE_ID_INVALID USER_BOT_REQUIRED
246 messages.setTyping unknown both CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ID_INVALID CHAT_WRITE_FORBIDDEN PEER_ID_INVALID USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT
247 messages.startBot user BOT_INVALID PEER_ID_INVALID START_PARAM_EMPTY START_PARAM_INVALID
messages.toggleChatAdmins user CHAT_ID_INVALID CHAT_NOT_MODIFIED
248 messages.toggleDialogPin user PEER_ID_INVALID
249 messages.uninstallStickerSet user STICKERSET_INVALID
250 messages.uploadMedia messages.updatePinnedMessage unknown both BOT_MISSING MEDIA_INVALID PEER_ID_INVALID
251 messages.uploadEncryptedFile user
252 messages.uploadMedia both BOT_MISSING MEDIA_INVALID PEER_ID_INVALID
253 payments.clearSavedInfo user
254 payments.getPaymentForm user MESSAGE_ID_INVALID
255 payments.getPaymentReceipt user MESSAGE_ID_INVALID
256 payments.getSavedInfo user
257 payments.sendPaymentForm user MESSAGE_ID_INVALID
258 payments.validateRequestedInfo user MESSAGE_ID_INVALID
259 phone.acceptCall user CALL_ALREADY_ACCEPTED CALL_ALREADY_DECLINED CALL_OCCUPY_FAILED CALL_PEER_INVALID CALL_PROTOCOL_FLAGS_INVALID
260 phone.confirmCall user CALL_ALREADY_DECLINED CALL_PEER_INVALID
261 phone.discardCall user CALL_ALREADY_ACCEPTED CALL_PEER_INVALID
262 phone.getCallConfig user
263 phone.receivedCall user CALL_ALREADY_DECLINED CALL_PEER_INVALID
264 phone.requestCall user CALL_PROTOCOL_FLAGS_INVALID PARTICIPANT_CALL_FAILED PARTICIPANT_VERSION_OUTDATED USER_ID_INVALID USER_IS_BLOCKED USER_PRIVACY_RESTRICTED
265 phone.saveCallDebug user CALL_PEER_INVALID DATA_JSON_INVALID
266 phone.setCallRating user CALL_PEER_INVALID
267 photos.getUserPhotos photos.deletePhotos unknown user MAX_ID_INVALID USER_ID_INVALID
268 photos.getUserPhotos both MAX_ID_INVALID USER_ID_INVALID
269 photos.updateProfilePhoto user
270 photos.uploadProfilePhoto user FILE_PARTS_INVALID IMAGE_PROCESS_FAILED PHOTO_CROP_SIZE_SMALL PHOTO_EXT_INVALID
271 stickers.addStickerToSet ping unknown both BOT_MISSING STICKERSET_INVALID
272 stickers.changeStickerPosition reqDHParams unknown both BOT_MISSING STICKER_INVALID
273 stickers.createStickerSet reqPq unknown both 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
274 stickers.removeStickerFromSet reqPqMulti unknown both BOT_MISSING STICKER_INVALID
275 updates.getChannelDifference rpcDropAnswer unknown both CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA HISTORY_GET_FAILED PERSISTENT_TIMESTAMP_EMPTY PERSISTENT_TIMESTAMP_INVALID PERSISTENT_TIMESTAMP_OUTDATED RANGES_INVALID Timeout
276 updates.getDifference setClientDHParams unknown both 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
277 updates.getState stickers.addStickerToSet unknown both AUTH_KEY_DUPLICATED SESSION_PASSWORD_NEEDED Timeout BOT_MISSING STICKERSET_INVALID
278 stickers.changeStickerPosition both BOT_MISSING STICKER_INVALID
279 stickers.createStickerSet both 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
280 stickers.removeStickerFromSet both BOT_MISSING STICKER_INVALID
281 updates.getChannelDifference both CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA HISTORY_GET_FAILED PERSISTENT_TIMESTAMP_EMPTY PERSISTENT_TIMESTAMP_INVALID PERSISTENT_TIMESTAMP_OUTDATED RANGES_INVALID Timeout
282 updates.getDifference both 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
283 updates.getState both AUTH_KEY_DUPLICATED SESSION_PASSWORD_NEEDED Timeout
284 upload.getCdnFile user UNKNOWN_METHOD
285 upload.getCdnFileHashes unknown both CDN_METHOD_INVALID RSA_DECRYPT_FAILED
286 upload.getFile unknown both AUTH_KEY_PERM_EMPTY FILE_ID_INVALID INPUT_FETCH_FAIL LIMIT_INVALID LOCATION_INVALID OFFSET_INVALID Timeout
287 upload.getFileHashes both
288 upload.getWebFile user LOCATION_INVALID
289 upload.reuploadCdnFile unknown both RSA_DECRYPT_FAILED
290 upload.saveBigFilePart unknown both FILE_PARTS_INVALID FILE_PART_EMPTY FILE_PART_INVALID FILE_PART_SIZE_INVALID Timeout
291 upload.saveFilePart unknown both FILE_PART_EMPTY FILE_PART_INVALID INPUT_FETCH_FAIL SESSION_PASSWORD_NEEDED
292 users.getFullUser unknown both Timeout USER_ID_INVALID
293 users.getUsers unknown both AUTH_KEY_PERM_EMPTY MEMBER_NO_LOCATION NEED_MEMBER_INVALID SESSION_PASSWORD_NEEDED Timeout
294 users.setSecureValueErrors bot