1
0
mirror of https://github.com/danog/rpc-db.git synced 2024-11-26 20:14:40 +01:00
rpc-db/vdiff.json
Github Actions 66bfe31135 Cleanup
2022-02-23 20:21:34 +01:00

2660 lines
108 KiB
JSON

{
"ok": true,
"result": {
"420": {
"2FA_CONFIRM_WAIT_%d": [
"account.deleteAccount"
],
"SLOWMODE_WAIT_%d": [
"messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.sendMultiMedia"
],
"TAKEOUT_INIT_DELAY_%d": [
"account.initTakeoutSession"
]
},
"400": {
"ABOUT_TOO_LONG": [
"account.updateProfile"
],
"ACCESS_TOKEN_EXPIRED": [
"auth.importBotAuthorization"
],
"ACCESS_TOKEN_INVALID": [
"auth.importBotAuthorization"
],
"ADMIN_ID_INVALID": [
"messages.getExportedChatInvites"
],
"ADMIN_RANK_EMOJI_NOT_ALLOWED": [
"channels.editAdmin"
],
"ADMIN_RANK_INVALID": [
"channels.editAdmin"
],
"ADMINS_TOO_MUCH": [
"channels.editAdmin"
],
"ALBUM_PHOTOS_TOO_MANY": [
"photos.updateProfilePhoto",
"photos.uploadProfilePhoto"
],
"API_ID_INVALID": [
"auth.exportLoginToken",
"auth.importBotAuthorization",
"auth.sendCode"
],
"API_ID_PUBLISHED_FLOOD": [
"auth.importBotAuthorization",
"auth.sendCode"
],
"ARTICLE_TITLE_EMPTY": [
"messages.setInlineBotResults"
],
"AUDIO_CONTENT_URL_EMPTY": [
"messages.setInlineBotResults"
],
"AUDIO_TITLE_EMPTY": [
"messages.setInlineBotResults"
],
"AUTH_BYTES_INVALID": [
"auth.importAuthorization",
"invokeWithLayer"
],
"AUTH_TOKEN_ALREADY_ACCEPTED": [
"auth.importLoginToken"
],
"AUTH_TOKEN_EXPIRED": [
"auth.acceptLoginToken",
"auth.importLoginToken"
],
"AUTH_TOKEN_INVALID": [
"auth.importLoginToken"
],
"AUTH_TOKEN_INVALIDX": [
"auth.acceptLoginToken",
"auth.importLoginToken"
],
"AUTOARCHIVE_NOT_AVAILABLE": [
"account.setGlobalPrivacySettings"
],
"BANK_CARD_NUMBER_INVALID": [
"payments.getBankCardData"
],
"BANNED_RIGHTS_INVALID": [
"messages.editChatDefaultBannedRights"
],
"BOT_CHANNELS_NA": [
"channels.editAdmin"
],
"BOT_COMMAND_DESCRIPTION_INVALID": [
"bots.setBotCommands"
],
"BOT_COMMAND_INVALID": [
"bots.setBotCommands"
],
"BOT_DOMAIN_INVALID": [
"messages.sendMessage"
],
"BOT_GROUPS_BLOCKED": [
"channels.editAdmin",
"channels.inviteToChannel"
],
"BOT_INLINE_DISABLED": [
"messages.getInlineBotResults"
],
"BOT_INVALID": [
"messages.getInlineBotResults",
"messages.sendMessage",
"messages.startBot"
],
"BOT_MISSING": [
"messages.uploadMedia",
"stickers.addStickerToSet",
"stickers.changeStickerPosition",
"stickers.createStickerSet",
"stickers.removeStickerFromSet"
],
"BOT_ONESIDE_NOT_AVAIL": [
"messages.updatePinnedMessage"
],
"BOT_PAYMENTS_DISABLED": [
"messages.sendMedia"
],
"BOT_POLLS_DISABLED": [
"messages.sendMedia"
],
"BOT_RESPONSE_TIMEOUT": [
"messages.getBotCallbackAnswer",
"messages.getInlineBotResults"
],
"BOT_SCORE_NOT_MODIFIED": [
"messages.setGameScore"
],
"BOTS_TOO_MUCH": [
"channels.editAdmin",
"channels.inviteToChannel"
],
"BROADCAST_ID_INVALID": [
"channels.setDiscussionGroup"
],
"BROADCAST_PUBLIC_VOTERS_FORBIDDEN": [
"messages.forwardMessages",
"messages.sendMedia"
],
"BROADCAST_REQUIRED": [
"stats.getBroadcastStats"
],
"BUTTON_DATA_INVALID": [
"messages.editMessage",
"messages.sendMedia",
"messages.sendMessage",
"messages.setInlineBotResults"
],
"BUTTON_TYPE_INVALID": [
"messages.editMessage",
"messages.sendMedia",
"messages.sendMessage",
"messages.setInlineBotResults"
],
"BUTTON_URL_INVALID": [
"messages.editMessage",
"messages.sendMedia",
"messages.sendMessage",
"messages.setInlineBotResults"
],
"CALL_ALREADY_ACCEPTED": [
"phone.acceptCall",
"phone.discardCall"
],
"CALL_ALREADY_DECLINED": [
"phone.acceptCall",
"phone.confirmCall",
"phone.receivedCall"
],
"CALL_PEER_INVALID": [
"phone.acceptCall",
"phone.confirmCall",
"phone.discardCall",
"phone.receivedCall",
"phone.saveCallDebug",
"phone.setCallRating"
],
"CALL_PROTOCOL_FLAGS_INVALID": [
"phone.acceptCall",
"phone.requestCall"
],
"CDN_METHOD_INVALID": [
"invokeWithLayer",
"updates.getDifference",
"upload.getCdnFileHashes"
],
"CHANNEL_INVALID": [
"account.updateNotifySettings",
"channels.checkUsername",
"channels.deleteChannel",
"channels.deleteHistory",
"channels.deleteMessages",
"channels.deleteUserHistory",
"channels.editAbout",
"channels.editAdmin",
"channels.editBanned",
"channels.editPhoto",
"channels.editTitle",
"channels.exportInvite",
"channels.exportMessageLink",
"channels.getAdminLog",
"channels.getChannels",
"channels.getFullChannel",
"channels.getMessages",
"channels.getParticipant",
"channels.getParticipants",
"channels.inviteToChannel",
"channels.joinChannel",
"channels.leaveChannel",
"channels.readHistory",
"channels.readMessageContents",
"channels.reportSpam",
"channels.setDiscussionGroup",
"channels.setStickers",
"channels.toggleInvites",
"channels.togglePreHistoryHidden",
"channels.toggleSignatures",
"channels.updatePinnedMessage",
"channels.updateUsername",
"channels.viewSponsoredMessage",
"messages.editChatAbout",
"messages.editMessage",
"messages.forwardMessages",
"messages.getBotCallbackAnswer",
"messages.getHistory",
"messages.getInlineBotResults",
"messages.getMessagesViews",
"messages.getPeerDialogs",
"messages.getPeerSettings",
"messages.getUnreadMentions",
"messages.importChatInvite",
"messages.readMentions",
"messages.search",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.sendVote",
"messages.setTyping",
"msg_container",
"msgs_state_req",
"stats.getBroadcastStats",
"stats.getMegagroupStats",
"stats.getMessagePublicForwards",
"stats.getMessageStats",
"updates.getChannelDifference",
"updates.getDifference",
"upload.getFile",
"users.getUsers"
],
"CHANNEL_PRIVATE": [
"account.reportPeer",
"account.updateNotifySettings",
"channels.deleteChannel",
"channels.deleteHistory",
"channels.deleteMessages",
"channels.deleteUserHistory",
"channels.editAdmin",
"channels.editBanned",
"channels.editCreator",
"channels.editPhoto",
"channels.editTitle",
"channels.exportMessageLink",
"channels.getAdminLog",
"channels.getChannels",
"channels.getFullChannel",
"channels.getMessages",
"channels.getParticipant",
"channels.getParticipants",
"channels.inviteToChannel",
"channels.joinChannel",
"channels.leaveChannel",
"channels.readHistory",
"channels.readMessageContents",
"channels.togglePreHistoryHidden",
"channels.updateUsername",
"contacts.addContact",
"contacts.unblock",
"messages.deleteHistory",
"messages.editChatAbout",
"messages.editMessage",
"messages.exportChatInvite",
"messages.forwardMessages",
"messages.getBotCallbackAnswer",
"messages.getChatInviteImporters",
"messages.getHistory",
"messages.getInlineBotResults",
"messages.getMessagesViews",
"messages.getOnlines",
"messages.getPeerDialogs",
"messages.getUnreadMentions",
"messages.importChatInvite",
"messages.readHistory",
"messages.readMentions",
"messages.report",
"messages.reportSpam",
"messages.search",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.sendMultiMedia",
"messages.sendReaction",
"messages.sendVote",
"messages.setTyping",
"messages.toggleDialogPin",
"messages.updatePinnedMessage",
"messages.uploadMedia",
"stats.getBroadcastStats",
"updates.getChannelDifference",
"upload.getFile",
"users.getFullUser",
"users.getUsers"
],
"CHANNEL_TOO_LARGE": [
"channels.deleteChannel"
],
"CHANNELS_ADMIN_LOCATED_TOO_MUCH": [
"channels.createChannel",
"channels.getAdminedPublicChannels"
],
"CHANNELS_ADMIN_PUBLIC_TOO_MUCH": [
"channels.checkUsername",
"channels.getAdminedPublicChannels",
"channels.updateUsername"
],
"CHANNELS_TOO_MUCH": [
"channels.createChannel",
"channels.joinChannel",
"messages.importChatInvite",
"messages.migrateChat"
],
"CHAT_ABOUT_NOT_MODIFIED": [
"channels.editAbout",
"messages.editChatAbout"
],
"CHAT_ABOUT_TOO_LONG": [
"channels.createChannel",
"channels.editAbout",
"messages.editChatAbout"
],
"CHAT_ADMIN_REQUIRED": [
"channels.convertToGigagroup",
"channels.deleteChannel",
"channels.deleteParticipantHistory",
"channels.deleteUserHistory",
"channels.editAbout",
"channels.editAdmin",
"channels.editBanned",
"channels.editCreator",
"channels.editPhoto",
"channels.editTitle",
"channels.exportInvite",
"channels.getAdminLog",
"channels.getParticipant",
"channels.getParticipants",
"channels.inviteToChannel",
"channels.reportSpam",
"channels.setDiscussionGroup",
"channels.toggleInvites",
"channels.togglePreHistoryHidden",
"channels.toggleSignatures",
"channels.toggleSlowMode",
"channels.updatePinnedMessage",
"channels.updateUsername",
"messages.addChatUser",
"messages.deleteChat",
"messages.deleteChatUser",
"messages.editChatAbout",
"messages.editChatDefaultBannedRights",
"messages.editMessage",
"messages.exportChatInvite",
"messages.forwardMessages",
"messages.getAdminsWithInvites",
"messages.getChatInviteImporters",
"messages.getExportedChatInvite",
"messages.getExportedChatInvites",
"messages.getMessageEditData",
"messages.getScheduledHistory",
"messages.getScheduledMessages",
"messages.migrateChat",
"messages.search",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.sendMultiMedia",
"messages.setTyping",
"messages.startBot",
"messages.updatePinnedMessage",
"messages.uploadMedia",
"phone.createGroupCall",
"stats.getBroadcastStats",
"stats.getMegagroupStats",
"stats.getMessagePublicForwards",
"stats.getMessageStats"
],
"CHAT_FORWARDS_RESTRICTED": [
"messages.forwardMessages",
"messages.sendMedia"
],
"CHAT_ID_EMPTY": [
"messages.discardEncryption"
],
"CHAT_ID_INVALID": [
"channels.checkUsername",
"channels.togglePreHistoryHidden",
"channels.toggleSignatures",
"channels.updatePinnedMessage",
"folders.editPeerFolders",
"messages.acceptEncryption",
"messages.addChatUser",
"messages.deleteChat",
"messages.deleteChatUser",
"messages.deleteHistory",
"messages.editChatAbout",
"messages.editChatAdmin",
"messages.editChatPhoto",
"messages.editChatTitle",
"messages.exportChatInvite",
"messages.forwardMessage",
"messages.forwardMessages",
"messages.getChats",
"messages.getFullChat",
"messages.getHistory",
"messages.getMessagesViews",
"messages.getOnlines",
"messages.migrateChat",
"messages.readHistory",
"messages.reportEncryptedSpam",
"messages.sendEncrypted",
"messages.sendMessage",
"messages.setEncryptedTyping",
"messages.setTyping",
"messages.toggleChatAdmins"
],
"CHAT_INVALID": [
"channels.inviteToChannel",
"channels.joinChannel",
"messages.createChat",
"messages.importChatInvite"
],
"CHAT_LINK_EXISTS": [
"channels.togglePreHistoryHidden"
],
"CHAT_NOT_MODIFIED": [
"channels.deleteChannel",
"channels.editPhoto",
"channels.editTitle",
"channels.getFullChannel",
"channels.toggleInvites",
"channels.togglePreHistoryHidden",
"channels.toggleSlowMode",
"channels.updatePinnedMessage",
"channels.updateUsername",
"messages.editChatAbout",
"messages.editChatDefaultBannedRights",
"messages.editChatPhoto",
"messages.editChatTitle",
"messages.setHistoryTTL",
"messages.toggleChatAdmins",
"messages.updatePinnedMessage"
],
"CHAT_RESTRICTED": [
"messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.uploadMedia"
],
"CHAT_SEND_INLINE_FORBIDDEN": [
"messages.sendInlineBotResult"
],
"CHAT_TITLE_EMPTY": [
"channels.createChannel",
"channels.editTitle",
"messages.createChat",
"messages.editChatTitle"
],
"CHAT_TOO_BIG": [
"messages.getMessageReadParticipants",
"messages.getMessagesReadParticipants"
],
"CODE_EMPTY": [
"auth.recoverPassword"
],
"CODE_HASH_INVALID": [
"account.confirmPhone"
],
"CODE_INVALID": [
"account.confirmPasswordEmail"
],
"CONNECTION_API_ID_INVALID": [
"help.getConfig",
"invokeWithLayer"
],
"CONNECTION_APP_VERSION_EMPTY": [
"help.getConfig"
],
"CONNECTION_LAYER_INVALID": [
"contacts.resolveUsername",
"help.getConfig",
"initConnection"
],
"CONTACT_ADD_MISSING": [
"contacts.acceptContact"
],
"CONTACT_ID_INVALID": [
"contacts.acceptContact",
"contacts.addContact",
"contacts.block",
"contacts.deleteContact",
"contacts.unblock"
],
"CONTACT_NAME_EMPTY": [
"contacts.addContact"
],
"CONTACT_REQ_MISSING": [
"contacts.acceptContact"
],
"CURRENCY_TOTAL_AMOUNT_INVALID": [
"messages.sendMedia"
],
"DATA_INVALID": [
"help.getConfig",
"messages.getBotCallbackAnswer",
"messages.sendEncrypted",
"messages.sendEncryptedService"
],
"DATA_JSON_INVALID": [
"phone.saveCallDebug"
],
"DATA_TOO_LONG": [
"messages.sendEncrypted",
"messages.sendEncryptedFile"
],
"DATE_EMPTY": [
"updates.getDifference"
],
"DC_ID_INVALID": [
"auth.exportAuthorization"
],
"DH_G_A_INVALID": [
"messages.requestEncryption"
],
"DOCUMENT_INVALID": [
"messages.setInlineBotResults"
],
"EMAIL_HASH_EXPIRED": [
"account.confirmPasswordEmail"
],
"EMAIL_INVALID": [
"account.sendVerifyEmailCode",
"account.verifyEmail"
],
"EMAIL_UNCONFIRMED": [
"account.updatePasswordSettings"
],
"EMAIL_UNCONFIRMED_%d": [
"account.updatePasswordSettings"
],
"EMAIL_VERIFY_EXPIRED": [
"account.verifyEmail"
],
"EMOJI_INVALID": [
"messages.setChatTheme"
],
"EMOJI_NOT_MODIFIED": [
"messages.setChatTheme"
],
"EMOTICON_EMPTY": [
"messages.getStickers"
],
"EMOTICON_INVALID": [
"messages.sendMedia"
],
"EMOTICON_STICKERPACK_MISSING": [
"messages.getStickerSet"
],
"ENCRYPTED_MESSAGE_INVALID": [
"auth.bindTempAuthKey",
"msgs_ack"
],
"ENCRYPTION_ALREADY_ACCEPTED": [
"messages.acceptEncryption"
],
"ENCRYPTION_ALREADY_DECLINED": [
"messages.acceptEncryption",
"messages.discardEncryption"
],
"ENCRYPTION_DECLINED": [
"messages.sendEncrypted",
"messages.sendEncryptedFile",
"messages.sendEncryptedService",
"messages.sendMessage"
],
"ENCRYPTION_ID_INVALID": [
"messages.discardEncryption",
"messages.sendEncryptedService"
],
"ENTITIES_TOO_LONG": [
"messages.editMessage",
"messages.sendMessage"
],
"ENTITY_MENTION_USER_INVALID": [
"messages.sendMessage"
],
"ERROR_TEXT_EMPTY": [
"messages.setBotPrecheckoutResults"
],
"EXPIRE_DATE_INVALID": [
"messages.exportChatInvite"
],
"EXPORT_CARD_INVALID": [
"contacts.importCard"
],
"EXTERNAL_URL_INVALID": [
"messages.sendMedia"
],
"FILE_CONTENT_TYPE_INVALID": [
"messages.setInlineBotResults"
],
"FILE_EMTPY": [
"messages.sendEncryptedFile"
],
"FILE_ID_INVALID": [
"upload.getFile"
],
"FILE_PART_EMPTY": [
"msgs_state_req",
"upload.saveBigFilePart",
"upload.saveFilePart"
],
"FILE_PART_INVALID": [
"upload.saveBigFilePart",
"upload.saveFilePart"
],
"FILE_PART_LENGTH_INVALID": [
"messages.sendMedia"
],
"FILE_PART_SIZE_CHANGED": [
"upload.saveBigFilePart"
],
"FILE_PART_SIZE_INVALID": [
"upload.saveBigFilePart"
],
"FILE_PART_TOO_BIG": [
"upload.saveBigFilePart"
],
"FILE_PARTS_INVALID": [
"messages.sendMedia",
"messages.uploadMedia",
"photos.updateProfilePhoto",
"photos.uploadProfilePhoto",
"upload.saveBigFilePart"
],
"FILE_REFERENCE_*": [
"upload.getFile"
],
"FILE_REFERENCE_EMPTY": [
"messages.sendMedia"
],
"FILE_REFERENCE_EXPIRED": [
"messages.sendMedia",
"upload.getFile"
],
"FILE_REFERENCE_INVALID": [
"channels.editPhoto"
],
"FILE_TITLE_EMPTY": [
"messages.setInlineBotResults"
],
"FILTER_ID_INVALID": [
"messages.updateDialogFilter"
],
"FILTER_INCLUDE_EMPTY": [
"messages.updateDialogFilter"
],
"FILTER_NOT_SUPPORTED": [
"messages.getSearchResultsCalendar"
],
"FILTER_TITLE_EMPTY": [
"messages.updateDialogFilter"
],
"FIRSTNAME_INVALID": [
"account.updateProfile",
"auth.signUp"
],
"FOLDER_ID_EMPTY": [
"folders.deleteFolder"
],
"FOLDER_ID_INVALID": [
"folders.deleteFolder",
"folders.editPeerFolders",
"messages.getDialogs",
"messages.getPinnedDialogs",
"messages.searchGlobal"
],
"FRESH_CHANGE_ADMINS_FORBIDDEN": [
"channels.editAdmin"
],
"FROM_MESSAGE_BOT_DISABLED": [
"messages.sendMessage",
"updates.getChannelDifference"
],
"FROM_PEER_INVALID": [
"messages.search"
],
"GAME_BOT_INVALID": [
"messages.sendMedia"
],
"GEO_POINT_INVALID": [
"contacts.getLocated"
],
"GIF_CONTENT_TYPE_INVALID": [
"messages.setInlineBotResults"
],
"GIF_ID_INVALID": [
"messages.saveGif"
],
"GRAPH_EXPIRED_RELOAD": [
"stats.loadAsyncGraph"
],
"GRAPH_INVALID_RELOAD": [
"stats.loadAsyncGraph"
],
"GRAPH_OUTDATED_RELOAD": [
"stats.loadAsyncGraph"
],
"GROUPCALL_ALREADY_DISCARDED": [
"phone.discardGroupCallRequest"
],
"GROUPCALL_INVALID": [
"phone.getGroupCall"
],
"GROUPCALL_NOT_MODIFIED": [
"phone.toggleGroupCallSettings"
],
"GROUPCALL_SSRC_DUPLICATE_MUCH": [
"phone.joinGroupCall"
],
"GROUPED_MEDIA_INVALID": [
"messages.forwardMessages"
],
"HASH_INVALID": [
"account.changeAuthorizationSettings",
"account.resetAuthorization",
"account.resetWebAuthorization",
"account.sendConfirmPhoneCode"
],
"IMAGE_PROCESS_FAILED": [
"messages.sendMedia",
"messages.uploadMedia",
"photos.updateProfilePhoto",
"photos.uploadProfilePhoto"
],
"IMPORT_FILE_INVALID": [
"messages.initHistoryImport"
],
"IMPORT_FORMAT_UNRECOGNIZED": [
"messages.initHistoryImport"
],
"IMPORT_ID_INVALID": [
"messages.startHistoryImport"
],
"INLINE_RESULT_EXPIRED": [
"messages.sendInlineBotResult"
],
"INPUT_FILTER_INVALID": [
"messages.search"
],
"INPUT_LAYER_INVALID": [
"help.getConfig",
"invokeWithLayer",
"users.getUsers"
],
"INPUT_USER_DEACTIVATED": [
"channels.editAdmin",
"channels.editBanned",
"channels.inviteToChannel",
"channels.reportSpam",
"contacts.block",
"messages.addChatUser",
"messages.createChat",
"messages.editMessage",
"messages.forwardMessages",
"messages.getInlineBotResults",
"messages.search",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.setTyping",
"messages.startBot",
"messages.uploadMedia",
"phone.requestCall"
],
"INVITE_FORBIDDEN_WITH_JOINAS": [
"phone.inviteToGroupCall"
],
"INVITE_HASH_EMPTY": [
"channels.joinChannel",
"messages.checkChatInvite",
"messages.importChatInvite"
],
"INVITE_HASH_EXPIRED": [
"channels.exportInvite",
"channels.joinChannel",
"invokeWithLayer",
"messages.checkChatInvite",
"messages.getChatInviteImporters",
"messages.getExportedChatInvite",
"messages.importChatInvite"
],
"INVITE_HASH_INVALID": [
"channels.joinChannel",
"messages.checkChatInvite",
"messages.importChatInvite"
],
"INVITE_REQUEST_SENT": [
"channels.joinChannel",
"messages.importChatInvite"
],
"INVITE_REVOKED_MISSING": [
"messages.deleteExportedChatInvite"
],
"LANG_CODE_INVALID": [
"bots.setBotCommands"
],
"LANG_PACK_INVALID": [
"langpack.getDifference",
"langpack.getLangPack",
"langpack.getLanguages",
"langpack.getStrings"
],
"LASTNAME_INVALID": [
"auth.signUp"
],
"LIMIT_INVALID": [
"upload.getFile"
],
"LINK_NOT_MODIFIED": [
"channels.setDiscussionGroup"
],
"LOCATION_INVALID": [
"photos.updateProfilePhoto",
"upload.getFile",
"upload.getFileHashes",
"upload.getWebFile"
],
"MAX_ID_INVALID": [
"photos.getUserPhotos"
],
"MAX_QTS_INVALID": [
"messages.receivedQueue"
],
"MD5_CHECKSUM_INVALID": [
"messages.sendEncryptedFile",
"messages.sendMedia"
],
"MEDIA_CAPTION_TOO_LONG": [
"messages.editMessage",
"messages.sendMedia",
"messages.sendMultiMedia"
],
"MEDIA_EMPTY": [
"messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMultiMedia"
],
"MEDIA_GROUPED_INVALID": [
"messages.editMessage"
],
"MEDIA_INVALID": [
"messages.sendMedia",
"messages.sendMultiMedia",
"messages.uploadMedia"
],
"MEDIA_NEW_INVALID": [
"messages.editMessage"
],
"MEDIA_PREV_INVALID": [
"messages.editMessage"
],
"MEGAGROUP_ID_INVALID": [
"channels.setDiscussionGroup"
],
"MEGAGROUP_PREHISTORY_HIDDEN": [
"channels.setDiscussionGroup"
],
"MEGAGROUP_REQUIRED": [
"channels.editLocation",
"stats.getMegagroupStats"
],
"MESSAGE_EDIT_TIME_EXPIRED": [
"messages.editMessage"
],
"MESSAGE_EMPTY": [
"auth.sendInvites",
"messages.editMessage",
"messages.getWebPagePreview",
"messages.sendMessage",
"messages.setInlineBotResults"
],
"MESSAGE_ID_INVALID": [
"channels.exportMessageLink",
"messages.deleteHistory",
"messages.deleteMessages",
"messages.editInlineBotMessage",
"messages.editMessage",
"messages.forwardMessage",
"messages.forwardMessages",
"messages.getBotCallbackAnswer",
"messages.getGameHighScores",
"messages.getInlineGameHighScores",
"messages.getMessageEditData",
"messages.getMessagesReadParticipants",
"messages.getPollResults",
"messages.sendReaction",
"messages.sendScheduledMessages",
"messages.sendVote",
"messages.setGameScore",
"messages.setInlineGameScore",
"messages.updatePinnedMessage",
"msg_container",
"payments.getPaymentForm",
"payments.getPaymentReceipt",
"payments.sendPaymentForm",
"payments.validateRequestedInfo",
"stats.getMessagePublicForwards",
"stats.getMessageStats"
],
"MESSAGE_IDS_EMPTY": [
"channels.getMessages",
"messages.forwardMessages"
],
"MESSAGE_NOT_MODIFIED": [
"messages.editInlineBotMessage",
"messages.editMessage"
],
"MESSAGE_POLL_CLOSED": [
"messages.sendVote"
],
"MESSAGE_TOO_LONG": [
"messages.editMessage",
"messages.sendMessage",
"messages.setBotCallbackAnswer",
"messages.setInlineBotResults"
],
"METHOD_INVALID": [
"bots.sendCustomRequest",
"messages.searchGifs"
],
"MSG_ID_INVALID": [
"account.updateNotifySettings",
"channels.deleteMessages",
"channels.deleteParticipantHistory",
"channels.deleteUserHistory",
"channels.editBanned",
"channels.exportMessageLink",
"channels.getAdminLog",
"channels.getChannels",
"channels.getFullChannel",
"channels.getMessages",
"channels.getParticipant",
"channels.inviteToChannel",
"channels.joinChannel",
"channels.leaveChannel",
"channels.readHistory",
"channels.readMessageContents",
"contacts.acceptContact",
"contacts.addContact",
"contacts.block",
"contacts.unblock",
"help.getConfig",
"messages.deleteHistory",
"messages.editMessage",
"messages.forwardMessages",
"messages.getCommonChats",
"messages.getDiscussionMessage",
"messages.getHistory",
"messages.getInlineBotResults",
"messages.getMessagesViews",
"messages.getPeerDialogs",
"messages.getPollVotes",
"messages.getReplies",
"messages.getUnreadMentions",
"messages.importChatInvite",
"messages.readDiscussion",
"messages.readHistory",
"messages.readMentions",
"messages.reportSpam",
"messages.saveDraft",
"messages.search",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.setTyping",
"messages.startBot",
"messages.uploadMedia",
"msg_container",
"msgs_state_req",
"photos.getUserPhotos",
"updates.getChannelDifference",
"updates.getDifference",
"upload.getFile",
"users.getFullUser",
"users.getUsers"
],
"MSG_WAIT_FAILED": [
"messages.readEncryptedHistory",
"messages.receivedQueue",
"messages.sendEncrypted",
"messages.sendEncryptedFile",
"messages.sendEncryptedService"
],
"MULTI_MEDIA_TOO_LONG": [
"messages.sendMultiMedia"
],
"NEW_SALT_INVALID": [
"account.updatePasswordSettings"
],
"NEW_SETTINGS_INVALID": [
"account.updatePasswordSettings",
"auth.recoverPassword"
],
"NEXT_OFFSET_INVALID": [
"messages.setInlineBotResults"
],
"OFFSET_INVALID": [
"upload.getFile"
],
"OFFSET_PEER_ID_INVALID": [
"messages.getDialogs"
],
"OPTION_INVALID": [
"messages.sendVote"
],
"OPTIONS_TOO_MUCH": [
"messages.sendVote"
],
"PACK_SHORT_NAME_INVALID": [
"stickers.createStickerSet"
],
"PACK_SHORT_NAME_OCCUPIED": [
"stickers.createStickerSet"
],
"PACK_TITLE_INVALID": [
"stickers.createStickerSet"
],
"PARTICIPANT_ID_INVALID": [
"channels.deleteParticipantHistory",
"channels.editBanned",
"channels.getParticipant"
],
"PARTICIPANT_VERSION_OUTDATED": [
"phone.requestCall"
],
"PARTICIPANTS_TOO_FEW": [
"channels.convertToGigagroup",
"channels.setStickers"
],
"PASSWORD_EMPTY": [
"auth.requestPasswordRecovery"
],
"PASSWORD_HASH_INVALID": [
"account.getPasswordSettings",
"account.getTmpPassword",
"account.updatePasswordSettings",
"auth.checkPassword",
"channels.editCreator"
],
"PASSWORD_MISSING": [
"channels.editCreator"
],
"PASSWORD_RECOVERY_EXPIRED": [
"auth.checkRecoveryPassword"
],
"PASSWORD_RECOVERY_NA": [
"auth.requestPasswordRecovery"
],
"PASSWORD_REQUIRED": [
"account.saveSecureValue"
],
"PASSWORD_TOO_FRESH_%d": [
"channels.editCreator"
],
"PAYMENT_PROVIDER_INVALID": [
"messages.sendMedia"
],
"PEER_ID_INVALID": [
"account.getNotifySettings",
"account.reportPeer",
"account.updateNotifySettings",
"channels.editAdmin",
"channels.editBanned",
"channels.getSendAs",
"channels.joinChannel",
"contacts.block",
"contacts.resetTopPeerRating",
"contacts.unblock",
"messages.addChatUser",
"messages.checkHistoryImportPeer",
"messages.deleteChat",
"messages.deleteChatUser",
"messages.deleteHistory",
"messages.editChatAbout",
"messages.editChatAdmin",
"messages.editChatDefaultBannedRights",
"messages.editChatPhoto",
"messages.editChatTitle",
"messages.editExportedChatInvite",
"messages.editMessage",
"messages.exportChatInvite",
"messages.forwardMessage",
"messages.forwardMessages",
"messages.getAdminsWithInvites",
"messages.getBotCallbackAnswer",
"messages.getChatInviteImporters",
"messages.getChats",
"messages.getDiscussionMessage",
"messages.getExportedChatInvite",
"messages.getExportedChatInvites",
"messages.getFullChat",
"messages.getGameHighScores",
"messages.getHistory",
"messages.getMessageEditData",
"messages.getMessagesViews",
"messages.getOnlines",
"messages.getPeerDialogs",
"messages.getPeerSettings",
"messages.getPollResults",
"messages.getReplies",
"messages.getScheduledHistory",
"messages.getScheduledMessages",
"messages.getSearchCounters",
"messages.getStatsURL",
"messages.getUnreadMentions",
"messages.hideReportSpam",
"messages.importChatInvite",
"messages.markDialogUnread",
"messages.migrateChat",
"messages.readDiscussion",
"messages.readHistory",
"messages.readMentions",
"messages.reorderPinnedDialogs",
"messages.report",
"messages.reportSpam",
"messages.saveDefaultSendAs",
"messages.saveDraft",
"messages.search",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.sendMultiMedia",
"messages.sendReaction",
"messages.sendScheduledMessages",
"messages.sendScreenshotNotification",
"messages.sendVote",
"messages.setChatTheme",
"messages.setGameScore",
"messages.setTyping",
"messages.startBot",
"messages.toggleDialogPin",
"messages.updatePinnedMessage",
"messages.uploadMedia",
"phone.createGroupCall",
"stickers.createStickerSet",
"upload.getFile"
],
"PEER_ID_NOT_SUPPORTED": [
"messages.search"
],
"PERSISTENT_TIMESTAMP_EMPTY": [
"updates.getChannelDifference",
"updates.getDifference"
],
"PERSISTENT_TIMESTAMP_INVALID": [
"updates.getChannelDifference",
"updates.getDifference"
],
"PHONE_CODE_EMPTY": [
"account.changePhone",
"account.confirmPhone",
"account.verifyPhone",
"auth.signIn",
"auth.signUp"
],
"PHONE_CODE_EXPIRED": [
"account.changePhone",
"account.verifyPhone",
"auth.cancelCode",
"auth.resendCode",
"auth.signIn",
"auth.signUp"
],
"PHONE_CODE_HASH_EMPTY": [
"auth.resendCode"
],
"PHONE_CODE_INVALID": [
"auth.signIn",
"auth.signUp"
],
"PHONE_NUMBER_APP_SIGNUP_FORBIDDEN": [
"auth.sendCode"
],
"PHONE_NUMBER_BANNED": [
"account.sendChangePhoneCode",
"auth.checkPhone",
"auth.sendCode"
],
"PHONE_NUMBER_FLOOD": [
"auth.sendCode",
"auth.signUp"
],
"PHONE_NUMBER_INVALID": [
"account.changePhone",
"account.sendChangePhoneCode",
"account.sendVerifyPhoneCode",
"account.verifyPhone",
"auth.cancelCode",
"auth.checkPhone",
"auth.resendCode",
"auth.sendCode",
"auth.signIn",
"auth.signUp"
],
"PHONE_NUMBER_OCCUPIED": [
"account.changePhone",
"account.sendChangePhoneCode",
"auth.signUp"
],
"PHONE_NUMBER_UNOCCUPIED": [
"auth.signIn"
],
"PHONE_PASSWORD_PROTECTED": [
"auth.sendCode"
],
"PHOTO_CONTENT_TYPE_INVALID": [
"messages.setInlineBotResults"
],
"PHOTO_CONTENT_URL_EMPTY": [
"messages.setInlineBotResults"
],
"PHOTO_CROP_FILE_MISSING": [
"photos.uploadProfilePhoto"
],
"PHOTO_CROP_SIZE_SMALL": [
"channels.editPhoto",
"messages.editChatPhoto",
"photos.updateProfilePhoto",
"photos.uploadProfilePhoto"
],
"PHOTO_EXT_INVALID": [
"channels.editPhoto",
"messages.editChatPhoto",
"messages.sendMedia",
"messages.uploadMedia",
"photos.updateProfilePhoto",
"photos.uploadProfilePhoto"
],
"PHOTO_FILE_MISSING": [
"photos.uploadProfilePhoto"
],
"PHOTO_ID_INVALID": [
"photos.updateProfilePhoto"
],
"PHOTO_INVALID": [
"channels.editPhoto",
"messages.editChatPhoto",
"messages.setInlineBotResults"
],
"PHOTO_INVALID_DIMENSIONS": [
"messages.sendMedia",
"messages.uploadMedia"
],
"PHOTO_SAVE_FILE_INVALID": [
"messages.sendMedia",
"messages.uploadMedia"
],
"PHOTO_THUMB_URL_EMPTY": [
"messages.setInlineBotResults"
],
"PIN_RESTRICTED": [
"messages.updatePinnedMessage"
],
"PINNED_DIALOGS_TOO_MUCH": [
"channels.editBanned",
"messages.sendMessage",
"messages.toggleDialogPin",
"updates.getChannelDifference"
],
"POLL_ANSWER_INVALID": [
"messages.sendMedia"
],
"POLL_ANSWERS_INVALID": [
"messages.sendMedia"
],
"POLL_OPTION_DUPLICATE": [
"messages.sendMedia"
],
"POLL_OPTION_INVALID": [
"messages.sendMedia",
"messages.sendMessage"
],
"POLL_QUESTION_INVALID": [
"messages.sendMedia"
],
"PRIVACY_KEY_INVALID": [
"account.getPrivacy",
"account.setPrivacy"
],
"PRIVACY_TOO_LONG": [
"account.setPrivacy"
],
"PRIVACY_VALUE_INVALID": [
"account.setPrivacy"
],
"PUBLIC_KEY_REQUIRED": [
"account.getAuthorizationForm"
],
"QUERY_ID_EMPTY": [
"messages.sendInlineBotResult"
],
"QUERY_ID_INVALID": [
"bots.answerWebhookJSONQuery",
"messages.setBotCallbackAnswer",
"messages.setBotShippingResults",
"messages.setInlineBotResults"
],
"QUERY_TOO_SHORT": [
"contacts.search"
],
"QUIZ_ANSWER_MISSING": [
"messages.forwardMessages"
],
"QUIZ_CORRECT_ANSWER_INVALID": [
"messages.sendMedia"
],
"QUIZ_CORRECT_ANSWERS_EMPTY": [
"messages.sendMedia"
],
"QUIZ_CORRECT_ANSWERS_TOO_MUCH": [
"messages.sendMedia"
],
"QUIZ_MULTIPLE_INVALID": [
"messages.sendMedia"
],
"RANDOM_ID_EMPTY": [
"messages.sendMultiMedia"
],
"RANDOM_ID_INVALID": [
"messages.forwardMessages"
],
"RANDOM_LENGTH_INVALID": [
"messages.getDhConfig"
],
"RANGES_INVALID": [
"updates.getChannelDifference"
],
"REACTION_EMPTY": [
"messages.sendReaction"
],
"REACTION_INVALID": [
"messages.sendReaction"
],
"REPLY_MARKUP_BUY_EMPTY": [
"messages.sendMedia"
],
"REPLY_MARKUP_INVALID": [
"messages.editMessage",
"messages.sendMedia",
"messages.sendMessage",
"messages.setInlineBotResults"
],
"REPLY_MARKUP_TOO_LONG": [
"messages.sendMessage"
],
"RESET_REQUEST_MISSING": [
"account.declinePasswordReset"
],
"RESULT_ID_DUPLICATE": [
"messages.setInlineBotResults"
],
"RESULT_ID_EMPTY": [
"messages.sendInlineBotResult"
],
"RESULT_TYPE_INVALID": [
"messages.setInlineBotResults"
],
"RESULTS_TOO_MUCH": [
"messages.setInlineBotResults"
],
"REVOTE_NOT_ALLOWED": [
"messages.sendVote"
],
"RSA_DECRYPT_FAILED": [
"upload.getCdnFileHashes",
"upload.reuploadCdnFile"
],
"SCHEDULE_BOT_NOT_ALLOWED": [
"messages.sendMedia",
"messages.sendMessage"
],
"SCHEDULE_DATE_INVALID": [
"messages.editMessage",
"phone.createGroupCall"
],
"SCHEDULE_DATE_TOO_LATE": [
"messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.sendMultiMedia"
],
"SCHEDULE_STATUS_PRIVATE": [
"messages.sendMessage"
],
"SCHEDULE_TOO_MUCH": [
"messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.sendMultiMedia"
],
"SCORE_INVALID": [
"messages.setGameScore"
],
"SEARCH_QUERY_EMPTY": [
"contacts.search",
"messages.search",
"messages.searchGifs",
"messages.searchGlobal"
],
"SEARCH_WITH_LINK_NOT_SUPPROTED": [
"messages.getChatInviteImporters"
],
"SECONDS_INVALID": [
"channels.toggleSlowMode"
],
"SEND_AS_PEER_INVALID": [
"messages.forwardMessages",
"messages.sendMedia",
"messages.sendMessage"
],
"SEND_MESSAGE_MEDIA_INVALID": [
"messages.setInlineBotResults"
],
"SEND_MESSAGE_TYPE_INVALID": [
"messages.setInlineBotResults"
],
"SESSION_TOO_FRESH_%d": [
"channels.editCreator"
],
"SETTINGS_INVALID": [
"account.updateNotifySettings"
],
"SHA256_HASH_INVALID": [
"messages.getDocumentByHash"
],
"SHORT_NAME_INVALID": [
"stickers.checkShortName"
],
"SHORT_NAME_OCCUPIED": [
"stickers.checkShortName"
],
"SLOWMODE_MULTI_MSGS_DISABLED": [
"messages.forwardMessages"
],
"SMS_CODE_CREATE_FAILED": [
"auth.sendCode"
],
"SRP_ID_INVALID": [
"account.updatePasswordSettings",
"auth.checkPassword",
"channels.editCreator"
],
"SRP_PASSWORD_CHANGED": [
"account.updatePasswordSettings",
"auth.checkPassword"
],
"START_PARAM_EMPTY": [
"messages.startBot"
],
"START_PARAM_INVALID": [
"messages.setInlineBotResults",
"messages.startBot"
],
"START_PARAM_TOO_LONG": [
"messages.startBot"
],
"STICKER_DOCUMENT_INVALID": [
"messages.setInlineBotResults"
],
"STICKER_EMOJI_INVALID": [
"stickers.createStickerSet"
],
"STICKER_FILE_INVALID": [
"stickers.createStickerSet"
],
"STICKER_GIF_DIMENSIONS": [
"stickers.createStickerSet"
],
"STICKER_ID_INVALID": [
"messages.faveSticker",
"messages.saveRecentSticker"
],
"STICKER_INVALID": [
"stickers.changeStickerPosition",
"stickers.removeStickerFromSet"
],
"STICKER_PNG_DIMENSIONS": [
"stickers.createStickerSet"
],
"STICKER_PNG_NOPNG": [
"stickers.addStickerToSet",
"stickers.createStickerSet"
],
"STICKER_TGS_NODOC": [
"stickers.createStickerSet"
],
"STICKER_TGS_NOTGS": [
"stickers.addStickerToSet",
"stickers.createStickerSet"
],
"STICKER_THUMB_PNG_NOPNG": [
"stickers.createStickerSet",
"stickers.setStickerSetThumb"
],
"STICKER_THUMB_TGS_NOTGS": [
"stickers.createStickerSet",
"stickers.setStickerSetThumb"
],
"STICKER_VIDEO_BIG": [
"stickers.createStickerSet"
],
"STICKER_VIDEO_NOWEBM": [
"stickers.createStickerSet"
],
"STICKERPACK_STICKERS_TOO_MUCH": [
"stickers.addStickerToSet"
],
"STICKERS_EMPTY": [
"stickers.createStickerSet"
],
"STICKERS_TOO_MUCH": [
"stickers.addStickerToSet"
],
"STICKERSET_INVALID": [
"messages.getStickerSet",
"messages.installStickerSet",
"messages.uninstallStickerSet",
"stickers.addStickerToSet",
"stickers.setStickerSetThumb"
],
"TAKEOUT_REQUIRED": [
"contacts.getSaved"
],
"TEMP_AUTH_KEY_ALREADY_BOUND": [
"auth.bindTempAuthKey"
],
"TEMP_AUTH_KEY_EMPTY": [
"auth.bindTempAuthKey"
],
"THEME_FILE_INVALID": [
"account.uploadTheme"
],
"THEME_FORMAT_INVALID": [
"account.getTheme"
],
"THEME_INVALID": [
"account.getTheme",
"account.updateTheme"
],
"THEME_MIME_INVALID": [
"account.createTheme"
],
"TITLE_INVALID": [
"stickers.suggestShortName"
],
"TMP_PASSWORD_DISABLED": [
"account.getTmpPassword"
],
"TOKEN_INVALID": [
"account.registerDevice",
"account.unregisterDevice"
],
"TTL_DAYS_INVALID": [
"account.setAccountTTL"
],
"TTL_MEDIA_INVALID": [
"messages.sendMedia"
],
"TTL_PERIOD_INVALID": [
"messages.setHistoryTTL"
],
"TYPES_EMPTY": [
"contacts.getTopPeers"
],
"UNTIL_DATE_INVALID": [
"messages.editChatDefaultBannedRights"
],
"URL_INVALID": [
"messages.setBotCallbackAnswer",
"messages.setInlineBotResults"
],
"USAGE_LIMIT_INVALID": [
"messages.exportChatInvite"
],
"USER_ADMIN_INVALID": [
"channels.editBanned"
],
"USER_ALREADY_INVITED": [
"phone.inviteToGroupCall"
],
"USER_ALREADY_PARTICIPANT": [
"channels.joinChannel",
"messages.addChatUser",
"messages.importChatInvite"
],
"USER_BANNED_IN_CHANNEL": [
"channels.getChannels",
"channels.getMessages",
"channels.inviteToChannel",
"channels.leaveChannel",
"messages.editMessage",
"messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.setTyping",
"messages.updatePinnedMessage",
"messages.uploadMedia",
"updates.getChannelDifference",
"users.getUsers"
],
"USER_BLOCKED": [
"channels.editAdmin",
"channels.inviteToChannel"
],
"USER_BOT": [
"channels.inviteToChannel"
],
"USER_BOT_INVALID": [
"bots.answerWebhookJSONQuery",
"bots.sendCustomRequest",
"messages.setInlineBotResults"
],
"USER_BOT_REQUIRED": [
"messages.getGameHighScores",
"messages.getInlineGameHighScores",
"messages.setGameScore",
"messages.setInlineGameScore"
],
"USER_CHANNELS_TOO_MUCH": [
"channels.inviteToChannel",
"channels.joinChannel",
"messages.importChatInvite"
],
"USER_CREATOR": [
"channels.editAdmin",
"channels.leaveChannel"
],
"USER_ID_INVALID": [
"auth.importAuthorization",
"channels.deleteUserHistory",
"channels.editAdmin",
"channels.editBanned",
"channels.editCreator",
"channels.getParticipant",
"channels.inviteToChannel",
"channels.reportSpam",
"messages.addChatUser",
"messages.deleteChatUser",
"messages.editChatAdmin",
"messages.getCommonChats",
"messages.requestEncryption",
"messages.search",
"phone.requestCall",
"photos.getUserPhotos",
"stickers.createStickerSet",
"users.getFullUser",
"users.setSecureValueErrors"
],
"USER_INVALID": [
"help.editUserInfo",
"help.getSupportName",
"help.getUserInfo"
],
"USER_IS_BLOCKED": [
"messages.addChatUser",
"messages.forwardMessages",
"messages.sendEncryptedService",
"messages.sendMedia",
"messages.sendMessage",
"messages.setTyping",
"msgs_ack",
"msgs_state_req",
"phone.requestCall"
],
"USER_IS_BOT": [
"messages.forwardMessages",
"messages.sendMedia",
"messages.sendMessage",
"messages.setTyping"
],
"USER_KICKED": [
"channels.inviteToChannel"
],
"USER_NOT_MUTUAL_CONTACT": [
"channels.editAdmin",
"channels.inviteToChannel",
"messages.addChatUser",
"messages.checkHistoryImportPeer"
],
"USER_NOT_PARTICIPANT": [
"channels.getParticipant",
"channels.leaveChannel",
"messages.deleteChatUser",
"messages.editChatAdmin"
],
"USER_VOLUME_INVALID": [
"phone.editGroupCallParticipant"
],
"USERNAME_INVALID": [
"account.checkUsername",
"account.updateUsername",
"channels.checkUsername",
"channels.updateUsername",
"contacts.resolveUsername",
"help.getConfig"
],
"USERNAME_NOT_MODIFIED": [
"account.updateUsername",
"channels.updateUsername"
],
"USERNAME_NOT_OCCUPIED": [
"contacts.resolveUsername"
],
"USERNAME_OCCUPIED": [
"account.updateUsername",
"channels.updateUsername"
],
"USERPIC_UPLOAD_REQUIRED": [
"contacts.getLocated"
],
"USERS_TOO_FEW": [
"messages.createChat"
],
"USERS_TOO_MUCH": [
"channels.editAdmin",
"channels.inviteToChannel",
"channels.joinChannel",
"messages.addChatUser",
"messages.importChatInvite"
],
"VIDEO_CONTENT_TYPE_INVALID": [
"messages.sendMedia"
],
"VIDEO_FILE_INVALID": [
"photos.uploadProfilePhoto"
],
"VIDEO_TITLE_EMPTY": [
"messages.setInlineBotResults"
],
"WALLPAPER_FILE_INVALID": [
"account.uploadWallPaper"
],
"WALLPAPER_INVALID": [
"account.getWallPaper",
"account.installWallPaper",
"account.saveWallPaper"
],
"WALLPAPER_MIME_INVALID": [
"account.uploadWallPaper"
],
"WC_CONVERT_URL_INVALID": [
"messages.getWebPage"
],
"WEBDOCUMENT_INVALID": [
"messages.setInlineBotResults"
],
"WEBDOCUMENT_MIME_INVALID": [
"messages.setInlineBotResults"
],
"WEBDOCUMENT_SIZE_TOO_BIG": [
"messages.setInlineBotResults"
],
"WEBDOCUMENT_URL_INVALID": [
"messages.setInlineBotResults"
],
"WEBPAGE_CURL_FAILED": [
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.uploadMedia"
],
"WEBPAGE_MEDIA_EMPTY": [
"messages.sendInlineBotResult",
"messages.sendMedia"
],
"WEBPUSH_AUTH_INVALID": [
"account.registerDevice"
],
"WEBPUSH_KEY_INVALID": [
"account.registerDevice"
],
"WEBPUSH_TOKEN_INVALID": [
"account.registerDevice"
],
"YOU_BLOCKED_USER": [
"messages.addChatUser",
"messages.forwardMessage",
"messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.sendScreenshotNotification"
]
},
"500": {
"API_CALL_ERROR": [
"upload.getCdnFileHashes",
"upload.reuploadCdnFile"
],
"AUTH_RESTART": [
"auth.sendCode"
],
"CALL_OCCUPY_FAILED": [
"phone.acceptCall"
],
"CHAT_ID_GENERATE_FAILED": [
"messages.createChat"
],
"CHAT_OCCUPY_USERNAME_FAILED": [
"channels.updateUsername"
],
"CHP_CALL_FAIL": [
"stats.getBroadcastStats",
"stats.loadAsyncGraph"
],
"ENCRYPTION_OCCUPY_ADMIN_FAILED": [
"messages.acceptEncryption"
],
"ENCRYPTION_OCCUPY_FAILED": [
"messages.acceptEncryption"
],
"HISTORY_GET_FAILED": [
"updates.getChannelDifference",
"updates.getDifference"
],
"IMAGE_ENGINE_DOWN": [
"messages.sendMedia",
"photos.updateProfilePhoto",
"photos.uploadProfilePhoto"
],
"MSG_RANGE_UNSYNC": [
"messages.deleteHistory",
"messages.getHistory",
"messages.getPeerDialogs"
],
"MSGID_DECREASE_RETRY": [
"channels.createChannel",
"channels.editTitle",
"channels.getFullChannel",
"channels.getParticipants",
"channels.joinChannel",
"contacts.getStatuses",
"contacts.resolveUsername",
"help.getCdnConfig",
"messages.checkChatInvite",
"messages.forwardMessages",
"messages.getBotCallbackAnswer",
"messages.getDialogs",
"messages.getFullChat",
"messages.getMessagesViews",
"messages.readHistory",
"messages.sendMessage",
"messages.setTyping",
"updates.getChannelDifference",
"updates.getDifference",
"users.getFullUser",
"users.getUsers"
],
"NEED_CHAT_INVALID": [
"channels.getChannels",
"messages.editChatPhoto",
"messages.editChatTitle",
"messages.forwardMessages",
"messages.getDialogs",
"messages.getExportedChatInvites",
"messages.getPeerDialogs",
"messages.sendMessage",
"messages.unpinAllMessages",
"messages.updatePinnedMessage",
"updates.getChannelDifference"
],
"NEED_MEMBER_INVALID": [
"auth.sendCode",
"channels.deleteMessages",
"channels.getChannels",
"channels.getMessages",
"channels.inviteToChannel",
"channels.joinChannel",
"channels.readHistory",
"channels.readMessageContents",
"contacts.deleteContacts",
"contacts.importCard",
"help.getConfig",
"invokeWithLayer",
"messages.editMessage",
"messages.forwardMessages",
"messages.getBotCallbackAnswer",
"messages.getDialogs",
"messages.getHistory",
"messages.getMessagesViews",
"messages.getPeerDialogs",
"messages.getUnreadMentions",
"messages.readMentions",
"messages.search",
"messages.sendMedia",
"messages.sendMessage",
"photos.updateProfilePhoto",
"photos.uploadProfilePhoto",
"updates.getChannelDifference",
"updates.getDifference",
"users.getUsers"
],
"PARTICIPANT_CALL_FAILED": [
"phone.requestCall"
],
"PERSISTENT_TIMESTAMP_OUTDATED": [
"updates.getChannelDifference"
],
"PTS_CHANGE_EMPTY": [
"messages.editMessage",
"messages.forwardMessages",
"messages.sendMedia",
"messages.sendMessage"
],
"RANDOM_ID_DUPLICATE": [
"messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.sendMultiMedia",
"messages.startBot"
],
"REG_ID_GENERATE_FAILED": [
"auth.signUp"
],
"SIGN_IN_FAILED": [
"auth.signIn"
],
"STORAGE_CHECK_FAILED": [
"messages.editChatPhoto",
"messages.sendEncryptedFile",
"messages.sendMedia",
"messages.uploadMedia",
"photos.updateProfilePhoto",
"photos.uploadProfilePhoto",
"upload.saveBigFilePart"
],
"UNKNOWN_METHOD": [
"upload.getCdnFile"
]
},
"401": {
"AUTH_KEY_PERM_EMPTY": [
"account.updateUsername",
"auth.checkPhone",
"auth.sendCode",
"contacts.resolveUsername",
"help.getCdnConfig",
"messages.getHistory",
"messages.sendMessage",
"updates.getDifference",
"upload.getFile",
"users.getUsers"
]
},
"403": {
"BROADCAST_FORBIDDEN": [
"messages.getPollVotes"
],
"CHANNEL_PUBLIC_GROUP_NA": [
"channels.getFullChannel",
"channels.leaveChannel",
"updates.getChannelDifference"
],
"CHAT_ADMIN_INVITE_REQUIRED": [
"channels.editAdmin"
],
"CHAT_ADMIN_REQUIRED": [
"messages.editMessage",
"messages.migrateChat"
],
"CHAT_SEND_GAME_FORBIDDEN": [
"messages.forwardMessages",
"messages.sendInlineBotResult"
],
"CHAT_SEND_GIFS_FORBIDDEN": [
"messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia"
],
"CHAT_SEND_INLINE_FORBIDDEN": [
"messages.sendInlineBotResult"
],
"CHAT_SEND_MEDIA_FORBIDDEN": [
"messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia"
],
"CHAT_SEND_POLL_FORBIDDEN": [
"messages.forwardMessages",
"messages.sendMedia"
],
"CHAT_SEND_STICKERS_FORBIDDEN": [
"messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia"
],
"CHAT_WRITE_FORBIDDEN": [
"channels.deleteChannel",
"channels.deleteUserHistory",
"channels.editAdmin",
"channels.editBanned",
"channels.editCreator",
"channels.editPhoto",
"channels.editTitle",
"channels.getAdminLog",
"channels.inviteToChannel",
"channels.updateUsername",
"invokeWithLayer",
"messages.addChatUser",
"messages.editChatAbout",
"messages.editChatDefaultBannedRights",
"messages.editMessage",
"messages.exportChatInvite",
"messages.forwardMessages",
"messages.getAdminsWithInvites",
"messages.sendInlineBotResult",
"messages.sendMedia",
"messages.sendMessage",
"messages.sendMultiMedia",
"messages.setTyping",
"messages.updatePinnedMessage",
"messages.uploadMedia",
"updates.getChannelDifference",
"updates.getDifference"
],
"EDIT_BOT_INVITE_FORBIDDEN": [
"messages.editExportedChatInvite"
],
"GROUPCALL_FORBIDDEN": [
"messages.setTyping",
"phone.inviteToGroupCall"
],
"INLINE_BOT_REQUIRED": [
"messages.editMessage"
],
"MESSAGE_AUTHOR_REQUIRED": [
"messages.editMessage",
"messages.getMessageEditData"
],
"MESSAGE_DELETE_FORBIDDEN": [
"channels.deleteMessages",
"messages.deleteMessages"
],
"PARTICIPANT_JOIN_MISSING": [
"phone.joinGroupCallPresentation"
],
"POLL_VOTE_REQUIRED": [
"messages.getPollVotes"
],
"RIGHT_FORBIDDEN": [
"channels.editAdmin"
],
"SENSITIVE_CHANGE_FORBIDDEN": [
"account.setContentSettings"
],
"TAKEOUT_REQUIRED": [
"account.finishTakeoutSession",
"channels.getLeftChannels",
"contacts.getSaved"
],
"USER_BOT_INVALID": [
"bots.answerWebhookJSONQuery",
"bots.sendCustomRequest",
"messages.setInlineBotResults"
],
"USER_CHANNELS_TOO_MUCH": [
"channels.editAdmin",
"channels.inviteToChannel"
],
"USER_DELETED": [
"messages.sendEncryptedService"
],
"USER_INVALID": [
"help.getSupportName",
"help.getUserInfo"
],
"USER_IS_BLOCKED": [
"messages.forwardMessages",
"messages.sendEncrypted",
"messages.sendEncryptedService",
"messages.sendMedia",
"messages.sendMessage",
"messages.setTyping",
"phone.requestCall"
],
"USER_NOT_MUTUAL_CONTACT": [
"channels.editAdmin",
"channels.inviteToChannel",
"messages.addChatUser"
],
"USER_PRIVACY_RESTRICTED": [
"channels.editAdmin",
"channels.inviteToChannel",
"help.getConfig",
"messages.addChatUser",
"phone.requestCall"
],
"USER_RESTRICTED": [
"channels.createChannel",
"channels.editAdmin",
"messages.createChat"
]
},
"406": {
"CHANNEL_PRIVATE": [
"channels.getFullChannel",
"messages.checkChatInvite"
],
"CHANNEL_TOO_LARGE": [
"channels.deleteChannel"
],
"CHAT_FORWARDS_RESTRICTED": [
"messages.forwardMessages"
],
"FILEREF_UPGRADE_NEEDED": [
"upload.getFile"
],
"FRESH_CHANGE_ADMINS_FORBIDDEN": [
"channels.editAdmin"
],
"FRESH_CHANGE_PHONE_FORBIDDEN": [
"account.sendChangePhoneCode"
],
"FRESH_RESET_AUTHORISATION_FORBIDDEN": [
"account.resetAuthorization",
"account.setAuthorizationTTL",
"auth.resetAuthorizations"
],
"INVITE_HASH_EXPIRED": [
"channels.joinChannel",
"messages.checkChatInvite",
"messages.importChatInvite"
],
"PHONE_NUMBER_INVALID": [
"account.changePhone",
"account.sendChangePhoneCode",
"auth.cancelCode",
"auth.checkPhone",
"auth.resendCode",
"auth.sendCode",
"auth.signIn",
"auth.signUp"
],
"PHONE_PASSWORD_FLOOD": [
"auth.sendCode"
],
"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN": [
"messages.initHistoryImport"
],
"SEND_CODE_UNAVAILABLE": [
"auth.resendCode"
],
"STICKERSET_INVALID": [
"messages.getStickerSet"
],
"STICKERSET_OWNER_ANONYMOUS": [
"channels.setStickers"
],
"UPDATE_APP_REQUIRED": [
"account.updateStatus"
],
"UPDATE_APP_TO_LOGIN": [
"auth.sendCode",
"auth.signIn"
],
"USER_RESTRICTED": [
"channels.createChannel"
],
"USERPIC_PRIVACY_REQUIRED": [
"contacts.getLocated"
],
"USERPIC_UPLOAD_REQUIRED": [
"contacts.getLocated"
]
},
"-500": {
"Invalid msg_resend_req query": [
"msg_resend_req"
],
"Invalid msgs_ack query": [
"msgs_ack"
],
"Invalid msgs_state_req query": [
"msg_resend_req",
"msgs_state_req",
"req_pq_multi"
]
},
"-503": {
"Timeout": [
"messages.getBotCallbackAnswer",
"messages.getInlineBotResults"
]
}
},
"human_result": {
"2FA_CONFIRM_WAIT_%d": "Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds.",
"ABOUT_TOO_LONG": "About string too long.",
"ACCESS_TOKEN_EXPIRED": "Access token expired.",
"ACCESS_TOKEN_INVALID": "Access token invalid.",
"ADMIN_ID_INVALID": "The specified admin ID is invalid.",
"ADMIN_RANK_EMOJI_NOT_ALLOWED": "An admin rank cannot contain emojis.",
"ADMIN_RANK_INVALID": "The specified admin rank is invalid.",
"ADMINS_TOO_MUCH": "There are too many admins.",
"ALBUM_PHOTOS_TOO_MANY": "",
"API_CALL_ERROR": "API call error.",
"API_ID_INVALID": "API ID invalid.",
"API_ID_PUBLISHED_FLOOD": "This API id was published somewhere, you can't use it now.",
"ARTICLE_TITLE_EMPTY": "The title of the article is empty.",
"AUDIO_CONTENT_URL_EMPTY": "The remote URL specified in the content field is empty.",
"AUDIO_TITLE_EMPTY": "An empty audio title was provided.",
"AUTH_BYTES_INVALID": "The provided authorization is invalid.",
"AUTH_KEY_PERM_EMPTY": "The temporary auth key must be binded to the permanent auth key to use these methods.",
"AUTH_RESTART": "Restart the authorization process.",
"AUTH_TOKEN_ALREADY_ACCEPTED": "The specified auth token was already accepted.",
"AUTH_TOKEN_EXPIRED": "The authorization token has expired.",
"AUTH_TOKEN_INVALID": "The specified auth token is invalid.",
"AUTH_TOKEN_INVALIDX": "The specified auth token is invalid.",
"AUTOARCHIVE_NOT_AVAILABLE": "The autoarchive setting is not available at this time: please check the value of the [autoarchive_setting_available field in client config »](https:\/\/core.telegram.org\/api\/config#client-configuration) before calling this method.",
"BANK_CARD_NUMBER_INVALID": "The specified card number is invalid.",
"BANNED_RIGHTS_INVALID": "You provided some invalid flags in the banned rights.",
"BOT_CHANNELS_NA": "Bots can't edit admin privileges.",
"BOT_COMMAND_DESCRIPTION_INVALID": "The specified command description is invalid.",
"BOT_COMMAND_INVALID": "The specified command is invalid.",
"BOT_DOMAIN_INVALID": "Bot domain invalid.",
"BOT_GROUPS_BLOCKED": "This bot can't be added to groups.",
"BOT_INLINE_DISABLED": "This bot can't be used in inline mode.",
"BOT_INVALID": "This is not a valid bot.",
"BOT_MISSING": "This method can only be run by a bot.",
"BOT_ONESIDE_NOT_AVAIL": "Bots can't pin messages in PM just for themselves.",
"BOT_PAYMENTS_DISABLED": "Please enable bot payments in botfather before calling this method.",
"BOT_POLLS_DISABLED": "",
"BOT_RESPONSE_TIMEOUT": "A timeout occurred while fetching data from the bot.",
"BOT_SCORE_NOT_MODIFIED": "The score wasn't modified.",
"BOTS_TOO_MUCH": "There are too many bots in this chat\/channel.",
"BROADCAST_FORBIDDEN": "Participants of polls in channels should stay anonymous.",
"BROADCAST_ID_INVALID": "Broadcast ID invalid.",
"BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "You can't forward polls with public voters.",
"BROADCAST_REQUIRED": "This method can only be called on a channel, please use stats.getMegagroupStats for supergroups.",
"BUTTON_DATA_INVALID": "The data of one or more of the buttons you provided is invalid.",
"BUTTON_TYPE_INVALID": "The type of one or more of the buttons you provided is invalid.",
"BUTTON_URL_INVALID": "Button URL invalid.",
"CALL_ALREADY_ACCEPTED": "The call was already accepted.",
"CALL_ALREADY_DECLINED": "The call was already declined.",
"CALL_OCCUPY_FAILED": "The call failed because the user is already making another call.",
"CALL_PEER_INVALID": "The provided call peer object is invalid.",
"CALL_PROTOCOL_FLAGS_INVALID": "Call protocol flags invalid.",
"CDN_METHOD_INVALID": "You can't call this method in a CDN DC.",
"CHANNEL_INVALID": "The provided channel is invalid.",
"CHANNEL_PRIVATE": "You haven't joined this channel\/supergroup.",
"CHANNEL_PUBLIC_GROUP_NA": "channel\/supergroup not available.",
"CHANNEL_TOO_LARGE": "Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change).",
"CHANNELS_ADMIN_LOCATED_TOO_MUCH": "The user has reached the limit of public geogroups.",
"CHANNELS_ADMIN_PUBLIC_TOO_MUCH": "You're admin of too many public channels, make some channels private to change the username of this channel.",
"CHANNELS_TOO_MUCH": "You have joined too many channels\/supergroups.",
"CHAT_ABOUT_NOT_MODIFIED": "About text has not changed.",
"CHAT_ABOUT_TOO_LONG": "Chat about too long.",
"CHAT_ADMIN_INVITE_REQUIRED": "You do not have the rights to do this.",
"CHAT_ADMIN_REQUIRED": "You must be an admin in this chat to do this.",
"CHAT_FORWARDS_RESTRICTED": "You can't forward messages from a protected chat.",
"CHAT_ID_EMPTY": "The provided chat ID is empty.",
"CHAT_ID_GENERATE_FAILED": "Failure while generating the chat ID.",
"CHAT_ID_INVALID": "The provided chat id is invalid.",
"CHAT_INVALID": "Invalid chat.",
"CHAT_LINK_EXISTS": "The chat is public, you can't hide the history to new users.",
"CHAT_NOT_MODIFIED": "The pinned message wasn't modified.",
"CHAT_OCCUPY_USERNAME_FAILED": "Could not occupy username.",
"CHAT_RESTRICTED": "You can't send messages in this chat, you were restricted.",
"CHAT_SEND_GAME_FORBIDDEN": "You can't send a game to this chat.",
"CHAT_SEND_GIFS_FORBIDDEN": "You can't send gifs in this chat.",
"CHAT_SEND_INLINE_FORBIDDEN": "You can't send inline messages in this group.",
"CHAT_SEND_MEDIA_FORBIDDEN": "You can't send media in this chat.",
"CHAT_SEND_POLL_FORBIDDEN": "You can't send polls in this chat.",
"CHAT_SEND_STICKERS_FORBIDDEN": "You can't send stickers in this chat.",
"CHAT_TITLE_EMPTY": "No chat title provided.",
"CHAT_TOO_BIG": "This method is not available for groups with more than `chat_read_mark_size_threshold` members, [see client configuration »](https:\/\/core.telegram.org\/api\/config#client-configuration).",
"CHAT_WRITE_FORBIDDEN": "You can't write in this chat.",
"CHP_CALL_FAIL": "Internal failure.",
"CODE_EMPTY": "The provided code is empty.",
"CODE_HASH_INVALID": "Code hash invalid.",
"CODE_INVALID": "Code invalid.",
"CONNECTION_API_ID_INVALID": "The provided API id is invalid.",
"CONNECTION_APP_VERSION_EMPTY": "App version is empty.",
"CONNECTION_LAYER_INVALID": "Layer invalid.",
"CONTACT_ADD_MISSING": "Contact to add is missing.",
"CONTACT_ID_INVALID": "The provided contact ID is invalid.",
"CONTACT_NAME_EMPTY": "Contact name empty.",
"CONTACT_REQ_MISSING": "Missing contact request.",
"CURRENCY_TOTAL_AMOUNT_INVALID": "The total amount of all prices is invalid.",
"DATA_INVALID": "Encrypted data invalid.",
"DATA_JSON_INVALID": "The provided JSON data is invalid.",
"DATA_TOO_LONG": "Data too long.",
"DATE_EMPTY": "Date empty.",
"DC_ID_INVALID": "The provided DC ID is invalid.",
"DH_G_A_INVALID": "g_a invalid.",
"DOCUMENT_INVALID": "The specified document is invalid.",
"EDIT_BOT_INVITE_FORBIDDEN": "",
"EMAIL_HASH_EXPIRED": "Email hash expired.",
"EMAIL_INVALID": "The specified email is invalid.",
"EMAIL_UNCONFIRMED": "Email unconfirmed.",
"EMAIL_UNCONFIRMED_%d": "The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email: use [account.verifyEmail](https:\/\/core.telegram.org\/method\/account.verifyEmail) to enter the received verification code and enable the recovery email.",
"EMAIL_VERIFY_EXPIRED": "The verification email has expired.",
"EMOJI_INVALID": "The specified theme emoji is valid.",
"EMOJI_NOT_MODIFIED": "The theme wasn't changed.",
"EMOTICON_EMPTY": "The emoji is empty.",
"EMOTICON_INVALID": "The specified emoji is invalid.",
"EMOTICON_STICKERPACK_MISSING": "",
"ENCRYPTED_MESSAGE_INVALID": "Encrypted message invalid.",
"ENCRYPTION_ALREADY_ACCEPTED": "Secret chat already accepted.",
"ENCRYPTION_ALREADY_DECLINED": "The secret chat was already declined.",
"ENCRYPTION_DECLINED": "The secret chat was declined.",
"ENCRYPTION_ID_INVALID": "The provided secret chat ID is invalid.",
"ENCRYPTION_OCCUPY_ADMIN_FAILED": "Failed occupying memory for admin info.",
"ENCRYPTION_OCCUPY_FAILED": "Internal server error while accepting secret chat.",
"ENTITIES_TOO_LONG": "You provided too many styled message entities.",
"ENTITY_MENTION_USER_INVALID": "You mentioned an invalid user.",
"ERROR_TEXT_EMPTY": "The provided error message is empty.",
"EXPIRE_DATE_INVALID": "The specified expiration date is invalid.",
"EXPORT_CARD_INVALID": "Provided card is invalid.",
"EXTERNAL_URL_INVALID": "External URL invalid.",
"FILE_CONTENT_TYPE_INVALID": "File content-type is invalid.",
"FILE_EMTPY": "An empty file was provided.",
"FILE_ID_INVALID": "The provided file id is invalid.",
"FILE_PART_EMPTY": "The provided file part is empty.",
"FILE_PART_INVALID": "The file part number is invalid.",
"FILE_PART_LENGTH_INVALID": "The length of a file part is invalid.",
"FILE_PART_SIZE_CHANGED": "Provided file part size has changed.",
"FILE_PART_SIZE_INVALID": "The provided file part size is invalid.",
"FILE_PART_TOO_BIG": "The uploaded file part is too big.",
"FILE_PARTS_INVALID": "The number of file parts is invalid.",
"FILE_REFERENCE_*": "The file reference expired, it [must be refreshed](https:\/\/core.telegram.org\/api\/file_reference).",
"FILE_REFERENCE_EMPTY": "An empty [file reference](https:\/\/core.telegram.org\/api\/file_reference) was specified.",
"FILE_REFERENCE_EXPIRED": "File reference expired, it must be refetched as described in [the documentation](https:\/\/core.telegram.org\/api\/file_reference).",
"FILE_REFERENCE_INVALID": "The specified [file reference](https:\/\/core.telegram.org\/api\/file_reference) is invalid.",
"FILE_TITLE_EMPTY": "An empty file title was specified.",
"FILEREF_UPGRADE_NEEDED": "The client has to be updated in order to support [file references](https:\/\/core.telegram.org\/api\/file_reference).",
"FILTER_ID_INVALID": "The specified filter ID is invalid.",
"FILTER_INCLUDE_EMPTY": "The include_peers vector of the filter is empty.",
"FILTER_NOT_SUPPORTED": "",
"FILTER_TITLE_EMPTY": "The title field of the filter is empty.",
"FIRSTNAME_INVALID": "The first name is invalid.",
"FOLDER_ID_EMPTY": "An empty folder ID was specified.",
"FOLDER_ID_INVALID": "Invalid folder ID.",
"FRESH_CHANGE_ADMINS_FORBIDDEN": "You were just elected admin, you can't add or modify other admins yet.",
"FRESH_CHANGE_PHONE_FORBIDDEN": "You can't change phone number right after logging in, please wait at least 24 hours.",
"FRESH_RESET_AUTHORISATION_FORBIDDEN": "You can't logout other sessions if less than 24 hours have passed since you logged on the current session.",
"FROM_MESSAGE_BOT_DISABLED": "Bots can't use fromMessage min constructors.",
"FROM_PEER_INVALID": "The specified from_id is invalid.",
"GAME_BOT_INVALID": "Bots can't send another bot's game.",
"GEO_POINT_INVALID": "Invalid geoposition provided.",
"GIF_CONTENT_TYPE_INVALID": "GIF content-type invalid.",
"GIF_ID_INVALID": "The provided GIF ID is invalid.",
"GRAPH_EXPIRED_RELOAD": "This graph has expired, please obtain a new graph token.",
"GRAPH_INVALID_RELOAD": "Invalid graph token provided, please reload the stats and provide the updated token.",
"GRAPH_OUTDATED_RELOAD": "The graph is outdated, please get a new async token using stats.getBroadcastStats.",
"GROUPCALL_ALREADY_DISCARDED": "The group call was already discarded.",
"GROUPCALL_FORBIDDEN": "The group call has already ended.",
"GROUPCALL_INVALID": "",
"GROUPCALL_NOT_MODIFIED": "Group call settings weren't modified.",
"GROUPCALL_SSRC_DUPLICATE_MUCH": "The app needs to retry joining the group call with a new SSRC value.",
"GROUPED_MEDIA_INVALID": "Invalid grouped media.",
"HASH_INVALID": "The provided hash is invalid.",
"HISTORY_GET_FAILED": "Fetching of history failed.",
"IMAGE_ENGINE_DOWN": "Image engine down.",
"IMAGE_PROCESS_FAILED": "Failure while processing image.",
"IMPORT_FILE_INVALID": "The specified chat export file is invalid.",
"IMPORT_FORMAT_UNRECOGNIZED": "The specified chat export file was exported from an unsupported chat app.",
"IMPORT_ID_INVALID": "The specified import ID is invalid.",
"INLINE_BOT_REQUIRED": "Only the inline bot can edit message.",
"INLINE_RESULT_EXPIRED": "The inline query expired.",
"INPUT_FILTER_INVALID": "The specified filter is invalid.",
"INPUT_LAYER_INVALID": "The provided layer is invalid.",
"INPUT_USER_DEACTIVATED": "The specified user was deleted.",
"Invalid msg_resend_req query": "Invalid msg_resend_req query.",
"Invalid msgs_ack query": "Invalid msgs_ack query.",
"Invalid msgs_state_req query": "Invalid msgs_state_req query.",
"INVITE_FORBIDDEN_WITH_JOINAS": "",
"INVITE_HASH_EMPTY": "The invite hash is empty.",
"INVITE_HASH_EXPIRED": "The invite link has expired.",
"INVITE_HASH_INVALID": "The invite hash is invalid.",
"INVITE_REQUEST_SENT": "",
"INVITE_REVOKED_MISSING": "",
"LANG_CODE_INVALID": "The specified language code is invalid.",
"LANG_PACK_INVALID": "The provided language pack is invalid.",
"LASTNAME_INVALID": "The last name is invalid.",
"LIMIT_INVALID": "The provided limit is invalid.",
"LINK_NOT_MODIFIED": "Discussion link not modified.",
"LOCATION_INVALID": "The provided location is invalid.",
"MAX_ID_INVALID": "The provided max ID is invalid.",
"MAX_QTS_INVALID": "The specified max_qts is invalid.",
"MD5_CHECKSUM_INVALID": "The MD5 checksums do not match.",
"MEDIA_CAPTION_TOO_LONG": "The caption is too long.",
"MEDIA_EMPTY": "The provided media object is invalid.",
"MEDIA_GROUPED_INVALID": "You tried to send media of different types in an album.",
"MEDIA_INVALID": "Media invalid.",
"MEDIA_NEW_INVALID": "The new media is invalid.",
"MEDIA_PREV_INVALID": "Previous media invalid.",
"MEGAGROUP_ID_INVALID": "Invalid supergroup ID.",
"MEGAGROUP_PREHISTORY_HIDDEN": "Group with hidden history for new members can't be set as discussion groups.",
"MEGAGROUP_REQUIRED": "You can only use this method on a supergroup.",
"MESSAGE_AUTHOR_REQUIRED": "Message author required.",
"MESSAGE_DELETE_FORBIDDEN": "You can't delete one of the messages you tried to delete, most likely because it is a service message.",
"MESSAGE_EDIT_TIME_EXPIRED": "You can't edit this message anymore, too much time has passed since its creation.",
"MESSAGE_EMPTY": "The provided message is empty.",
"MESSAGE_ID_INVALID": "The provided message id is invalid.",
"MESSAGE_IDS_EMPTY": "No message ids were provided.",
"MESSAGE_NOT_MODIFIED": "The message text has not changed.",
"MESSAGE_POLL_CLOSED": "Poll closed.",
"MESSAGE_TOO_LONG": "The provided message is too long.",
"METHOD_INVALID": "The specified method is invalid.",
"MSG_ID_INVALID": "Invalid message ID provided.",
"MSG_RANGE_UNSYNC": "Message range unsynchronized.",
"MSG_WAIT_FAILED": "A waiting call returned an error.",
"MSGID_DECREASE_RETRY": "IDK TBH.",
"MULTI_MEDIA_TOO_LONG": "Too many media files for album.",
"NEED_CHAT_INVALID": "The provided chat is invalid.",
"NEED_MEMBER_INVALID": "The provided member is invalid.",
"NEW_SALT_INVALID": "The new salt is invalid.",
"NEW_SETTINGS_INVALID": "The new password settings are invalid.",
"NEXT_OFFSET_INVALID": "The specified offset is longer than 64 bytes.",
"OFFSET_INVALID": "The provided offset is invalid.",
"OFFSET_PEER_ID_INVALID": "The provided offset peer is invalid.",
"OPTION_INVALID": "Invalid option selected.",
"OPTIONS_TOO_MUCH": "Too many options provided.",
"PACK_SHORT_NAME_INVALID": "Short pack name invalid.",
"PACK_SHORT_NAME_OCCUPIED": "A stickerpack with this name already exists.",
"PACK_TITLE_INVALID": "The stickerpack title is invalid.",
"PARTICIPANT_CALL_FAILED": "Failure while making call.",
"PARTICIPANT_ID_INVALID": "The specified participant ID is invalid.",
"PARTICIPANT_JOIN_MISSING": "Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](\/method\/phone.joinGroupCall).",
"PARTICIPANT_VERSION_OUTDATED": "The other participant does not use an up to date telegram client with support for calls.",
"PARTICIPANTS_TOO_FEW": "Not enough participants.",
"PASSWORD_EMPTY": "The provided password is empty.",
"PASSWORD_HASH_INVALID": "The provided password hash is invalid.",
"PASSWORD_MISSING": "You must enable 2FA in order to transfer ownership of a channel.",
"PASSWORD_RECOVERY_EXPIRED": "The recovery code has expired.",
"PASSWORD_RECOVERY_NA": "No email was set, can't recover password via email.",
"PASSWORD_REQUIRED": "A [2FA password](https:\/\/core.telegram.org\/api\/srp) must be configured to use Telegram Passport.",
"PASSWORD_TOO_FRESH_%d": "The password was modified less than 24 hours ago, try again in %d seconds.",
"PAYMENT_PROVIDER_INVALID": "The specified payment provider is invalid.",
"PEER_ID_INVALID": "The provided peer id is invalid.",
"PEER_ID_NOT_SUPPORTED": "The provided peer ID is not supported.",
"PERSISTENT_TIMESTAMP_EMPTY": "Persistent timestamp empty.",
"PERSISTENT_TIMESTAMP_INVALID": "Persistent timestamp invalid.",
"PERSISTENT_TIMESTAMP_OUTDATED": "Channel internal replication issues, try again later (treat this like an RPC_CALL_FAIL).",
"PHONE_CODE_EMPTY": "phone_code is missing.",
"PHONE_CODE_EXPIRED": "The phone code you provided has expired.",
"PHONE_CODE_HASH_EMPTY": "phone_code_hash is missing.",
"PHONE_CODE_INVALID": "The provided phone code is invalid.",
"PHONE_NUMBER_APP_SIGNUP_FORBIDDEN": "You can't sign up using this app.",
"PHONE_NUMBER_BANNED": "The provided phone number is banned from telegram.",
"PHONE_NUMBER_FLOOD": "You asked for the code too many times.",
"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.",
"PHONE_PASSWORD_FLOOD": "You have tried logging in too many times.",
"PHONE_PASSWORD_PROTECTED": "This phone is password protected.",
"PHOTO_CONTENT_TYPE_INVALID": "Photo mime-type invalid.",
"PHOTO_CONTENT_URL_EMPTY": "Photo URL invalid.",
"PHOTO_CROP_FILE_MISSING": "Photo crop file missing.",
"PHOTO_CROP_SIZE_SMALL": "Photo is too small.",
"PHOTO_EXT_INVALID": "The extension of the photo is invalid.",
"PHOTO_FILE_MISSING": "Profile photo file missing.",
"PHOTO_ID_INVALID": "Photo ID invalid.",
"PHOTO_INVALID": "Photo invalid.",
"PHOTO_INVALID_DIMENSIONS": "The photo dimensions are invalid.",
"PHOTO_SAVE_FILE_INVALID": "Internal issues, try again later.",
"PHOTO_THUMB_URL_EMPTY": "Photo thumbnail URL is empty.",
"PIN_RESTRICTED": "You can't pin messages.",
"PINNED_DIALOGS_TOO_MUCH": "Too many pinned dialogs.",
"POLL_ANSWER_INVALID": "One of the poll answers is not acceptable.",
"POLL_ANSWERS_INVALID": "Invalid poll answers were provided.",
"POLL_OPTION_DUPLICATE": "Duplicate poll options provided.",
"POLL_OPTION_INVALID": "Invalid poll option provided.",
"POLL_QUESTION_INVALID": "One of the poll questions is not acceptable.",
"POLL_VOTE_REQUIRED": "Cast a vote in the poll before calling this method.",
"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN": "Import for this chat is already in progress, wait %d minutes before starting a new one.",
"PRIVACY_KEY_INVALID": "The privacy key is invalid.",
"PRIVACY_TOO_LONG": "Too many privacy rules were specified, the current limit is 1000.",
"PRIVACY_VALUE_INVALID": "The specified privacy rule combination is invalid.",
"PTS_CHANGE_EMPTY": "No PTS change.",
"PUBLIC_KEY_REQUIRED": "A public key is required.",
"QUERY_ID_EMPTY": "The query ID is empty.",
"QUERY_ID_INVALID": "The query ID is invalid.",
"QUERY_TOO_SHORT": "The query string is too short.",
"QUIZ_ANSWER_MISSING": "",
"QUIZ_CORRECT_ANSWER_INVALID": "An invalid value was provided to the correct_answers field.",
"QUIZ_CORRECT_ANSWERS_EMPTY": "No correct quiz answer was specified.",
"QUIZ_CORRECT_ANSWERS_TOO_MUCH": "You specified too many correct answers in a quiz, quizes can only have one right answer!",
"QUIZ_MULTIPLE_INVALID": "Quizes can't have the multiple_choice flag set!",
"RANDOM_ID_DUPLICATE": "You provided a random ID that was already used.",
"RANDOM_ID_EMPTY": "Random ID empty.",
"RANDOM_ID_INVALID": "A provided random ID is invalid.",
"RANDOM_LENGTH_INVALID": "Random length invalid.",
"RANGES_INVALID": "Invalid range provided.",
"REACTION_EMPTY": "Empty reaction provided.",
"REACTION_INVALID": "The specified reaction is invalid.",
"REG_ID_GENERATE_FAILED": "Failure while generating registration ID.",
"REPLY_MARKUP_BUY_EMPTY": "Reply markup for buy button empty.",
"REPLY_MARKUP_INVALID": "The provided reply markup is invalid.",
"REPLY_MARKUP_TOO_LONG": "The specified reply_markup is too long.",
"RESET_REQUEST_MISSING": "No password reset is in progress.",
"RESULT_ID_DUPLICATE": "You provided a duplicate result ID.",
"RESULT_ID_EMPTY": "Result ID empty.",
"RESULT_TYPE_INVALID": "Result type invalid.",
"RESULTS_TOO_MUCH": "Too many results were provided.",
"REVOTE_NOT_ALLOWED": "You cannot change your vote.",
"RIGHT_FORBIDDEN": "Your admin rights do not allow you to do this.",
"RSA_DECRYPT_FAILED": "Internal RSA decryption failed.",
"SCHEDULE_BOT_NOT_ALLOWED": "Bots cannot schedule messages.",
"SCHEDULE_DATE_INVALID": "Invalid schedule date provided.",
"SCHEDULE_DATE_TOO_LATE": "You can't schedule a message this far in the future.",
"SCHEDULE_STATUS_PRIVATE": "Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings.",
"SCHEDULE_TOO_MUCH": "There are too many scheduled messages.",
"SCORE_INVALID": "",
"SEARCH_QUERY_EMPTY": "The search query is empty.",
"SEARCH_WITH_LINK_NOT_SUPPROTED": "",
"SECONDS_INVALID": "Invalid duration provided.",
"SEND_AS_PEER_INVALID": "You can't send messages as the specified peer.",
"SEND_CODE_UNAVAILABLE": "Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend).",
"SEND_MESSAGE_MEDIA_INVALID": "Invalid media provided.",
"SEND_MESSAGE_TYPE_INVALID": "The message type is invalid.",
"SENSITIVE_CHANGE_FORBIDDEN": "You can't change your sensitive content settings.",
"SESSION_PASSWORD_NEEDED": "2FA is enabled, use a password to login.",
"SESSION_TOO_FRESH_%d": "This session was created less than 24 hours ago, try again in %d seconds.",
"SETTINGS_INVALID": "Invalid settings were provided.",
"SHA256_HASH_INVALID": "The provided SHA256 hash is invalid.",
"SHORT_NAME_INVALID": "The specified short name is invalid.",
"SHORT_NAME_OCCUPIED": "The specified short name is already in use.",
"SIGN_IN_FAILED": "Failure while signing in.",
"SLOWMODE_MULTI_MSGS_DISABLED": "Slowmode is enabled, you cannot forward multiple messages to this group.",
"SLOWMODE_WAIT_%d": "Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.",
"SMS_CODE_CREATE_FAILED": "An error occurred while creating the SMS code.",
"SRP_ID_INVALID": "Invalid SRP ID provided.",
"SRP_PASSWORD_CHANGED": "Password has changed.",
"START_PARAM_EMPTY": "The start parameter is empty.",
"START_PARAM_INVALID": "Start parameter invalid.",
"START_PARAM_TOO_LONG": "Start parameter is too long.",
"STICKER_DOCUMENT_INVALID": "The specified sticker document is invalid.",
"STICKER_EMOJI_INVALID": "Sticker emoji invalid.",
"STICKER_FILE_INVALID": "Sticker file invalid.",
"STICKER_GIF_DIMENSIONS": "",
"STICKER_ID_INVALID": "The provided sticker ID is invalid.",
"STICKER_INVALID": "The provided sticker is invalid.",
"STICKER_PNG_DIMENSIONS": "Sticker png dimensions invalid.",
"STICKER_PNG_NOPNG": "One of the specified stickers is not a valid PNG file.",
"STICKER_TGS_NODOC": "Incorrect document type for sticker.",
"STICKER_TGS_NOTGS": "Invalid TGS sticker provided.",
"STICKER_THUMB_PNG_NOPNG": "Incorrect stickerset thumb file provided, PNG \/ WEBP expected.",
"STICKER_THUMB_TGS_NOTGS": "Incorrect stickerset TGS thumb file provided.",
"STICKER_VIDEO_BIG": "",
"STICKER_VIDEO_NOWEBM": "",
"STICKERPACK_STICKERS_TOO_MUCH": "",
"STICKERS_EMPTY": "No sticker provided.",
"STICKERS_TOO_MUCH": "",
"STICKERSET_INVALID": "The provided sticker set is invalid.",
"STICKERSET_OWNER_ANONYMOUS": "Provided stickerset can't be installed as group stickerset to prevent admin deanonymisation.",
"STORAGE_CHECK_FAILED": "Server storage check failed.",
"TAKEOUT_INIT_DELAY_%d": "Wait %d seconds before initing takeout.",
"TAKEOUT_REQUIRED": "A takeout session has to be initialized, first.",
"TEMP_AUTH_KEY_ALREADY_BOUND": "The passed temporary key is already bound to another **perm_auth_key_id**.",
"TEMP_AUTH_KEY_EMPTY": "No temporary auth key provided.",
"THEME_FILE_INVALID": "Invalid theme file provided.",
"THEME_FORMAT_INVALID": "Invalid theme format provided.",
"THEME_INVALID": "Invalid theme provided.",
"THEME_MIME_INVALID": "The theme's MIME type is invalid.",
"Timeout": "Timeout while fetching data.",
"TITLE_INVALID": "The specified stickerpack title is invalid.",
"TMP_PASSWORD_DISABLED": "The temporary password is disabled.",
"TOKEN_INVALID": "The provided token is invalid.",
"TTL_DAYS_INVALID": "The provided TTL is invalid.",
"TTL_MEDIA_INVALID": "Invalid media Time To Live was provided.",
"TTL_PERIOD_INVALID": "The specified TTL period is invalid.",
"TYPES_EMPTY": "No top peer type was provided.",
"UNKNOWN_METHOD": "The method you tried to call cannot be called on non-CDN DCs.",
"UNTIL_DATE_INVALID": "Invalid until date provided.",
"UPDATE_APP_REQUIRED": "Please update to the latest version of MadelineProto.",
"UPDATE_APP_TO_LOGIN": "Please update to the latest version of MadelineProto to login.",
"URL_INVALID": "Invalid URL provided.",
"USAGE_LIMIT_INVALID": "The specified usage limit is invalid.",
"USER_ADMIN_INVALID": "You're not an admin.",
"USER_ALREADY_INVITED": "",
"USER_ALREADY_PARTICIPANT": "The user is already in the group.",
"USER_BANNED_IN_CHANNEL": "You're banned from sending messages in supergroups\/channels.",
"USER_BLOCKED": "User blocked.",
"USER_BOT": "Bots can only be admins in channels.",
"USER_BOT_INVALID": "This method can only be called by a bot.",
"USER_BOT_REQUIRED": "This method can only be called by a bot.",
"USER_CHANNELS_TOO_MUCH": "One of the users you tried to add is already in too many channels\/supergroups.",
"USER_CREATOR": "You can't leave this channel, because you're its creator.",
"USER_DELETED": "You can't send this secret message because the other participant deleted their account.",
"USER_ID_INVALID": "The provided user ID is invalid.",
"USER_INVALID": "Invalid user provided.",
"USER_IS_BLOCKED": "You were blocked by this user.",
"USER_IS_BOT": "Bots can't send messages to other bots.",
"USER_KICKED": "This user was kicked from this supergroup\/channel.",
"USER_NOT_MUTUAL_CONTACT": "The provided user is not a mutual contact.",
"USER_NOT_PARTICIPANT": "You're not a member of this supergroup\/channel.",
"USER_PRIVACY_RESTRICTED": "The user's privacy settings do not allow you to do this.",
"USER_RESTRICTED": "You're spamreported, you can't create channels or chats.",
"USER_VOLUME_INVALID": "The specified user volume is invalid.",
"USERNAME_INVALID": "The provided username is not valid.",
"USERNAME_NOT_MODIFIED": "The username was not modified.",
"USERNAME_NOT_OCCUPIED": "The provided username is not occupied.",
"USERNAME_OCCUPIED": "The provided username is already occupied.",
"USERPIC_PRIVACY_REQUIRED": "You need to disable privacy settings for your profile picture in order to make your geolocation public.",
"USERPIC_UPLOAD_REQUIRED": "You must have a profile picture to publish your geolocation.",
"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).",
"VIDEO_CONTENT_TYPE_INVALID": "The video's content type is invalid.",
"VIDEO_FILE_INVALID": "The specified video file is invalid.",
"VIDEO_TITLE_EMPTY": "The specified video title is empty.",
"WALLPAPER_FILE_INVALID": "The specified wallpaper file is invalid.",
"WALLPAPER_INVALID": "The specified wallpaper is invalid.",
"WALLPAPER_MIME_INVALID": "The specified wallpaper MIME type is invalid.",
"WC_CONVERT_URL_INVALID": "WC convert URL invalid.",
"WEBDOCUMENT_INVALID": "Invalid webdocument URL provided.",
"WEBDOCUMENT_MIME_INVALID": "Invalid webdocument mime type provided.",
"WEBDOCUMENT_SIZE_TOO_BIG": "Webdocument is too big!",
"WEBDOCUMENT_URL_INVALID": "The specified webdocument URL is invalid.",
"WEBPAGE_CURL_FAILED": "Failure while fetching the webpage with cURL.",
"WEBPAGE_MEDIA_EMPTY": "Webpage media empty.",
"WEBPUSH_AUTH_INVALID": "The specified web push authentication secret is invalid.",
"WEBPUSH_KEY_INVALID": "The specified web push elliptic curve Diffie-Hellman public key is invalid.",
"WEBPUSH_TOKEN_INVALID": "The specified web push token is invalid.",
"YOU_BLOCKED_USER": "You blocked this user.",
"FLOOD_WAIT_%d": "Please wait %d seconds before repeating the action."
}
}