Update raw API method usability mapping

This commit is contained in:
Lonami Exo 2020-04-06 17:44:22 +02:00
parent 8ea5fae61b
commit c0e523508b

View File

@ -5,24 +5,31 @@ account.changePhone,user,PHONE_NUMBER_INVALID
account.checkUsername,user,USERNAME_INVALID
account.confirmPasswordEmail,user,
account.confirmPhone,user,CODE_HASH_INVALID PHONE_CODE_EMPTY
account.createTheme,user,
account.deleteSecureValue,user,
account.finishTakeoutSession,user,
account.getAccountTTL,user,
account.getAllSecureValues,user,
account.getAuthorizationForm,user,
account.getAuthorizations,user,
account.getAutoDownloadSettings,user,
account.getContactSignUpNotification,user,
account.getContentSettings,user,
account.getMultiWallPapers,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.getTheme,user,
account.getThemes,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.installTheme,user,
account.installWallPaper,user,WALLPAPER_INVALID
account.registerDevice,user,TOKEN_INVALID
account.reportPeer,user,PEER_ID_INVALID
@ -32,7 +39,9 @@ account.resetNotifySettings,user,
account.resetWallPapers,user,
account.resetWebAuthorization,user,
account.resetWebAuthorizations,user,
account.saveAutoDownloadSettings,user,
account.saveSecureValue,user,PASSWORD_REQUIRED
account.saveTheme,user,
account.saveWallPaper,user,WALLPAPER_INVALID
account.sendChangePhoneCode,user,PHONE_NUMBER_INVALID
account.sendConfirmPhoneCode,user,HASH_INVALID
@ -40,6 +49,7 @@ account.sendVerifyEmailCode,user,EMAIL_INVALID
account.sendVerifyPhoneCode,user,
account.setAccountTTL,user,TTL_DAYS_INVALID
account.setContactSignUpNotification,user,
account.setContentSettings,user,
account.setPrivacy,user,PRIVACY_KEY_INVALID
account.unregisterDevice,user,TOKEN_INVALID
account.updateDeviceLocked,user,
@ -47,17 +57,22 @@ 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.updateTheme,user,
account.updateUsername,user,USERNAME_INVALID USERNAME_NOT_MODIFIED USERNAME_OCCUPIED
account.uploadTheme,user,
account.uploadWallPaper,user,WALLPAPER_FILE_INVALID
account.verifyEmail,user,EMAIL_INVALID
account.verifyPhone,user,
auth.acceptLoginToken,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.dropTempAuthKeys,both,
auth.exportAuthorization,both,DC_ID_INVALID
auth.exportLoginToken,user,
auth.importAuthorization,both,AUTH_BYTES_INVALID USER_ID_INVALID
auth.importBotAuthorization,both,ACCESS_TOKEN_EXPIRED ACCESS_TOKEN_INVALID API_ID_INVALID
auth.importLoginToken,user,
auth.logOut,both,
auth.recoverPassword,user,CODE_EMPTY
auth.requestPasswordRecovery,user,PASSWORD_EMPTY
@ -68,6 +83,7 @@ auth.signIn,user,PHONE_CODE_EMPTY PHONE_CODE_EXPIRED PHONE_CODE_INVALID PHONE_NU
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,bot,QUERY_ID_INVALID USER_BOT_INVALID
bots.sendCustomRequest,bot,USER_BOT_INVALID
bots.setBotCommands,bot,
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
@ -76,6 +92,8 @@ channels.deleteMessages,both,CHANNEL_INVALID CHANNEL_PRIVATE MESSAGE_DELETE_FORB
channels.deleteUserHistory,user,CHANNEL_INVALID CHAT_ADMIN_REQUIRED
channels.editAdmin,both,ADMINS_TOO_MUCH ADMIN_RANK_EMOJI_NOT_ALLOWED ADMIN_RANK_INVALID BOT_CHANNELS_NA CHANNEL_INVALID CHAT_ADMIN_INVITE_REQUIRED CHAT_ADMIN_REQUIRED FRESH_CHANGE_ADMINS_FORBIDDEN 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.editCreator,user,
channels.editLocation,user,
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
@ -83,6 +101,8 @@ channels.getAdminLog,user,CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED
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.getGroupsForDiscussion,user,
channels.getInactiveChannels,user,
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
@ -99,14 +119,15 @@ channels.togglePreHistoryHidden,user,CHAT_LINK_EXISTS
channels.toggleSignatures,user,CHANNEL_INVALID
channels.toggleSlowMode,user,SECONDS_INVALID
channels.updateUsername,user,CHANNELS_ADMIN_PUBLIC_TOO_MUCH CHANNEL_INVALID CHAT_ADMIN_REQUIRED USERNAME_INVALID USERNAME_OCCUPIED
contacts.acceptContact,user,
contacts.addContact,user,CONTACT_NAME_EMPTY
contacts.block,user,CONTACT_ID_INVALID
contacts.deleteByPhones,user,
contacts.deleteContact,user,CONTACT_ID_INVALID
contacts.deleteContacts,user,NEED_MEMBER_INVALID Timeout
contacts.getBlocked,user,
contacts.getContactIDs,user,
contacts.getContacts,user,
contacts.getLocated,user,
contacts.getSaved,user,TAKEOUT_REQUIRED
contacts.getStatuses,user,
contacts.getTopPeers,user,TYPES_EMPTY
@ -117,9 +138,9 @@ contacts.resolveUsername,both,AUTH_KEY_PERM_EMPTY SESSION_PASSWORD_NEEDED USERNA
contacts.search,user,QUERY_TOO_SHORT SEARCH_QUERY_EMPTY Timeout
contacts.toggleTopPeers,user,
contacts.unblock,user,CONTACT_ID_INVALID
contest.saveDeveloperInfo,both,
folders.deleteFolder,user,FOLDER_ID_EMPTY
folders.editPeerFolders,user,FOLDER_ID_INVALID
getFutureSalts,both,
help.acceptTermsOfService,user,
help.editUserInfo,user,USER_INVALID
help.getAppChangelog,user,
@ -152,6 +173,7 @@ 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.acceptUrlAuth,user,
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,
@ -160,6 +182,7 @@ messages.createChat,user,USERS_TOO_FEW USER_RESTRICTED
messages.deleteChatUser,both,CHAT_ID_INVALID PEER_ID_INVALID USER_NOT_PARTICIPANT
messages.deleteHistory,user,PEER_ID_INVALID
messages.deleteMessages,both,MESSAGE_DELETE_FORBIDDEN
messages.deleteScheduledMessages,user,
messages.discardEncryption,user,CHAT_ID_EMPTY ENCRYPTION_ALREADY_DECLINED ENCRYPTION_ID_INVALID
messages.editChatAbout,both,
messages.editChatAdmin,user,CHAT_ID_INVALID
@ -168,7 +191,7 @@ messages.editChatPhoto,both,CHAT_ID_INVALID INPUT_CONSTRUCTOR_INVALID INPUT_FETC
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 INLINE_BOT_REQUIRED 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.exportChatInvite,both,CHAT_ID_INVALID
messages.faveSticker,user,STICKER_ID_INVALID
messages.forwardMessages,both,BROADCAST_PUBLIC_VOTERS_FORBIDDEN 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 SCHEDULE_DATE_TOO_LATE SCHEDULE_TOO_MUCH Timeout USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT YOU_BLOCKED_USER
messages.getAllChats,user,
@ -180,9 +203,14 @@ messages.getBotCallbackAnswer,user,CHANNEL_INVALID DATA_INVALID MESSAGE_ID_INVAL
messages.getChats,both,CHAT_ID_INVALID PEER_ID_INVALID
messages.getCommonChats,user,USER_ID_INVALID
messages.getDhConfig,user,RANDOM_LENGTH_INVALID
messages.getDialogFilters,user,
messages.getDialogUnreadMarks,user,
messages.getDialogs,user,INPUT_CONSTRUCTOR_INVALID OFFSET_PEER_ID_INVALID SESSION_PASSWORD_NEEDED Timeout
messages.getDocumentByHash,both,SHA256_HASH_INVALID
messages.getEmojiKeywords,user,
messages.getEmojiKeywordsDifference,user,
messages.getEmojiKeywordsLanguages,user,
messages.getEmojiURL,user,
messages.getFavedStickers,user,
messages.getFeaturedStickers,user,
messages.getFullChat,both,CHAT_ID_INVALID PEER_ID_INVALID
@ -199,17 +227,22 @@ messages.getPeerDialogs,user,CHANNEL_PRIVATE PEER_ID_INVALID
messages.getPeerSettings,user,CHANNEL_INVALID PEER_ID_INVALID
messages.getPinnedDialogs,user,
messages.getPollResults,user,
messages.getPollVotes,user,
messages.getRecentLocations,user,
messages.getRecentStickers,user,
messages.getSavedGifs,user,
messages.getScheduledHistory,user,
messages.getScheduledMessages,user,
messages.getSearchCounters,user,
messages.getSplitRanges,user,
messages.getStatsURL,user,
messages.getStickerSet,both,STICKERSET_INVALID
messages.getStickers,user,EMOTICON_EMPTY
messages.getSuggestedDialogFilters,user,
messages.getUnreadMentions,user,PEER_ID_INVALID
messages.getWebPage,user,WC_CONVERT_URL_INVALID
messages.getWebPagePreview,user,
messages.hideReportSpam,user,PEER_ID_INVALID
messages.hidePeerSettingsBar,user,
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,
@ -227,6 +260,7 @@ 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
messages.requestUrlAuth,user,
messages.saveDraft,user,PEER_ID_INVALID
messages.saveGif,user,GIF_ID_INVALID
messages.saveRecentSticker,user,STICKER_ID_INVALID
@ -241,7 +275,7 @@ messages.sendInlineBotResult,user,CHAT_SEND_INLINE_FORBIDDEN CHAT_WRITE_FORBIDDE
messages.sendMedia,both,BOT_PAYMENTS_DISABLED BOT_POLLS_DISABLED BROADCAST_PUBLIC_VOTERS_FORBIDDEN CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED CHAT_SEND_MEDIA_FORBIDDEN CHAT_WRITE_FORBIDDEN EXTERNAL_URL_INVALID FILE_PARTS_INVALID FILE_PART_LENGTH_INVALID GAME_BOT_INVALID INPUT_USER_DEACTIVATED MEDIA_CAPTION_TOO_LONG MEDIA_EMPTY PAYMENT_PROVIDER_INVALID PEER_ID_INVALID PHOTO_EXT_INVALID PHOTO_INVALID_DIMENSIONS PHOTO_SAVE_FILE_INVALID POLL_ANSWERS_INVALID POLL_OPTION_DUPLICATE POLL_QUESTION_INVALID QUIZ_CORRECT_ANSWERS_EMPTY QUIZ_CORRECT_ANSWERS_TOO_MUCH QUIZ_CORRECT_ANSWER_INVALID QUIZ_MULTIPLE_INVALID RANDOM_ID_DUPLICATE SCHEDULE_DATE_TOO_LATE SCHEDULE_TOO_MUCH 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 ENTITIES_TOO_LONG ENTITY_MENTION_USER_INVALID INPUT_USER_DEACTIVATED MESSAGE_EMPTY MESSAGE_TOO_LONG MSG_ID_INVALID PEER_ID_INVALID POLL_OPTION_INVALID RANDOM_ID_DUPLICATE REPLY_MARKUP_INVALID REPLY_MARKUP_TOO_LONG SCHEDULE_BOT_NOT_ALLOWED SCHEDULE_DATE_TOO_LATE SCHEDULE_STATUS_PRIVATE SCHEDULE_TOO_MUCH Timeout USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT YOU_BLOCKED_USER
messages.sendMultiMedia,both,SCHEDULE_DATE_TOO_LATE SCHEDULE_TOO_MUCH
messages.sendReaction,User,REACTION_INVALID
messages.sendScheduledMessages,user,
messages.sendVote,user,MESSAGE_POLL_CLOSED OPTION_INVALID
messages.setBotCallbackAnswer,both,QUERY_ID_INVALID URL_INVALID
messages.setBotPrecheckoutResults,both,ERROR_TEXT_EMPTY
@ -253,11 +287,15 @@ 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.toggleDialogPin,user,PEER_ID_INVALID
messages.toggleStickerSets,user,
messages.uninstallStickerSet,user,STICKERSET_INVALID
messages.updateDialogFilter,user,
messages.updateDialogFiltersOrder,user,
messages.updatePinnedMessage,both,
messages.uploadEncryptedFile,user,
messages.uploadMedia,both,BOT_MISSING MEDIA_INVALID PEER_ID_INVALID
payments.clearSavedInfo,user,
payments.getBankCardData,user,
payments.getPaymentForm,user,MESSAGE_ID_INVALID
payments.getPaymentReceipt,user,MESSAGE_ID_INVALID
payments.getSavedInfo,user,
@ -281,10 +319,13 @@ reqPq,both,
reqPqMulti,both,
rpcDropAnswer,both,
setClientDHParams,both,
stats.getBroadcastStats,user,
stats.loadAsyncGraph,user,
stickers.addStickerToSet,bot,BOT_MISSING STICKERSET_INVALID
stickers.changeStickerPosition,bot,BOT_MISSING STICKER_INVALID
stickers.createStickerSet,bot,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 STICKER_PNG_NOPNG USER_ID_INVALID
stickers.removeStickerFromSet,bot,BOT_MISSING STICKER_INVALID
stickers.setStickerSetThumb,bot,
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 MSGID_DECREASE_RETRY SESSION_PASSWORD_NEEDED Timeout

1 method usability errors
5 account.checkUsername user USERNAME_INVALID
6 account.confirmPasswordEmail user
7 account.confirmPhone user CODE_HASH_INVALID PHONE_CODE_EMPTY
8 account.createTheme user
9 account.deleteSecureValue user
10 account.finishTakeoutSession user
11 account.getAccountTTL user
12 account.getAllSecureValues user
13 account.getAuthorizationForm user
14 account.getAuthorizations user
15 account.getAutoDownloadSettings user
16 account.getContactSignUpNotification user
17 account.getContentSettings user
18 account.getMultiWallPapers user
19 account.getNotifyExceptions user
20 account.getNotifySettings user PEER_ID_INVALID
21 account.getPassword user
22 account.getPasswordSettings user PASSWORD_HASH_INVALID
23 account.getPrivacy user PRIVACY_KEY_INVALID
24 account.getSecureValue user
25 account.getTheme user
26 account.getThemes user
27 account.getTmpPassword user PASSWORD_HASH_INVALID TMP_PASSWORD_DISABLED
28 account.getWallPaper user WALLPAPER_INVALID
29 account.getWallPapers user
30 account.getWebAuthorizations user
31 account.initTakeoutSession user
32 account.installTheme user
33 account.installWallPaper user WALLPAPER_INVALID
34 account.registerDevice user TOKEN_INVALID
35 account.reportPeer user PEER_ID_INVALID
39 account.resetWallPapers user
40 account.resetWebAuthorization user
41 account.resetWebAuthorizations user
42 account.saveAutoDownloadSettings user
43 account.saveSecureValue user PASSWORD_REQUIRED
44 account.saveTheme user
45 account.saveWallPaper user WALLPAPER_INVALID
46 account.sendChangePhoneCode user PHONE_NUMBER_INVALID
47 account.sendConfirmPhoneCode user HASH_INVALID
49 account.sendVerifyPhoneCode user
50 account.setAccountTTL user TTL_DAYS_INVALID
51 account.setContactSignUpNotification user
52 account.setContentSettings user
53 account.setPrivacy user PRIVACY_KEY_INVALID
54 account.unregisterDevice user TOKEN_INVALID
55 account.updateDeviceLocked user
57 account.updatePasswordSettings user EMAIL_UNCONFIRMED_X NEW_SALT_INVALID NEW_SETTINGS_INVALID PASSWORD_HASH_INVALID
58 account.updateProfile user ABOUT_TOO_LONG FIRSTNAME_INVALID
59 account.updateStatus user SESSION_PASSWORD_NEEDED
60 account.updateTheme user
61 account.updateUsername user USERNAME_INVALID USERNAME_NOT_MODIFIED USERNAME_OCCUPIED
62 account.uploadTheme user
63 account.uploadWallPaper user WALLPAPER_FILE_INVALID
64 account.verifyEmail user EMAIL_INVALID
65 account.verifyPhone user
66 auth.acceptLoginToken user
67 auth.bindTempAuthKey both ENCRYPTED_MESSAGE_INVALID INPUT_REQUEST_TOO_LONG TEMP_AUTH_KEY_EMPTY Timeout
68 auth.cancelCode user PHONE_NUMBER_INVALID
69 auth.checkPassword user PASSWORD_HASH_INVALID
70 auth.dropTempAuthKeys both
71 auth.exportAuthorization both DC_ID_INVALID
72 auth.exportLoginToken user
73 auth.importAuthorization both AUTH_BYTES_INVALID USER_ID_INVALID
74 auth.importBotAuthorization both ACCESS_TOKEN_EXPIRED ACCESS_TOKEN_INVALID API_ID_INVALID
75 auth.importLoginToken user
76 auth.logOut both
77 auth.recoverPassword user CODE_EMPTY
78 auth.requestPasswordRecovery user PASSWORD_EMPTY
83 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
84 bots.answerWebhookJSONQuery bot QUERY_ID_INVALID USER_BOT_INVALID
85 bots.sendCustomRequest bot USER_BOT_INVALID
86 bots.setBotCommands bot
87 channels.checkUsername user CHANNEL_INVALID CHAT_ID_INVALID USERNAME_INVALID
88 channels.createChannel user CHAT_TITLE_EMPTY USER_RESTRICTED
89 channels.deleteChannel user CHANNEL_INVALID CHANNEL_PRIVATE
92 channels.deleteUserHistory user CHANNEL_INVALID CHAT_ADMIN_REQUIRED
93 channels.editAdmin both ADMINS_TOO_MUCH ADMIN_RANK_EMOJI_NOT_ALLOWED ADMIN_RANK_INVALID BOT_CHANNELS_NA CHANNEL_INVALID CHAT_ADMIN_INVITE_REQUIRED CHAT_ADMIN_REQUIRED FRESH_CHANGE_ADMINS_FORBIDDEN RIGHT_FORBIDDEN USER_CREATOR USER_ID_INVALID USER_NOT_MUTUAL_CONTACT USER_PRIVACY_RESTRICTED
94 channels.editBanned both CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ADMIN_INVALID USER_ID_INVALID
95 channels.editCreator user
96 channels.editLocation user
97 channels.editPhoto both CHANNEL_INVALID CHAT_ADMIN_REQUIRED PHOTO_INVALID
98 channels.editTitle both CHANNEL_INVALID CHAT_ADMIN_REQUIRED CHAT_NOT_MODIFIED
99 channels.exportMessageLink user CHANNEL_INVALID
101 channels.getAdminedPublicChannels user
102 channels.getChannels both CHANNEL_INVALID CHANNEL_PRIVATE NEED_CHAT_INVALID
103 channels.getFullChannel both CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA Timeout
104 channels.getGroupsForDiscussion user
105 channels.getInactiveChannels user
106 channels.getLeftChannels user
107 channels.getMessages both CHANNEL_INVALID CHANNEL_PRIVATE MESSAGE_IDS_EMPTY
108 channels.getParticipant both CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED USER_ID_INVALID USER_NOT_PARTICIPANT
119 channels.toggleSignatures user CHANNEL_INVALID
120 channels.toggleSlowMode user SECONDS_INVALID
121 channels.updateUsername user CHANNELS_ADMIN_PUBLIC_TOO_MUCH CHANNEL_INVALID CHAT_ADMIN_REQUIRED USERNAME_INVALID USERNAME_OCCUPIED
122 contacts.acceptContact user
123 contacts.addContact user CONTACT_NAME_EMPTY
124 contacts.block user CONTACT_ID_INVALID
125 contacts.deleteByPhones user
contacts.deleteContact user CONTACT_ID_INVALID
126 contacts.deleteContacts user NEED_MEMBER_INVALID Timeout
127 contacts.getBlocked user
128 contacts.getContactIDs user
129 contacts.getContacts user
130 contacts.getLocated user
131 contacts.getSaved user TAKEOUT_REQUIRED
132 contacts.getStatuses user
133 contacts.getTopPeers user TYPES_EMPTY
138 contacts.search user QUERY_TOO_SHORT SEARCH_QUERY_EMPTY Timeout
139 contacts.toggleTopPeers user
140 contacts.unblock user CONTACT_ID_INVALID
contest.saveDeveloperInfo both
141 folders.deleteFolder user FOLDER_ID_EMPTY
142 folders.editPeerFolders user FOLDER_ID_INVALID
143 getFutureSalts both
144 help.acceptTermsOfService user
145 help.editUserInfo user USER_INVALID
146 help.getAppChangelog user
173 langpack.getLanguages user LANG_PACK_INVALID
174 langpack.getStrings user LANG_PACK_INVALID
175 messages.acceptEncryption user CHAT_ID_INVALID ENCRYPTION_ALREADY_ACCEPTED ENCRYPTION_ALREADY_DECLINED ENCRYPTION_OCCUPY_FAILED
176 messages.acceptUrlAuth user
177 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
178 messages.checkChatInvite user INVITE_HASH_EMPTY INVITE_HASH_EXPIRED INVITE_HASH_INVALID
179 messages.clearAllDrafts user
182 messages.deleteChatUser both CHAT_ID_INVALID PEER_ID_INVALID USER_NOT_PARTICIPANT
183 messages.deleteHistory user PEER_ID_INVALID
184 messages.deleteMessages both MESSAGE_DELETE_FORBIDDEN
185 messages.deleteScheduledMessages user
186 messages.discardEncryption user CHAT_ID_EMPTY ENCRYPTION_ALREADY_DECLINED ENCRYPTION_ID_INVALID
187 messages.editChatAbout both
188 messages.editChatAdmin user CHAT_ID_INVALID
191 messages.editChatTitle both CHAT_ID_INVALID NEED_CHAT_INVALID
192 messages.editInlineBotMessage both MESSAGE_ID_INVALID MESSAGE_NOT_MODIFIED
193 messages.editMessage both CHANNEL_INVALID CHANNEL_PRIVATE CHAT_WRITE_FORBIDDEN INLINE_BOT_REQUIRED 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
194 messages.exportChatInvite user both CHAT_ID_INVALID
195 messages.faveSticker user STICKER_ID_INVALID
196 messages.forwardMessages both BROADCAST_PUBLIC_VOTERS_FORBIDDEN 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 SCHEDULE_DATE_TOO_LATE SCHEDULE_TOO_MUCH Timeout USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT YOU_BLOCKED_USER
197 messages.getAllChats user
203 messages.getChats both CHAT_ID_INVALID PEER_ID_INVALID
204 messages.getCommonChats user USER_ID_INVALID
205 messages.getDhConfig user RANDOM_LENGTH_INVALID
206 messages.getDialogFilters user
207 messages.getDialogUnreadMarks user
208 messages.getDialogs user INPUT_CONSTRUCTOR_INVALID OFFSET_PEER_ID_INVALID SESSION_PASSWORD_NEEDED Timeout
209 messages.getDocumentByHash both SHA256_HASH_INVALID
210 messages.getEmojiKeywords user
211 messages.getEmojiKeywordsDifference user
212 messages.getEmojiKeywordsLanguages user
213 messages.getEmojiURL user
214 messages.getFavedStickers user
215 messages.getFeaturedStickers user
216 messages.getFullChat both CHAT_ID_INVALID PEER_ID_INVALID
227 messages.getPeerSettings user CHANNEL_INVALID PEER_ID_INVALID
228 messages.getPinnedDialogs user
229 messages.getPollResults user
230 messages.getPollVotes user
231 messages.getRecentLocations user
232 messages.getRecentStickers user
233 messages.getSavedGifs user
234 messages.getScheduledHistory user
235 messages.getScheduledMessages user
236 messages.getSearchCounters user
237 messages.getSplitRanges user
238 messages.getStatsURL user
239 messages.getStickerSet both STICKERSET_INVALID
240 messages.getStickers user EMOTICON_EMPTY
241 messages.getSuggestedDialogFilters user
242 messages.getUnreadMentions user PEER_ID_INVALID
243 messages.getWebPage user WC_CONVERT_URL_INVALID
244 messages.getWebPagePreview user
245 messages.hideReportSpam messages.hidePeerSettingsBar user PEER_ID_INVALID
246 messages.importChatInvite user CHANNELS_TOO_MUCH INVITE_HASH_EMPTY INVITE_HASH_EXPIRED INVITE_HASH_INVALID SESSION_PASSWORD_NEEDED USERS_TOO_MUCH USER_ALREADY_PARTICIPANT
247 messages.installStickerSet user STICKERSET_INVALID
248 messages.markDialogUnread user
260 messages.reportEncryptedSpam user CHAT_ID_INVALID
261 messages.reportSpam user PEER_ID_INVALID
262 messages.requestEncryption user DH_G_A_INVALID USER_ID_INVALID
263 messages.requestUrlAuth user
264 messages.saveDraft user PEER_ID_INVALID
265 messages.saveGif user GIF_ID_INVALID
266 messages.saveRecentSticker user STICKER_ID_INVALID
275 messages.sendMedia both BOT_PAYMENTS_DISABLED BOT_POLLS_DISABLED BROADCAST_PUBLIC_VOTERS_FORBIDDEN CHANNEL_INVALID CHANNEL_PRIVATE CHAT_ADMIN_REQUIRED CHAT_SEND_MEDIA_FORBIDDEN CHAT_WRITE_FORBIDDEN EXTERNAL_URL_INVALID FILE_PARTS_INVALID FILE_PART_LENGTH_INVALID GAME_BOT_INVALID INPUT_USER_DEACTIVATED MEDIA_CAPTION_TOO_LONG MEDIA_EMPTY PAYMENT_PROVIDER_INVALID PEER_ID_INVALID PHOTO_EXT_INVALID PHOTO_INVALID_DIMENSIONS PHOTO_SAVE_FILE_INVALID POLL_ANSWERS_INVALID POLL_OPTION_DUPLICATE POLL_QUESTION_INVALID QUIZ_CORRECT_ANSWERS_EMPTY QUIZ_CORRECT_ANSWERS_TOO_MUCH QUIZ_CORRECT_ANSWER_INVALID QUIZ_MULTIPLE_INVALID RANDOM_ID_DUPLICATE SCHEDULE_DATE_TOO_LATE SCHEDULE_TOO_MUCH STORAGE_CHECK_FAILED Timeout USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT VIDEO_CONTENT_TYPE_INVALID WEBPAGE_CURL_FAILED WEBPAGE_MEDIA_EMPTY
276 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 ENTITIES_TOO_LONG ENTITY_MENTION_USER_INVALID INPUT_USER_DEACTIVATED MESSAGE_EMPTY MESSAGE_TOO_LONG MSG_ID_INVALID PEER_ID_INVALID POLL_OPTION_INVALID RANDOM_ID_DUPLICATE REPLY_MARKUP_INVALID REPLY_MARKUP_TOO_LONG SCHEDULE_BOT_NOT_ALLOWED SCHEDULE_DATE_TOO_LATE SCHEDULE_STATUS_PRIVATE SCHEDULE_TOO_MUCH Timeout USER_BANNED_IN_CHANNEL USER_IS_BLOCKED USER_IS_BOT YOU_BLOCKED_USER
277 messages.sendMultiMedia both SCHEDULE_DATE_TOO_LATE SCHEDULE_TOO_MUCH
278 messages.sendReaction messages.sendScheduledMessages User user REACTION_INVALID
279 messages.sendVote user MESSAGE_POLL_CLOSED OPTION_INVALID
280 messages.setBotCallbackAnswer both QUERY_ID_INVALID URL_INVALID
281 messages.setBotPrecheckoutResults both ERROR_TEXT_EMPTY
287 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
288 messages.startBot user BOT_INVALID PEER_ID_INVALID START_PARAM_EMPTY START_PARAM_INVALID
289 messages.toggleDialogPin user PEER_ID_INVALID
290 messages.toggleStickerSets user
291 messages.uninstallStickerSet user STICKERSET_INVALID
292 messages.updateDialogFilter user
293 messages.updateDialogFiltersOrder user
294 messages.updatePinnedMessage both
295 messages.uploadEncryptedFile user
296 messages.uploadMedia both BOT_MISSING MEDIA_INVALID PEER_ID_INVALID
297 payments.clearSavedInfo user
298 payments.getBankCardData user
299 payments.getPaymentForm user MESSAGE_ID_INVALID
300 payments.getPaymentReceipt user MESSAGE_ID_INVALID
301 payments.getSavedInfo user
319 reqPqMulti both
320 rpcDropAnswer both
321 setClientDHParams both
322 stats.getBroadcastStats user
323 stats.loadAsyncGraph user
324 stickers.addStickerToSet bot BOT_MISSING STICKERSET_INVALID
325 stickers.changeStickerPosition bot BOT_MISSING STICKER_INVALID
326 stickers.createStickerSet bot 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 STICKER_PNG_NOPNG USER_ID_INVALID
327 stickers.removeStickerFromSet bot BOT_MISSING STICKER_INVALID
328 stickers.setStickerSetThumb bot
329 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
330 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
331 updates.getState both AUTH_KEY_DUPLICATED MSGID_DECREASE_RETRY SESSION_PASSWORD_NEEDED Timeout