mirror of
https://github.com/danog/rpc-db.git
synced 2024-11-26 12:04:45 +01:00
3886 lines
169 KiB
JSON
3886 lines
169 KiB
JSON
{
|
|
"ok": true,
|
|
"result": {
|
|
"420": {
|
|
"2FA_CONFIRM_WAIT_%d": [
|
|
"account.deleteAccount"
|
|
],
|
|
"ADDRESS_INVALID": [
|
|
"channels.createChannel"
|
|
],
|
|
"FLOOD_PREMIUM_WAIT_%d": [
|
|
"upload.getFile"
|
|
],
|
|
"PREMIUM_SUB_ACTIVE_UNTIL_%d": [
|
|
"payments.applyGiftCode"
|
|
],
|
|
"SLOWMODE_WAIT_%d": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"TAKEOUT_INIT_DELAY_%d": [
|
|
"account.initTakeoutSession"
|
|
],
|
|
"FLOOD_WAIT_%d": []
|
|
},
|
|
"400": {
|
|
"ABOUT_TOO_LONG": [
|
|
"account.updateProfile"
|
|
],
|
|
"ACCESS_TOKEN_EXPIRED": [
|
|
"auth.importBotAuthorization"
|
|
],
|
|
"ACCESS_TOKEN_INVALID": [
|
|
"auth.importBotAuthorization"
|
|
],
|
|
"AD_EXPIRED": [
|
|
"channels.reportSponsoredMessage"
|
|
],
|
|
"ADDRESS_INVALID": [
|
|
"channels.createChannel"
|
|
],
|
|
"ADMIN_ID_INVALID": [
|
|
"messages.deleteRevokedExportedChatInvites",
|
|
"messages.getExportedChatInvites"
|
|
],
|
|
"ADMIN_RANK_EMOJI_NOT_ALLOWED": [
|
|
"channels.editAdmin"
|
|
],
|
|
"ADMIN_RANK_INVALID": [
|
|
"channels.editAdmin"
|
|
],
|
|
"ADMIN_RIGHTS_EMPTY": [
|
|
"messages.sendMessage"
|
|
],
|
|
"ADMINS_TOO_MUCH": [
|
|
"channels.editAdmin"
|
|
],
|
|
"ALBUM_PHOTOS_TOO_MANY": [
|
|
"photos.updateProfilePhoto",
|
|
"photos.uploadProfilePhoto"
|
|
],
|
|
"API_ID_INVALID": [
|
|
"auth.exportLoginToken",
|
|
"auth.importBotAuthorization",
|
|
"auth.importWebTokenAuthorization",
|
|
"auth.sendCode"
|
|
],
|
|
"API_ID_PUBLISHED_FLOOD": [
|
|
"auth.exportLoginToken",
|
|
"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.acceptLoginToken",
|
|
"auth.importLoginToken"
|
|
],
|
|
"AUTH_TOKEN_EXCEPTION": [
|
|
"auth.acceptLoginToken"
|
|
],
|
|
"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"
|
|
],
|
|
"BIRTHDAY_INVALID": [
|
|
"account.updateBirthday"
|
|
],
|
|
"BOOST_NOT_MODIFIED": [
|
|
"stories.applyBoost",
|
|
"stories.canApplyBoost"
|
|
],
|
|
"BOOST_PEER_INVALID": [
|
|
"payments.getPaymentForm"
|
|
],
|
|
"BOOSTS_EMPTY": [
|
|
"premium.applyBoost"
|
|
],
|
|
"BOOSTS_REQUIRED": [
|
|
"channels.updateColor",
|
|
"stories.canSendStory",
|
|
"stories.sendStory"
|
|
],
|
|
"BOT_APP_BOT_INVALID": [
|
|
"messages.getBotApp"
|
|
],
|
|
"BOT_APP_INVALID": [
|
|
"messages.getBotApp",
|
|
"messages.requestAppWebView"
|
|
],
|
|
"BOT_APP_SHORTNAME_INVALID": [
|
|
"messages.getBotApp",
|
|
"messages.requestAppWebView"
|
|
],
|
|
"BOT_BUSINESS_MISSING": [
|
|
"account.updateConnectedBot"
|
|
],
|
|
"BOT_CHANNELS_NA": [
|
|
"channels.editAdmin"
|
|
],
|
|
"BOT_COMMAND_DESCRIPTION_INVALID": [
|
|
"bots.setBotCommands"
|
|
],
|
|
"BOT_COMMAND_INVALID": [
|
|
"bots.setBotCommands"
|
|
],
|
|
"BOT_DOMAIN_INVALID": [
|
|
"messages.editMessage",
|
|
"messages.sendMessage"
|
|
],
|
|
"BOT_GROUPS_BLOCKED": [
|
|
"channels.editAdmin",
|
|
"channels.inviteToChannel",
|
|
"messages.addChatUser"
|
|
],
|
|
"BOT_INLINE_DISABLED": [
|
|
"messages.getInlineBotResults"
|
|
],
|
|
"BOT_INVALID": [
|
|
"account.acceptAuthorization",
|
|
"account.getAuthorizationForm",
|
|
"bots.allowSendMessage",
|
|
"bots.canSendMessage",
|
|
"bots.getBotInfo",
|
|
"bots.invokeWebViewCustomMethod",
|
|
"bots.reorderUsernames",
|
|
"bots.toggleUsername",
|
|
"messages.editMessage",
|
|
"messages.getAttachMenuBot",
|
|
"messages.getInlineBotResults",
|
|
"messages.prolongWebView",
|
|
"messages.requestSimpleWebView",
|
|
"messages.requestWebView",
|
|
"messages.sendMessage",
|
|
"messages.sendWebViewData",
|
|
"messages.startBot",
|
|
"messages.toggleBotInAttachMenu",
|
|
"photos.uploadProfilePhoto"
|
|
],
|
|
"BOT_MISSING": [
|
|
"stickers.addStickerToSet",
|
|
"stickers.changeSticker",
|
|
"stickers.deleteStickerSet",
|
|
"stickers.removeStickerFromSet"
|
|
],
|
|
"BOT_NOT_CONNECTED_YET": [
|
|
"account.disablePeerConnectedBot"
|
|
],
|
|
"BOT_ONESIDE_NOT_AVAIL": [
|
|
"messages.updatePinnedMessage"
|
|
],
|
|
"BOT_PAYMENTS_DISABLED": [
|
|
"messages.sendMedia"
|
|
],
|
|
"BOT_RESPONSE_TIMEOUT": [
|
|
"messages.getBotCallbackAnswer",
|
|
"messages.getInlineBotResults"
|
|
],
|
|
"BOT_SCORE_NOT_MODIFIED": [
|
|
"messages.setGameScore"
|
|
],
|
|
"BOT_WEBVIEW_DISABLED": [
|
|
"messages.requestWebView"
|
|
],
|
|
"BOTS_TOO_MUCH": [
|
|
"channels.editAdmin",
|
|
"channels.inviteToChannel"
|
|
],
|
|
"BROADCAST_ID_INVALID": [
|
|
"channels.setDiscussionGroup"
|
|
],
|
|
"BROADCAST_PUBLIC_VOTERS_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendMedia"
|
|
],
|
|
"BROADCAST_REQUIRED": [
|
|
"stats.getBroadcastStats"
|
|
],
|
|
"BUSINESS_PEER_INVALID": [
|
|
"messages.sendMessage"
|
|
],
|
|
"BUSINESS_RECIPIENTS_EMPTY": [
|
|
"account.updateConnectedBot"
|
|
],
|
|
"BUSINESS_WORK_HOURS_EMPTY": [
|
|
"account.updateBusinessWorkHours"
|
|
],
|
|
"BUSINESS_WORK_HOURS_PERIOD_INVALID": [
|
|
"account.updateBusinessWorkHours"
|
|
],
|
|
"BUTTON_DATA_INVALID": [
|
|
"messages.editInlineBotMessage",
|
|
"messages.editMessage",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"BUTTON_TEXT_INVALID": [
|
|
"bots.setBotMenuButton"
|
|
],
|
|
"BUTTON_TYPE_INVALID": [
|
|
"messages.editMessage",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"BUTTON_URL_INVALID": [
|
|
"bots.setBotMenuButton",
|
|
"messages.editMessage",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.setInlineBotResults",
|
|
"test.test"
|
|
],
|
|
"BUTTON_USER_INVALID": [
|
|
"messages.sendMessage"
|
|
],
|
|
"BUTTON_USER_PRIVACY_RESTRICTED": [
|
|
"messages.sendMessage"
|
|
],
|
|
"CALL_ALREADY_ACCEPTED": [
|
|
"phone.acceptCall",
|
|
"phone.discardCall"
|
|
],
|
|
"CALL_ALREADY_DECLINED": [
|
|
"phone.acceptCall",
|
|
"phone.confirmCall",
|
|
"phone.receivedCall"
|
|
],
|
|
"CALL_OCCUPY_FAILED": [
|
|
"phone.discardCall"
|
|
],
|
|
"CALL_PEER_INVALID": [
|
|
"phone.acceptCall",
|
|
"phone.confirmCall",
|
|
"phone.discardCall",
|
|
"phone.receivedCall",
|
|
"phone.saveCallDebug",
|
|
"phone.saveCallLog",
|
|
"phone.sendSignalingData",
|
|
"phone.setCallRating"
|
|
],
|
|
"CALL_PROTOCOL_FLAGS_INVALID": [
|
|
"phone.acceptCall",
|
|
"phone.requestCall"
|
|
],
|
|
"CDN_METHOD_INVALID": [
|
|
"invokeWithLayer",
|
|
"updates.getDifference",
|
|
"upload.getCdnFileHashes",
|
|
"upload.getFile",
|
|
"upload.reuploadCdnFile"
|
|
],
|
|
"CHANNEL_FORUM_MISSING": [
|
|
"channels.createForumTopic",
|
|
"channels.editForumTopic",
|
|
"channels.getForumTopics",
|
|
"channels.getForumTopicsByID"
|
|
],
|
|
"CHANNEL_ID_INVALID": [
|
|
"channels.convertToGigagroup"
|
|
],
|
|
"CHANNEL_INVALID": [
|
|
"account.updateNotifySettings",
|
|
"channels.checkUsername",
|
|
"channels.clickSponsoredMessage",
|
|
"channels.convertToGigagroup",
|
|
"channels.createForumTopic",
|
|
"channels.deactivateAllUsernames",
|
|
"channels.deleteChannel",
|
|
"channels.deleteHistory",
|
|
"channels.deleteMessages",
|
|
"channels.deleteParticipantHistory",
|
|
"channels.deleteTopicHistory",
|
|
"channels.deleteUserHistory",
|
|
"channels.editAbout",
|
|
"channels.editAdmin",
|
|
"channels.editBanned",
|
|
"channels.editForumTopic",
|
|
"channels.editLocation",
|
|
"channels.editPhoto",
|
|
"channels.editTitle",
|
|
"channels.exportInvite",
|
|
"channels.exportMessageLink",
|
|
"channels.getAdminLog",
|
|
"channels.getChannelRecommendations",
|
|
"channels.getChannels",
|
|
"channels.getForumTopics",
|
|
"channels.getForumTopicsByID",
|
|
"channels.getFullChannel",
|
|
"channels.getMessages",
|
|
"channels.getParticipant",
|
|
"channels.getParticipants",
|
|
"channels.getSendAs",
|
|
"channels.getSponsoredMessages",
|
|
"channels.inviteToChannel",
|
|
"channels.joinChannel",
|
|
"channels.leaveChannel",
|
|
"channels.readHistory",
|
|
"channels.readMessageContents",
|
|
"channels.reorderPinnedForumTopics",
|
|
"channels.reorderUsernames",
|
|
"channels.reportAntiSpamFalsePositive",
|
|
"channels.reportSpam",
|
|
"channels.reportSponsoredMessage",
|
|
"channels.restrictSponsoredMessages",
|
|
"channels.setBoostsToUnblockRestrictions",
|
|
"channels.setDiscussionGroup",
|
|
"channels.setEmojiStickers",
|
|
"channels.setStickers",
|
|
"channels.toggleAntiSpam",
|
|
"channels.toggleForum",
|
|
"channels.toggleInvites",
|
|
"channels.toggleJoinRequest",
|
|
"channels.toggleJoinToSend",
|
|
"channels.toggleParticipantsHidden",
|
|
"channels.togglePreHistoryHidden",
|
|
"channels.toggleSignatures",
|
|
"channels.toggleSlowMode",
|
|
"channels.toggleUsername",
|
|
"channels.toggleViewForumAsMessages",
|
|
"channels.updateColor",
|
|
"channels.updateEmojiStatus",
|
|
"channels.updatePinnedForumTopic",
|
|
"channels.updatePinnedMessage",
|
|
"channels.updateUsername",
|
|
"channels.viewSponsoredMessage",
|
|
"chatlists.editExportedInvite",
|
|
"messages.editChatAbout",
|
|
"messages.editMessage",
|
|
"messages.exportChatInvite",
|
|
"messages.forwardMessages",
|
|
"messages.getBotCallbackAnswer",
|
|
"messages.getChatInviteImporters",
|
|
"messages.getDiscussionMessage",
|
|
"messages.getExportedChatInvites",
|
|
"messages.getHistory",
|
|
"messages.getInlineBotResults",
|
|
"messages.getMessagesReactions",
|
|
"messages.getMessagesViews",
|
|
"messages.getPeerDialogs",
|
|
"messages.getPeerSettings",
|
|
"messages.getReplies",
|
|
"messages.getUnreadMentions",
|
|
"messages.hideAllChatJoinRequests",
|
|
"messages.importChatInvite",
|
|
"messages.readMentions",
|
|
"messages.report",
|
|
"messages.search",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia",
|
|
"messages.sendReaction",
|
|
"messages.sendVote",
|
|
"messages.setTyping",
|
|
"messages.uploadMedia",
|
|
"stats.getBroadcastRevenueStats",
|
|
"stats.getBroadcastRevenueTransactions",
|
|
"stats.getBroadcastStats",
|
|
"stats.getMegagroupStats",
|
|
"stats.getMessagePublicForwards",
|
|
"stats.getMessageStats",
|
|
"stories.getBoostersList",
|
|
"stories.getPeerStories",
|
|
"stories.getStoriesByID",
|
|
"stories.getStoriesViews",
|
|
"updates.getChannelDifference",
|
|
"updates.getDifference",
|
|
"upload.getFile",
|
|
"users.getFullUser",
|
|
"users.getUsers"
|
|
],
|
|
"CHANNEL_PARICIPANT_MISSING": [
|
|
"channels.deleteHistory"
|
|
],
|
|
"CHANNEL_PRIVATE": [
|
|
"account.reportPeer",
|
|
"account.updateNotifySettings",
|
|
"channels.checkUsername",
|
|
"channels.deleteChannel",
|
|
"channels.deleteHistory",
|
|
"channels.deleteMessages",
|
|
"channels.deleteParticipantHistory",
|
|
"channels.deleteUserHistory",
|
|
"channels.editAdmin",
|
|
"channels.editBanned",
|
|
"channels.editCreator",
|
|
"channels.editPhoto",
|
|
"channels.editTitle",
|
|
"channels.exportMessageLink",
|
|
"channels.getAdminLog",
|
|
"channels.getChannelRecommendations",
|
|
"channels.getChannels",
|
|
"channels.getForumTopics",
|
|
"channels.getFullChannel",
|
|
"channels.getMessages",
|
|
"channels.getParticipant",
|
|
"channels.getParticipants",
|
|
"channels.getSendAs",
|
|
"channels.getSponsoredMessages",
|
|
"channels.inviteToChannel",
|
|
"channels.joinChannel",
|
|
"channels.leaveChannel",
|
|
"channels.readHistory",
|
|
"channels.readMessageContents",
|
|
"channels.togglePreHistoryHidden",
|
|
"channels.toggleUsername",
|
|
"channels.updateUsername",
|
|
"channels.viewSponsoredMessage",
|
|
"contacts.addContact",
|
|
"contacts.block",
|
|
"contacts.unblock",
|
|
"folders.editPeerFolders",
|
|
"messages.deleteHistory",
|
|
"messages.editChatAbout",
|
|
"messages.editChatDefaultBannedRights",
|
|
"messages.editExportedChatInvite",
|
|
"messages.editMessage",
|
|
"messages.exportChatInvite",
|
|
"messages.forwardMessages",
|
|
"messages.getBotCallbackAnswer",
|
|
"messages.getChatInviteImporters",
|
|
"messages.getDiscussionMessage",
|
|
"messages.getExportedChatInvite",
|
|
"messages.getExportedChatInvites",
|
|
"messages.getHistory",
|
|
"messages.getInlineBotResults",
|
|
"messages.getMessagesReactions",
|
|
"messages.getMessagesViews",
|
|
"messages.getOnlines",
|
|
"messages.getPeerDialogs",
|
|
"messages.getPeerSettings",
|
|
"messages.getReplies",
|
|
"messages.getUnreadMentions",
|
|
"messages.hideAllChatJoinRequests",
|
|
"messages.hideChatJoinRequest",
|
|
"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",
|
|
"phone.createGroupCall",
|
|
"stats.getBroadcastStats",
|
|
"stories.getPeerStories",
|
|
"stories.getStoriesByID",
|
|
"stories.getStoriesViews",
|
|
"updates.getChannelDifference",
|
|
"updates.getDifference",
|
|
"upload.getFile",
|
|
"users.getFullUser",
|
|
"users.getUsers"
|
|
],
|
|
"CHANNEL_TOO_BIG": [
|
|
"channels.deleteHistory"
|
|
],
|
|
"CHANNEL_TOO_LARGE": [
|
|
"channels.deleteChannel"
|
|
],
|
|
"CHANNELS_ADMIN_LOCATED_TOO_MUCH": [
|
|
"channels.createChannel",
|
|
"channels.getAdminedPublicChannels"
|
|
],
|
|
"CHANNELS_ADMIN_PUBLIC_TOO_MUCH": [
|
|
"channels.checkUsername",
|
|
"channels.editCreator",
|
|
"channels.getAdminedPublicChannels",
|
|
"channels.updateUsername"
|
|
],
|
|
"CHANNELS_TOO_MUCH": [
|
|
"channels.createChannel",
|
|
"channels.joinChannel",
|
|
"messages.hideAllChatJoinRequests",
|
|
"messages.hideChatJoinRequest",
|
|
"messages.importChatInvite",
|
|
"messages.migrateChat"
|
|
],
|
|
"CHARGE_ALREADY_REFUNDED": [
|
|
"payments.refundStarsCharge"
|
|
],
|
|
"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.deleteHistory",
|
|
"channels.deleteParticipantHistory",
|
|
"channels.deleteUserHistory",
|
|
"channels.editAbout",
|
|
"channels.editAdmin",
|
|
"channels.editBanned",
|
|
"channels.editCreator",
|
|
"channels.editLocation",
|
|
"channels.editPhoto",
|
|
"channels.editTitle",
|
|
"channels.exportInvite",
|
|
"channels.getAdminLog",
|
|
"channels.getParticipant",
|
|
"channels.getParticipants",
|
|
"channels.inviteToChannel",
|
|
"channels.reportSpam",
|
|
"channels.setDiscussionGroup",
|
|
"channels.toggleInvites",
|
|
"channels.toggleJoinRequest",
|
|
"channels.toggleJoinToSend",
|
|
"channels.togglePreHistoryHidden",
|
|
"channels.toggleSignatures",
|
|
"channels.toggleSlowMode",
|
|
"channels.toggleUsername",
|
|
"channels.updatePinnedMessage",
|
|
"channels.updateUsername",
|
|
"messages.addChatUser",
|
|
"messages.checkHistoryImportPeer",
|
|
"messages.deleteChat",
|
|
"messages.deleteChatUser",
|
|
"messages.deleteHistory",
|
|
"messages.editChatAbout",
|
|
"messages.editChatDefaultBannedRights",
|
|
"messages.editChatTitle",
|
|
"messages.editExportedChatInvite",
|
|
"messages.editMessage",
|
|
"messages.exportChatInvite",
|
|
"messages.forwardMessages",
|
|
"messages.getAdminsWithInvites",
|
|
"messages.getChatInviteImporters",
|
|
"messages.getExportedChatInvite",
|
|
"messages.getExportedChatInvites",
|
|
"messages.getMessageEditData",
|
|
"messages.getScheduledHistory",
|
|
"messages.getScheduledMessages",
|
|
"messages.hideAllChatJoinRequests",
|
|
"messages.hideChatJoinRequest",
|
|
"messages.initHistoryImport",
|
|
"messages.migrateChat",
|
|
"messages.search",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia",
|
|
"messages.setChatAvailableReactions",
|
|
"messages.setTyping",
|
|
"messages.startBot",
|
|
"messages.toggleNoForwards",
|
|
"messages.unpinAllMessages",
|
|
"messages.updatePinnedMessage",
|
|
"messages.uploadImportedMedia",
|
|
"messages.uploadMedia",
|
|
"phone.createGroupCall",
|
|
"phone.getGroupCallStreamRtmpUrl",
|
|
"premium.getBoostsList",
|
|
"stats.getBroadcastRevenueStats",
|
|
"stats.getBroadcastStats",
|
|
"stats.getMegagroupStats",
|
|
"stats.getMessagePublicForwards",
|
|
"stats.getMessageStats",
|
|
"stories.canSendStory",
|
|
"stories.getBoostersList",
|
|
"stories.getStoriesArchive"
|
|
],
|
|
"CHAT_DISCUSSION_UNALLOWED": [
|
|
"channels.toggleForum"
|
|
],
|
|
"CHAT_FORWARDS_RESTRICTED": [
|
|
"messages.editMessage",
|
|
"messages.forwardMessages",
|
|
"messages.sendMedia",
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"CHAT_ID_EMPTY": [
|
|
"messages.discardEncryption"
|
|
],
|
|
"CHAT_ID_INVALID": [
|
|
"channels.checkUsername",
|
|
"channels.getSendAs",
|
|
"channels.setStickers",
|
|
"channels.toggleJoinRequest",
|
|
"channels.toggleJoinToSend",
|
|
"channels.toggleParticipantsHidden",
|
|
"channels.togglePreHistoryHidden",
|
|
"channels.toggleSignatures",
|
|
"channels.toggleSlowMode",
|
|
"channels.updatePinnedMessage",
|
|
"folders.editPeerFolders",
|
|
"messages.acceptEncryption",
|
|
"messages.addChatUser",
|
|
"messages.deleteChat",
|
|
"messages.deleteChatUser",
|
|
"messages.deleteHistory",
|
|
"messages.editChatAbout",
|
|
"messages.editChatAdmin",
|
|
"messages.editChatDefaultBannedRights",
|
|
"messages.editChatPhoto",
|
|
"messages.editChatTitle",
|
|
"messages.exportChatInvite",
|
|
"messages.forwardMessage",
|
|
"messages.forwardMessages",
|
|
"messages.getChats",
|
|
"messages.getFullChat",
|
|
"messages.getHistory",
|
|
"messages.getMessagesViews",
|
|
"messages.getOnlines",
|
|
"messages.migrateChat",
|
|
"messages.readDiscussion",
|
|
"messages.readEncryptedHistory",
|
|
"messages.readHistory",
|
|
"messages.reportEncryptedSpam",
|
|
"messages.search",
|
|
"messages.sendEncrypted",
|
|
"messages.sendEncryptedFile",
|
|
"messages.sendEncryptedService",
|
|
"messages.sendMessage",
|
|
"messages.setEncryptedTyping",
|
|
"messages.setTyping",
|
|
"messages.toggleChatAdmins",
|
|
"messages.updateDialogFilter",
|
|
"messages.uploadEncryptedFile",
|
|
"messages.uploadMedia"
|
|
],
|
|
"CHAT_INVALID": [
|
|
"channels.inviteToChannel",
|
|
"channels.joinChannel",
|
|
"channels.leaveChannel",
|
|
"messages.createChat",
|
|
"messages.importChatInvite"
|
|
],
|
|
"CHAT_INVITE_PERMANENT": [
|
|
"messages.editExportedChatInvite"
|
|
],
|
|
"CHAT_LINK_EXISTS": [
|
|
"channels.togglePreHistoryHidden"
|
|
],
|
|
"CHAT_NOT_MODIFIED": [
|
|
"channels.deleteChannel",
|
|
"channels.editCreator",
|
|
"channels.editLocation",
|
|
"channels.editPhoto",
|
|
"channels.editTitle",
|
|
"channels.getFullChannel",
|
|
"channels.reorderUsernames",
|
|
"channels.toggleAntiSpam",
|
|
"channels.toggleForum",
|
|
"channels.toggleInvites",
|
|
"channels.toggleJoinRequest",
|
|
"channels.toggleJoinToSend",
|
|
"channels.toggleParticipantsHidden",
|
|
"channels.togglePreHistoryHidden",
|
|
"channels.toggleSignatures",
|
|
"channels.toggleSlowMode",
|
|
"channels.toggleUsername",
|
|
"channels.updatePinnedMessage",
|
|
"channels.updateUsername",
|
|
"messages.editChatAbout",
|
|
"messages.editChatDefaultBannedRights",
|
|
"messages.editChatPhoto",
|
|
"messages.editChatTitle",
|
|
"messages.setChatAvailableReactions",
|
|
"messages.setHistoryTTL",
|
|
"messages.toggleChatAdmins",
|
|
"messages.toggleNoForwards",
|
|
"messages.unpinAllMessages",
|
|
"messages.updatePinnedMessage"
|
|
],
|
|
"CHAT_PUBLIC_REQUIRED": [
|
|
"channels.toggleJoinRequest"
|
|
],
|
|
"CHAT_RESTRICTED": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.uploadMedia"
|
|
],
|
|
"CHAT_REVOKE_DATE_UNSUPPORTED": [
|
|
"messages.deleteHistory"
|
|
],
|
|
"CHAT_SEND_INLINE_FORBIDDEN": [
|
|
"messages.sendInlineBotResult"
|
|
],
|
|
"CHAT_TITLE_EMPTY": [
|
|
"channels.createChannel",
|
|
"channels.editTitle",
|
|
"messages.createChat",
|
|
"messages.editChatTitle"
|
|
],
|
|
"CHAT_TOO_BIG": [
|
|
"messages.getMessageReadParticipants",
|
|
"messages.getMessagesReadParticipants"
|
|
],
|
|
"CHATLINK_SLUG_EMPTY": [
|
|
"account.deleteBusinessChatLink",
|
|
"account.editBusinessChatLink",
|
|
"account.resolveBusinessChatLink"
|
|
],
|
|
"CHATLINK_SLUG_EXPIRED": [
|
|
"account.deleteBusinessChatLink",
|
|
"account.resolveBusinessChatLink"
|
|
],
|
|
"CHATLINKS_TOO_MUCH": [
|
|
"account.createBusinessChatLink"
|
|
],
|
|
"CHATLIST_EXCLUDE_INVALID": [
|
|
"messages.updateDialogFilter"
|
|
],
|
|
"CODE_EMPTY": [
|
|
"auth.checkRecoveryPassword",
|
|
"auth.recoverPassword"
|
|
],
|
|
"CODE_HASH_INVALID": [
|
|
"account.confirmPhone"
|
|
],
|
|
"CODE_INVALID": [
|
|
"account.confirmPasswordEmail"
|
|
],
|
|
"COLLECTIBLE_INVALID": [
|
|
"fragment.getCollectibleInfo"
|
|
],
|
|
"COLLECTIBLE_NOT_FOUND": [
|
|
"fragment.getCollectibleInfo"
|
|
],
|
|
"COLOR_INVALID": [
|
|
"account.updateColor"
|
|
],
|
|
"CONNECTION_API_ID_INVALID": [
|
|
"help.getConfig",
|
|
"invokeWithLayer"
|
|
],
|
|
"CONNECTION_APP_VERSION_EMPTY": [
|
|
"help.getConfig"
|
|
],
|
|
"CONNECTION_ID_INVALID": [
|
|
"account.getBotBusinessConnection"
|
|
],
|
|
"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_MISSING": [
|
|
"photos.uploadContactProfilePhoto"
|
|
],
|
|
"CONTACT_NAME_EMPTY": [
|
|
"contacts.addContact"
|
|
],
|
|
"CONTACT_REQ_MISSING": [
|
|
"contacts.acceptContact"
|
|
],
|
|
"CREATE_CALL_FAILED": [
|
|
"phone.createGroupCall"
|
|
],
|
|
"CURRENCY_TOTAL_AMOUNT_INVALID": [
|
|
"messages.sendMedia",
|
|
"payments.exportInvoice"
|
|
],
|
|
"CUSTOM_REACTIONS_TOO_MANY": [
|
|
"messages.sendReaction"
|
|
],
|
|
"DATA_INVALID": [
|
|
"help.getConfig",
|
|
"messages.getBotCallbackAnswer",
|
|
"messages.sendEncrypted",
|
|
"messages.sendEncryptedService"
|
|
],
|
|
"DATA_JSON_INVALID": [
|
|
"bots.answerWebhookJSONQuery",
|
|
"bots.invokeWebViewCustomMethod",
|
|
"bots.sendCustomRequest",
|
|
"help.acceptTermsOfService",
|
|
"payments.assignPlayMarketTransaction",
|
|
"phone.joinGroupCall",
|
|
"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": [
|
|
"account.updateEmojiStatus",
|
|
"channels.editForumTopic",
|
|
"messages.editMessage",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendReaction",
|
|
"messages.setInlineBotResults",
|
|
"upload.getWebFile"
|
|
],
|
|
"EMAIL_HASH_EXPIRED": [
|
|
"account.cancelPasswordEmail",
|
|
"account.confirmPasswordEmail",
|
|
"account.resendPasswordEmail"
|
|
],
|
|
"EMAIL_INVALID": [
|
|
"account.sendVerifyEmailCode",
|
|
"account.updatePasswordSettings",
|
|
"account.verifyEmail"
|
|
],
|
|
"EMAIL_NOT_SETUP": [
|
|
"account.sendVerifyEmailCode"
|
|
],
|
|
"EMAIL_UNCONFIRMED": [
|
|
"account.updatePasswordSettings"
|
|
],
|
|
"EMAIL_UNCONFIRMED_%d": [
|
|
"account.updatePasswordSettings"
|
|
],
|
|
"EMAIL_VERIFY_EXPIRED": [
|
|
"account.verifyEmail"
|
|
],
|
|
"EMOJI_INVALID": [
|
|
"messages.setChatTheme"
|
|
],
|
|
"EMOJI_MARKUP_INVALID": [
|
|
"photos.uploadProfilePhoto"
|
|
],
|
|
"EMOJI_NOT_MODIFIED": [
|
|
"messages.setChatTheme"
|
|
],
|
|
"EMOTICON_EMPTY": [
|
|
"messages.getStickers",
|
|
"messages.searchCustomEmoji"
|
|
],
|
|
"EMOTICON_INVALID": [
|
|
"messages.sendMedia"
|
|
],
|
|
"EMOTICON_STICKERPACK_MISSING": [
|
|
"messages.getStickerSet"
|
|
],
|
|
"ENCRYPTED_MESSAGE_INVALID": [
|
|
"auth.bindTempAuthKey"
|
|
],
|
|
"ENCRYPTION_ALREADY_ACCEPTED": [
|
|
"messages.acceptEncryption",
|
|
"messages.discardEncryption"
|
|
],
|
|
"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_BOUNDS_INVALID": [
|
|
"help.editUserInfo",
|
|
"messages.editInlineBotMessage",
|
|
"messages.editMessage",
|
|
"messages.getWebPagePreview",
|
|
"messages.saveDraft",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"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": [
|
|
"upload.saveBigFilePart",
|
|
"upload.saveFilePart"
|
|
],
|
|
"FILE_PART_INVALID": [
|
|
"upload.saveBigFilePart",
|
|
"upload.saveFilePart"
|
|
],
|
|
"FILE_PART_LENGTH_INVALID": [
|
|
"messages.sendMedia",
|
|
"messages.uploadMedia"
|
|
],
|
|
"FILE_PART_SIZE_CHANGED": [
|
|
"upload.saveBigFilePart"
|
|
],
|
|
"FILE_PART_SIZE_INVALID": [
|
|
"upload.saveBigFilePart"
|
|
],
|
|
"FILE_PART_TOO_BIG": [
|
|
"upload.saveBigFilePart"
|
|
],
|
|
"FILE_PARTS_INVALID": [
|
|
"channels.editPhoto",
|
|
"messages.editMessage",
|
|
"messages.sendMedia",
|
|
"messages.uploadMedia",
|
|
"photos.updateProfilePhoto",
|
|
"photos.uploadProfilePhoto",
|
|
"upload.saveBigFilePart"
|
|
],
|
|
"FILE_REFERENCE_*": [
|
|
"upload.getFile"
|
|
],
|
|
"FILE_REFERENCE_%d_EXPIRED": [
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"FILE_REFERENCE_%d_INVALID": [
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"FILE_REFERENCE_EMPTY": [
|
|
"messages.sendMedia"
|
|
],
|
|
"FILE_REFERENCE_EXPIRED": [
|
|
"messages.sendMedia",
|
|
"upload.getFile"
|
|
],
|
|
"FILE_REFERENCE_INVALID": [
|
|
"channels.editPhoto"
|
|
],
|
|
"FILE_TITLE_EMPTY": [
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"FILE_TOKEN_INVALID": [
|
|
"upload.getCdnFile",
|
|
"upload.getCdnFileHashes",
|
|
"upload.reuploadCdnFile"
|
|
],
|
|
"FILTER_ID_INVALID": [
|
|
"chatlists.deleteExportedInvite",
|
|
"chatlists.editExportedInvite",
|
|
"chatlists.exportChatlistInvite",
|
|
"chatlists.getChatlistUpdates",
|
|
"chatlists.getExportedInvites",
|
|
"chatlists.getLeaveChatlistSuggestions",
|
|
"chatlists.hideChatlistUpdates",
|
|
"chatlists.joinChatlistUpdates",
|
|
"chatlists.leaveChatlist",
|
|
"messages.updateDialogFilter"
|
|
],
|
|
"FILTER_INCLUDE_EMPTY": [
|
|
"chatlists.joinChatlistInvite",
|
|
"chatlists.joinChatlistUpdates",
|
|
"messages.updateDialogFilter"
|
|
],
|
|
"FILTER_NOT_SUPPORTED": [
|
|
"chatlists.deleteExportedInvite",
|
|
"chatlists.editExportedInvite",
|
|
"chatlists.exportChatlistInvite",
|
|
"chatlists.getChatlistUpdates",
|
|
"chatlists.getLeaveChatlistSuggestions",
|
|
"chatlists.hideChatlistUpdates",
|
|
"messages.getSearchResultsCalendar",
|
|
"messages.searchSentMedia"
|
|
],
|
|
"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"
|
|
],
|
|
"FORUM_ENABLED": [
|
|
"channels.convertToGigagroup",
|
|
"channels.togglePreHistoryHidden"
|
|
],
|
|
"FRESH_CHANGE_ADMINS_FORBIDDEN": [
|
|
"channels.editAdmin"
|
|
],
|
|
"FROM_MESSAGE_BOT_DISABLED": [
|
|
"messages.sendMessage",
|
|
"updates.getChannelDifference",
|
|
"users.getUsers"
|
|
],
|
|
"FROM_PEER_INVALID": [
|
|
"messages.search"
|
|
],
|
|
"GAME_BOT_INVALID": [
|
|
"messages.sendMedia"
|
|
],
|
|
"GENERAL_MODIFY_ICON_FORBIDDEN": [
|
|
"channels.editForumTopic"
|
|
],
|
|
"GEO_POINT_INVALID": [
|
|
"contacts.getLocated"
|
|
],
|
|
"GIF_CONTENT_TYPE_INVALID": [
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"GIF_ID_INVALID": [
|
|
"messages.saveGif"
|
|
],
|
|
"GIFT_SLUG_EXPIRED": [
|
|
"payments.applyGiftCode",
|
|
"payments.checkGiftCode"
|
|
],
|
|
"GIFT_SLUG_INVALID": [
|
|
"payments.applyGiftCode",
|
|
"payments.checkGiftCode"
|
|
],
|
|
"GRAPH_EXPIRED_RELOAD": [
|
|
"stats.loadAsyncGraph"
|
|
],
|
|
"GRAPH_INVALID_RELOAD": [
|
|
"stats.loadAsyncGraph"
|
|
],
|
|
"GRAPH_OUTDATED_RELOAD": [
|
|
"stats.loadAsyncGraph"
|
|
],
|
|
"GROUPCALL_ALREADY_DISCARDED": [
|
|
"phone.discardGroupCall",
|
|
"phone.discardGroupCallRequest"
|
|
],
|
|
"GROUPCALL_FORBIDDEN": [
|
|
"phone.editGroupCallParticipant"
|
|
],
|
|
"GROUPCALL_INVALID": [
|
|
"phone.checkGroupCall",
|
|
"phone.discardGroupCall",
|
|
"phone.editGroupCallParticipant",
|
|
"phone.editGroupCallTitle",
|
|
"phone.exportGroupCallInvite",
|
|
"phone.getGroupCall",
|
|
"phone.getGroupCallStreamChannels",
|
|
"phone.getGroupParticipants",
|
|
"phone.inviteToGroupCall",
|
|
"phone.joinGroupCall",
|
|
"phone.joinGroupCallPresentation",
|
|
"phone.leaveGroupCall",
|
|
"phone.leaveGroupCallPresentation",
|
|
"phone.startScheduledGroupCall",
|
|
"phone.toggleGroupCallRecord",
|
|
"phone.toggleGroupCallSettings",
|
|
"phone.toggleGroupCallStartSubscription"
|
|
],
|
|
"GROUPCALL_JOIN_MISSING": [
|
|
"phone.checkGroupCall",
|
|
"phone.getGroupCallStreamChannels"
|
|
],
|
|
"GROUPCALL_NOT_MODIFIED": [
|
|
"phone.toggleGroupCallRecord",
|
|
"phone.toggleGroupCallSettings"
|
|
],
|
|
"GROUPCALL_SSRC_DUPLICATE_MUCH": [
|
|
"phone.joinGroupCall"
|
|
],
|
|
"GROUPED_MEDIA_INVALID": [
|
|
"messages.forwardMessages"
|
|
],
|
|
"HASH_INVALID": [
|
|
"account.changeAuthorizationSettings",
|
|
"account.resetAuthorization",
|
|
"account.resetWebAuthorization",
|
|
"account.sendConfirmPhoneCode"
|
|
],
|
|
"HASHTAG_INVALID": [
|
|
"stories.searchPosts"
|
|
],
|
|
"HIDE_REQUESTER_MISSING": [
|
|
"messages.hideAllChatJoinRequests",
|
|
"messages.hideChatJoinRequest"
|
|
],
|
|
"IMAGE_PROCESS_FAILED": [
|
|
"channels.editPhoto",
|
|
"messages.editChatPhoto",
|
|
"messages.editMessage",
|
|
"messages.sendMedia",
|
|
"messages.uploadMedia",
|
|
"photos.updateProfilePhoto",
|
|
"photos.uploadProfilePhoto",
|
|
"stories.sendStory"
|
|
],
|
|
"IMPORT_FILE_INVALID": [
|
|
"messages.initHistoryImport"
|
|
],
|
|
"IMPORT_FORMAT_DATE_INVALID": [
|
|
"messages.initHistoryImport"
|
|
],
|
|
"IMPORT_FORMAT_UNRECOGNIZED": [
|
|
"messages.checkHistoryImport",
|
|
"messages.initHistoryImport"
|
|
],
|
|
"IMPORT_HISTORY_LOG_EMPTY": [
|
|
"messages.initHistoryImport"
|
|
],
|
|
"IMPORT_ID_INVALID": [
|
|
"messages.startHistoryImport",
|
|
"messages.uploadImportedMedia"
|
|
],
|
|
"IMPORT_TOKEN_INVALID": [
|
|
"contacts.importContactToken"
|
|
],
|
|
"INLINE_RESULT_EXPIRED": [
|
|
"messages.sendInlineBotResult"
|
|
],
|
|
"INPUT_CHATLIST_INVALID": [
|
|
"chatlists.getChatlistUpdates"
|
|
],
|
|
"INPUT_FILTER_INVALID": [
|
|
"messages.search",
|
|
"messages.searchGlobal"
|
|
],
|
|
"INPUT_TEXT_EMPTY": [
|
|
"messages.translateText"
|
|
],
|
|
"INPUT_TEXT_TOO_LONG": [
|
|
"messages.translateText"
|
|
],
|
|
"INPUT_USER_DEACTIVATED": [
|
|
"channels.editAdmin",
|
|
"channels.editBanned",
|
|
"channels.inviteToChannel",
|
|
"channels.reportSpam",
|
|
"contacts.block",
|
|
"messages.addChatUser",
|
|
"messages.createChat",
|
|
"messages.editMessage",
|
|
"messages.forwardMessages",
|
|
"messages.getInlineBotResults",
|
|
"messages.hideChatJoinRequest",
|
|
"messages.requestEncryption",
|
|
"messages.requestWebView",
|
|
"messages.search",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendScreenshotNotification",
|
|
"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.deleteExportedChatInvite",
|
|
"messages.editExportedChatInvite",
|
|
"messages.getChatInviteImporters",
|
|
"messages.getExportedChatInvite",
|
|
"messages.hideAllChatJoinRequests",
|
|
"messages.importChatInvite"
|
|
],
|
|
"INVITE_HASH_INVALID": [
|
|
"channels.joinChannel",
|
|
"messages.checkChatInvite",
|
|
"messages.importChatInvite"
|
|
],
|
|
"INVITE_REQUEST_SENT": [
|
|
"channels.joinChannel",
|
|
"messages.importChatInvite"
|
|
],
|
|
"INVITE_REVOKED_MISSING": [
|
|
"messages.deleteExportedChatInvite"
|
|
],
|
|
"INVITE_SLUG_EMPTY": [
|
|
"chatlists.checkChatlistInvite",
|
|
"chatlists.editExportedInvite",
|
|
"chatlists.joinChatlistInvite"
|
|
],
|
|
"INVITE_SLUG_EXPIRED": [
|
|
"chatlists.checkChatlistInvite",
|
|
"chatlists.editExportedInvite",
|
|
"chatlists.joinChatlistInvite"
|
|
],
|
|
"INVITES_TOO_MUCH": [
|
|
"chatlists.exportChatlistInvite"
|
|
],
|
|
"INVOICE_PAYLOAD_INVALID": [
|
|
"payments.exportInvoice"
|
|
],
|
|
"JOIN_AS_PEER_INVALID": [
|
|
"phone.joinGroupCall",
|
|
"phone.saveDefaultGroupCallJoinAs"
|
|
],
|
|
"LANG_CODE_INVALID": [
|
|
"bots.getBotInfo",
|
|
"bots.resetBotCommands",
|
|
"bots.setBotCommands"
|
|
],
|
|
"LANG_CODE_NOT_SUPPORTED": [
|
|
"langpack.getLangPack",
|
|
"langpack.getLanguage",
|
|
"langpack.getStrings"
|
|
],
|
|
"LANG_PACK_INVALID": [
|
|
"langpack.getDifference",
|
|
"langpack.getLangPack",
|
|
"langpack.getLanguage",
|
|
"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",
|
|
"upload.reuploadCdnFile"
|
|
],
|
|
"MAX_DATE_INVALID": [
|
|
"messages.deleteHistory",
|
|
"messages.readEncryptedHistory"
|
|
],
|
|
"MAX_ID_INVALID": [
|
|
"photos.getUserPhotos",
|
|
"stories.readStories"
|
|
],
|
|
"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.editMessage",
|
|
"messages.forwardMessages",
|
|
"messages.getAttachedStickers",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMultiMedia",
|
|
"stories.sendStory"
|
|
],
|
|
"MEDIA_FILE_INVALID": [
|
|
"stories.sendStory"
|
|
],
|
|
"MEDIA_GROUPED_INVALID": [
|
|
"messages.editMessage"
|
|
],
|
|
"MEDIA_INVALID": [
|
|
"messages.editMessage",
|
|
"messages.sendMedia",
|
|
"messages.sendMultiMedia",
|
|
"messages.uploadMedia",
|
|
"payments.exportInvoice"
|
|
],
|
|
"MEDIA_NEW_INVALID": [
|
|
"messages.editMessage"
|
|
],
|
|
"MEDIA_PREV_INVALID": [
|
|
"messages.editMessage"
|
|
],
|
|
"MEDIA_TTL_INVALID": [
|
|
"messages.editMessage"
|
|
],
|
|
"MEDIA_TYPE_INVALID": [
|
|
"stories.sendStory"
|
|
],
|
|
"MEDIA_VIDEO_STORY_MISSING": [
|
|
"stories.sendStory"
|
|
],
|
|
"MEGAGROUP_GEO_REQUIRED": [
|
|
"channels.editLocation"
|
|
],
|
|
"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.sendMedia",
|
|
"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.getOutboxReadDate",
|
|
"messages.getPollResults",
|
|
"messages.sendReaction",
|
|
"messages.sendScheduledMessages",
|
|
"messages.sendVote",
|
|
"messages.setGameScore",
|
|
"messages.setInlineGameScore",
|
|
"messages.updatePinnedMessage",
|
|
"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",
|
|
"messages.sendReaction"
|
|
],
|
|
"MESSAGE_POLL_CLOSED": [
|
|
"messages.sendVote"
|
|
],
|
|
"MESSAGE_TOO_LONG": [
|
|
"messages.editMessage",
|
|
"messages.sendMessage",
|
|
"messages.setBotCallbackAnswer",
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"MESSAGE_TOO_OLD": [
|
|
"messages.getOutboxReadDate"
|
|
],
|
|
"METHOD_INVALID": [
|
|
"bots.sendCustomRequest",
|
|
"messages.searchGifs"
|
|
],
|
|
"MIN_DATE_INVALID": [
|
|
"messages.deleteHistory"
|
|
],
|
|
"MSG_ID_INVALID": [
|
|
"account.updateNotifySettings",
|
|
"channels.checkUsername",
|
|
"channels.deleteMessages",
|
|
"channels.deleteParticipantHistory",
|
|
"channels.deleteUserHistory",
|
|
"channels.editBanned",
|
|
"channels.exportMessageLink",
|
|
"channels.getAdminLog",
|
|
"channels.getChannels",
|
|
"channels.getFullChannel",
|
|
"channels.getMessages",
|
|
"channels.getParticipant",
|
|
"channels.getParticipants",
|
|
"channels.getSponsoredMessages",
|
|
"channels.inviteToChannel",
|
|
"channels.joinChannel",
|
|
"channels.leaveChannel",
|
|
"channels.readHistory",
|
|
"channels.readMessageContents",
|
|
"channels.reportSpam",
|
|
"contacts.acceptContact",
|
|
"contacts.addContact",
|
|
"contacts.block",
|
|
"contacts.blockFromReplies",
|
|
"contacts.unblock",
|
|
"help.getConfig",
|
|
"messages.addChatUser",
|
|
"messages.deleteHistory",
|
|
"messages.editMessage",
|
|
"messages.exportChatInvite",
|
|
"messages.forwardMessages",
|
|
"messages.getCommonChats",
|
|
"messages.getDiscussionMessage",
|
|
"messages.getHistory",
|
|
"messages.getInlineBotResults",
|
|
"messages.getMessageReactionsList",
|
|
"messages.getMessageReadParticipants",
|
|
"messages.getMessagesViews",
|
|
"messages.getPeerDialogs",
|
|
"messages.getPeerSettings",
|
|
"messages.getPollVotes",
|
|
"messages.getReplies",
|
|
"messages.getUnreadMentions",
|
|
"messages.hideChatJoinRequest",
|
|
"messages.importChatInvite",
|
|
"messages.readDiscussion",
|
|
"messages.readHistory",
|
|
"messages.readMentions",
|
|
"messages.reportReaction",
|
|
"messages.reportSpam",
|
|
"messages.requestWebView",
|
|
"messages.saveDraft",
|
|
"messages.search",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendReaction",
|
|
"messages.sendVote",
|
|
"messages.setTyping",
|
|
"messages.startBot",
|
|
"messages.translateText",
|
|
"messages.updateDialogFilter",
|
|
"messages.uploadMedia",
|
|
"photos.getUserPhotos",
|
|
"stories.getPeerStories",
|
|
"updates.getChannelDifference",
|
|
"updates.getDifference",
|
|
"upload.getFile",
|
|
"upload.saveFilePart",
|
|
"users.getFullUser",
|
|
"users.getUsers"
|
|
],
|
|
"MSG_TOO_OLD": [
|
|
"messages.getMessageReadParticipants"
|
|
],
|
|
"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_EMPTY": [
|
|
"account.updatePasswordSettings"
|
|
],
|
|
"NEW_SETTINGS_INVALID": [
|
|
"account.updatePasswordSettings",
|
|
"auth.recoverPassword"
|
|
],
|
|
"NEXT_OFFSET_INVALID": [
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"NOT_ELIGIBLE": [
|
|
"smsjobs.join"
|
|
],
|
|
"NOT_JOINED": [
|
|
"smsjobs.getStatus",
|
|
"smsjobs.leave",
|
|
"smsjobs.updateSettings"
|
|
],
|
|
"OFFSET_INVALID": [
|
|
"upload.getFile"
|
|
],
|
|
"OFFSET_PEER_ID_INVALID": [
|
|
"messages.getDialogs"
|
|
],
|
|
"OPTION_INVALID": [
|
|
"messages.sendVote"
|
|
],
|
|
"OPTIONS_TOO_MUCH": [
|
|
"messages.sendVote"
|
|
],
|
|
"ORDER_INVALID": [
|
|
"account.reorderUsernames"
|
|
],
|
|
"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_JOIN_MISSING": [
|
|
"phone.editGroupCallParticipant",
|
|
"phone.joinGroupCallPresentation"
|
|
],
|
|
"PARTICIPANT_VERSION_OUTDATED": [
|
|
"phone.requestCall"
|
|
],
|
|
"PARTICIPANTS_TOO_FEW": [
|
|
"channels.convertToGigagroup",
|
|
"channels.setStickers",
|
|
"channels.toggleParticipantsHidden"
|
|
],
|
|
"PASSWORD_EMPTY": [
|
|
"account.resetPassword",
|
|
"auth.requestPasswordRecovery"
|
|
],
|
|
"PASSWORD_HASH_INVALID": [
|
|
"account.getPasswordSettings",
|
|
"account.getTmpPassword",
|
|
"account.updatePasswordSettings",
|
|
"auth.checkPassword",
|
|
"channels.editCreator",
|
|
"payments.getStarsRevenueWithdrawalUrl",
|
|
"stats.getBroadcastRevenueWithdrawalUrl"
|
|
],
|
|
"PASSWORD_MISSING": [
|
|
"channels.editCreator",
|
|
"messages.getBotCallbackAnswer",
|
|
"payments.getStarsRevenueWithdrawalUrl",
|
|
"stats.getBroadcastRevenueWithdrawalUrl"
|
|
],
|
|
"PASSWORD_RECOVERY_EXPIRED": [
|
|
"auth.checkRecoveryPassword"
|
|
],
|
|
"PASSWORD_RECOVERY_NA": [
|
|
"auth.requestPasswordRecovery"
|
|
],
|
|
"PASSWORD_REQUIRED": [
|
|
"account.saveSecureValue"
|
|
],
|
|
"PASSWORD_TOO_FRESH_%d": [
|
|
"channels.editCreator",
|
|
"payments.getStarsRevenueWithdrawalUrl",
|
|
"stats.getBroadcastRevenueWithdrawalUrl"
|
|
],
|
|
"PAYMENT_PROVIDER_INVALID": [
|
|
"messages.sendMedia",
|
|
"payments.exportInvoice"
|
|
],
|
|
"PEER_HISTORY_EMPTY": [
|
|
"messages.toggleDialogPin"
|
|
],
|
|
"PEER_ID_INVALID": [
|
|
"account.disablePeerConnectedBot",
|
|
"account.getNotifySettings",
|
|
"account.reportPeer",
|
|
"account.reportProfilePhoto",
|
|
"account.saveAutoSaveSettings",
|
|
"account.toggleConnectedBotPaused",
|
|
"account.updateNotifySettings",
|
|
"bots.setBotCommands",
|
|
"channels.checkUsername",
|
|
"channels.editAdmin",
|
|
"channels.editBanned",
|
|
"channels.getSendAs",
|
|
"channels.joinChannel",
|
|
"contacts.block",
|
|
"contacts.resetTopPeerRating",
|
|
"contacts.unblock",
|
|
"messages.addChatUser",
|
|
"messages.checkHistoryImportPeer",
|
|
"messages.deleteChat",
|
|
"messages.deleteChatUser",
|
|
"messages.deleteExportedChatInvite",
|
|
"messages.deleteFactCheck",
|
|
"messages.deleteHistory",
|
|
"messages.deleteRevokedExportedChatInvites",
|
|
"messages.deleteSavedHistory",
|
|
"messages.deleteScheduledMessages",
|
|
"messages.editChatAbout",
|
|
"messages.editChatAdmin",
|
|
"messages.editChatDefaultBannedRights",
|
|
"messages.editChatPhoto",
|
|
"messages.editChatTitle",
|
|
"messages.editExportedChatInvite",
|
|
"messages.editFactCheck",
|
|
"messages.editMessage",
|
|
"messages.exportChatInvite",
|
|
"messages.forwardMessage",
|
|
"messages.forwardMessages",
|
|
"messages.getAdminsWithInvites",
|
|
"messages.getBotCallbackAnswer",
|
|
"messages.getChatInviteImporters",
|
|
"messages.getChats",
|
|
"messages.getDiscussionMessage",
|
|
"messages.getExportedChatInvite",
|
|
"messages.getExportedChatInvites",
|
|
"messages.getFactCheck",
|
|
"messages.getFullChat",
|
|
"messages.getGameHighScores",
|
|
"messages.getHistory",
|
|
"messages.getMessageEditData",
|
|
"messages.getMessageReadParticipants",
|
|
"messages.getMessagesViews",
|
|
"messages.getOnlines",
|
|
"messages.getOutboxReadDate",
|
|
"messages.getPeerDialogs",
|
|
"messages.getPeerSettings",
|
|
"messages.getPollResults",
|
|
"messages.getReplies",
|
|
"messages.getSavedHistory",
|
|
"messages.getScheduledHistory",
|
|
"messages.getScheduledMessages",
|
|
"messages.getSearchCounters",
|
|
"messages.getSearchResultsCalendar",
|
|
"messages.getSearchResultsPositions",
|
|
"messages.getStatsURL",
|
|
"messages.getUnreadMentions",
|
|
"messages.getUnreadReactions",
|
|
"messages.hideAllChatJoinRequests",
|
|
"messages.hideChatJoinRequest",
|
|
"messages.hidePeerSettingsBar",
|
|
"messages.hideReportSpam",
|
|
"messages.importChatInvite",
|
|
"messages.initHistoryImport",
|
|
"messages.markDialogUnread",
|
|
"messages.migrateChat",
|
|
"messages.readDiscussion",
|
|
"messages.readHistory",
|
|
"messages.readMentions",
|
|
"messages.readReactions",
|
|
"messages.reorderPinnedDialogs",
|
|
"messages.report",
|
|
"messages.reportReaction",
|
|
"messages.reportSpam",
|
|
"messages.requestWebView",
|
|
"messages.saveDefaultSendAs",
|
|
"messages.saveDraft",
|
|
"messages.search",
|
|
"messages.sendBotRequestedPeer",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia",
|
|
"messages.sendQuickReplyMessages",
|
|
"messages.sendReaction",
|
|
"messages.sendScheduledMessages",
|
|
"messages.sendScreenshotNotification",
|
|
"messages.sendVote",
|
|
"messages.setChatAvailableReactions",
|
|
"messages.setChatTheme",
|
|
"messages.setChatWallPaper",
|
|
"messages.setGameScore",
|
|
"messages.setHistoryTTL",
|
|
"messages.setTyping",
|
|
"messages.startBot",
|
|
"messages.toggleDialogPin",
|
|
"messages.toggleNoForwards",
|
|
"messages.togglePeerTranslations",
|
|
"messages.toggleSavedDialogPin",
|
|
"messages.transcribeAudio",
|
|
"messages.translateText",
|
|
"messages.unpinAllMessages",
|
|
"messages.updateDialogFilter",
|
|
"messages.updatePinnedMessage",
|
|
"messages.uploadMedia",
|
|
"payments.getGiveawayInfo",
|
|
"payments.getPaymentForm",
|
|
"payments.getStarsRevenueAdsAccountUrl",
|
|
"payments.getStarsRevenueStats",
|
|
"payments.getStarsStatus",
|
|
"payments.getStarsTransactions",
|
|
"payments.getStarsTransactionsByID",
|
|
"payments.launchPrepaidGiveaway",
|
|
"payments.sendPaymentForm",
|
|
"payments.sendStarsForm",
|
|
"payments.validateRequestedInfo",
|
|
"phone.createGroupCall",
|
|
"phone.getGroupCallJoinAs",
|
|
"phone.getGroupCallStreamRtmpUrl",
|
|
"phone.saveDefaultGroupCallJoinAs",
|
|
"premium.applyBoost",
|
|
"premium.getBoostsList",
|
|
"premium.getBoostsStatus",
|
|
"premium.getUserBoosts",
|
|
"stats.getMessagePublicForwards",
|
|
"stats.getMessageStats",
|
|
"stats.getStoryPublicForwards",
|
|
"stats.getStoryStats",
|
|
"stickers.createStickerSet",
|
|
"stories.applyBoost",
|
|
"stories.canApplyBoost",
|
|
"stories.canSendStory",
|
|
"stories.deleteStories",
|
|
"stories.editStory",
|
|
"stories.exportStoryLink",
|
|
"stories.getBoostersList",
|
|
"stories.getBoostsStatus",
|
|
"stories.getPeerStories",
|
|
"stories.getPinnedStories",
|
|
"stories.getStoriesArchive",
|
|
"stories.getStoriesByID",
|
|
"stories.getStoriesViews",
|
|
"stories.getStoryReactionsList",
|
|
"stories.getStoryViewsList",
|
|
"stories.incrementStoryViews",
|
|
"stories.readStories",
|
|
"stories.report",
|
|
"stories.sendReaction",
|
|
"stories.sendStory",
|
|
"stories.togglePeerStoriesHidden",
|
|
"stories.togglePinned",
|
|
"stories.togglePinnedToTop",
|
|
"upload.getFile",
|
|
"users.getUsers"
|
|
],
|
|
"PEER_ID_NOT_SUPPORTED": [
|
|
"messages.search"
|
|
],
|
|
"PEERS_LIST_EMPTY": [
|
|
"chatlists.editExportedInvite",
|
|
"chatlists.exportChatlistInvite"
|
|
],
|
|
"PERSISTENT_TIMESTAMP_EMPTY": [
|
|
"updates.getChannelDifference",
|
|
"updates.getDifference"
|
|
],
|
|
"PERSISTENT_TIMESTAMP_INVALID": [
|
|
"updates.getChannelDifference",
|
|
"updates.getDifference"
|
|
],
|
|
"PHONE_CODE_EMPTY": [
|
|
"account.changePhone",
|
|
"account.confirmPhone",
|
|
"account.verifyPhone",
|
|
"auth.requestFirebaseSms",
|
|
"auth.resendCode",
|
|
"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_HASH_EXPIRED": [
|
|
"account.sendVerifyEmailCode"
|
|
],
|
|
"PHONE_NOT_OCCUPIED": [
|
|
"contacts.resolvePhone"
|
|
],
|
|
"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.sendVerifyEmailCode",
|
|
"account.sendVerifyPhoneCode",
|
|
"account.verifyEmail",
|
|
"account.verifyPhone",
|
|
"auth.cancelCode",
|
|
"auth.checkPhone",
|
|
"auth.reportMissingCode",
|
|
"auth.requestFirebaseSms",
|
|
"auth.resendCode",
|
|
"auth.resetLoginEmail",
|
|
"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",
|
|
"photos.uploadProfilePhoto"
|
|
],
|
|
"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": [
|
|
"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"
|
|
],
|
|
"PREMIUM_ACCOUNT_REQUIRED": [
|
|
"channels.reportSponsoredMessage",
|
|
"stories.activateStealthMode",
|
|
"stories.applyBoost",
|
|
"stories.canApplyBoost",
|
|
"stories.canSendStory",
|
|
"stories.sendStory"
|
|
],
|
|
"PRIVACY_KEY_INVALID": [
|
|
"account.getPrivacy",
|
|
"account.setPrivacy"
|
|
],
|
|
"PRIVACY_TOO_LONG": [
|
|
"account.setPrivacy"
|
|
],
|
|
"PRIVACY_VALUE_INVALID": [
|
|
"account.setPrivacy"
|
|
],
|
|
"PUBLIC_KEY_REQUIRED": [
|
|
"account.acceptAuthorization",
|
|
"account.getAuthorizationForm"
|
|
],
|
|
"QUERY_ID_EMPTY": [
|
|
"messages.sendInlineBotResult"
|
|
],
|
|
"QUERY_ID_INVALID": [
|
|
"bots.answerWebhookJSONQuery",
|
|
"messages.sendWebViewResultMessage",
|
|
"messages.setBotCallbackAnswer",
|
|
"messages.setBotShippingResults",
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"QUERY_TOO_SHORT": [
|
|
"contacts.search"
|
|
],
|
|
"QUICK_REPLIES_TOO_MUCH": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"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"
|
|
],
|
|
"QUOTE_TEXT_INVALID": [
|
|
"messages.sendMessage"
|
|
],
|
|
"RAISE_HAND_FORBIDDEN": [
|
|
"phone.editGroupCallParticipant"
|
|
],
|
|
"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",
|
|
"messages.setDefaultReaction",
|
|
"messages.updateSavedReactionTag",
|
|
"stories.sendReaction"
|
|
],
|
|
"REACTIONS_TOO_MANY": [
|
|
"messages.sendReaction"
|
|
],
|
|
"RECEIPT_EMPTY": [
|
|
"payments.assignAppStoreTransaction"
|
|
],
|
|
"REPLY_MARKUP_BUY_EMPTY": [
|
|
"messages.sendMedia"
|
|
],
|
|
"REPLY_MARKUP_GAME_EMPTY": [
|
|
"messages.sendMedia"
|
|
],
|
|
"REPLY_MARKUP_INVALID": [
|
|
"messages.editMessage",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"REPLY_MARKUP_TOO_LONG": [
|
|
"messages.editMessage",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage"
|
|
],
|
|
"REPLY_MESSAGE_ID_INVALID": [
|
|
"messages.sendMessage",
|
|
"messages.sendScreenshotNotification"
|
|
],
|
|
"REPLY_MESSAGES_TOO_MUCH": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"REPLY_TO_INVALID": [
|
|
"messages.sendMessage"
|
|
],
|
|
"REPLY_TO_USER_INVALID": [
|
|
"messages.sendMessage"
|
|
],
|
|
"REQUEST_TOKEN_INVALID": [
|
|
"upload.reuploadCdnFile"
|
|
],
|
|
"RESET_REQUEST_MISSING": [
|
|
"account.declinePasswordReset"
|
|
],
|
|
"RESULT_ID_DUPLICATE": [
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"RESULT_ID_EMPTY": [
|
|
"messages.sendInlineBotResult"
|
|
],
|
|
"RESULT_ID_INVALID": [
|
|
"messages.sendInlineBotResult",
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"RESULT_TYPE_INVALID": [
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"RESULTS_TOO_MUCH": [
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"REVOTE_NOT_ALLOWED": [
|
|
"messages.sendVote"
|
|
],
|
|
"RIGHTS_NOT_MODIFIED": [
|
|
"bots.setBotBroadcastDefaultAdminRights",
|
|
"bots.setBotGroupDefaultAdminRights"
|
|
],
|
|
"RINGTONE_INVALID": [
|
|
"account.saveRingtone"
|
|
],
|
|
"RINGTONE_MIME_INVALID": [
|
|
"account.uploadRingtone"
|
|
],
|
|
"RSA_DECRYPT_FAILED": [
|
|
"upload.getCdnFileHashes",
|
|
"upload.reuploadCdnFile"
|
|
],
|
|
"SCHEDULE_BOT_NOT_ALLOWED": [
|
|
"messages.forwardMessages",
|
|
"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_SUPPORTED": [
|
|
"messages.getChatInviteImporters"
|
|
],
|
|
"SECONDS_INVALID": [
|
|
"channels.toggleSlowMode"
|
|
],
|
|
"SECURE_SECRET_REQUIRED": [
|
|
"account.saveSecureValue"
|
|
],
|
|
"SEND_AS_PEER_INVALID": [
|
|
"messages.forwardMessages",
|
|
"messages.requestWebView",
|
|
"messages.saveDefaultSendAs",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"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"
|
|
],
|
|
"SHORTCUT_INVALID": [
|
|
"messages.deleteQuickReplyMessages",
|
|
"messages.deleteQuickReplyShortcut",
|
|
"messages.editQuickReplyShortcut",
|
|
"messages.getQuickReplyMessages"
|
|
],
|
|
"SLOTS_EMPTY": [
|
|
"premium.applyBoost"
|
|
],
|
|
"SLOWMODE_MULTI_MSGS_DISABLED": [
|
|
"messages.forwardMessages"
|
|
],
|
|
"SLUG_INVALID": [
|
|
"payments.getPaymentForm"
|
|
],
|
|
"SMS_CODE_CREATE_FAILED": [
|
|
"auth.sendCode"
|
|
],
|
|
"SMSJOB_ID_INVALID": [
|
|
"smsjobs.finishJob",
|
|
"smsjobs.getSmsJob"
|
|
],
|
|
"SRP_ID_INVALID": [
|
|
"account.updatePasswordSettings",
|
|
"auth.checkPassword",
|
|
"channels.editCreator"
|
|
],
|
|
"SRP_PASSWORD_CHANGED": [
|
|
"account.updatePasswordSettings",
|
|
"auth.checkPassword"
|
|
],
|
|
"START_PARAM_EMPTY": [
|
|
"messages.setInlineBotResults",
|
|
"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.changeSticker",
|
|
"stickers.changeStickerPosition",
|
|
"stickers.removeStickerFromSet",
|
|
"stickers.replaceSticker"
|
|
],
|
|
"STICKER_MIME_INVALID": [
|
|
"channels.editPhoto",
|
|
"photos.uploadProfilePhoto"
|
|
],
|
|
"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_NODOC": [
|
|
"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.deleteStickerSet",
|
|
"stickers.renameStickerSet",
|
|
"stickers.setStickerSetThumb"
|
|
],
|
|
"STORIES_NEVER_CREATED": [
|
|
"stories.getStoriesByID",
|
|
"stories.readStories"
|
|
],
|
|
"STORIES_TOO_MUCH": [
|
|
"stories.canSendStory",
|
|
"stories.sendStory"
|
|
],
|
|
"STORY_ID_EMPTY": [
|
|
"stories.deleteStories",
|
|
"stories.exportStoryLink",
|
|
"stories.getStoriesByID",
|
|
"stories.getStoriesViews",
|
|
"stories.incrementStoryViews",
|
|
"stories.sendReaction"
|
|
],
|
|
"STORY_ID_INVALID": [
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendScreenshotNotification",
|
|
"stories.getStoryViewsList",
|
|
"stories.sendReaction",
|
|
"stories.togglePinnedToTop"
|
|
],
|
|
"STORY_NOT_MODIFIED": [
|
|
"stories.editStory"
|
|
],
|
|
"STORY_PERIOD_INVALID": [
|
|
"stories.sendStory"
|
|
],
|
|
"STORY_SEND_FLOOD_MONTHLY_%d": [
|
|
"stories.canSendStory"
|
|
],
|
|
"STORY_SEND_FLOOD_WEEKLY_%d": [
|
|
"stories.canSendStory"
|
|
],
|
|
"SWITCH_PM_TEXT_EMPTY": [
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"SWITCH_WEBVIEW_URL_INVALID": [
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"TAKEOUT_INVALID": [
|
|
"contacts.getSaved",
|
|
"messages.getHistory"
|
|
],
|
|
"TAKEOUT_REQUIRED": [
|
|
"contacts.getSaved"
|
|
],
|
|
"TASK_ALREADY_EXISTS": [
|
|
"auth.resetLoginEmail"
|
|
],
|
|
"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.saveTheme",
|
|
"account.updateTheme"
|
|
],
|
|
"THEME_MIME_INVALID": [
|
|
"account.createTheme",
|
|
"account.uploadTheme"
|
|
],
|
|
"THEME_TITLE_INVALID": [
|
|
"account.createTheme"
|
|
],
|
|
"TIMEZONE_INVALID": [
|
|
"account.updateBusinessWorkHours"
|
|
],
|
|
"TITLE_INVALID": [
|
|
"stickers.suggestShortName"
|
|
],
|
|
"TMP_PASSWORD_DISABLED": [
|
|
"account.getTmpPassword"
|
|
],
|
|
"TO_LANG_INVALID": [
|
|
"messages.translateText"
|
|
],
|
|
"TOKEN_EMPTY": [
|
|
"account.registerDevice"
|
|
],
|
|
"TOKEN_INVALID": [
|
|
"account.registerDevice",
|
|
"account.unregisterDevice"
|
|
],
|
|
"TOKEN_TYPE_INVALID": [
|
|
"account.registerDevice"
|
|
],
|
|
"TOPIC_CLOSE_SEPARATELY": [
|
|
"channels.editForumTopic"
|
|
],
|
|
"TOPIC_CLOSED": [
|
|
"messages.forwardMessages",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"TOPIC_DELETED": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"TOPIC_HIDE_SEPARATELY": [
|
|
"channels.editForumTopic"
|
|
],
|
|
"TOPIC_ID_INVALID": [
|
|
"channels.deleteTopicHistory",
|
|
"channels.editForumTopic",
|
|
"channels.updatePinnedForumTopic",
|
|
"messages.getDiscussionMessage",
|
|
"messages.getReplies"
|
|
],
|
|
"TOPIC_NOT_MODIFIED": [
|
|
"channels.editForumTopic"
|
|
],
|
|
"TOPIC_TITLE_EMPTY": [
|
|
"channels.createForumTopic"
|
|
],
|
|
"TOPICS_EMPTY": [
|
|
"channels.getForumTopicsByID"
|
|
],
|
|
"TRANSCRIPTION_FAILED": [
|
|
"messages.transcribeAudio"
|
|
],
|
|
"TRANSLATE_REQ_QUOTA_EXCEEDED": [
|
|
"messages.translateText"
|
|
],
|
|
"TTL_DAYS_INVALID": [
|
|
"account.setAccountTTL",
|
|
"account.setAuthorizationTTL"
|
|
],
|
|
"TTL_MEDIA_INVALID": [
|
|
"messages.sendMedia"
|
|
],
|
|
"TTL_PERIOD_INVALID": [
|
|
"channels.createChannel",
|
|
"messages.createChat",
|
|
"messages.setDefaultHistoryTTL",
|
|
"messages.setHistoryTTL"
|
|
],
|
|
"TYPES_EMPTY": [
|
|
"contacts.getTopPeers"
|
|
],
|
|
"UNTIL_DATE_INVALID": [
|
|
"messages.editChatDefaultBannedRights",
|
|
"payments.getPaymentForm"
|
|
],
|
|
"URL_INVALID": [
|
|
"messages.requestSimpleWebView",
|
|
"messages.setBotCallbackAnswer",
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"USAGE_LIMIT_INVALID": [
|
|
"messages.editExportedChatInvite",
|
|
"messages.exportChatInvite"
|
|
],
|
|
"USER_ADMIN_INVALID": [
|
|
"channels.editBanned"
|
|
],
|
|
"USER_ALREADY_INVITED": [
|
|
"phone.inviteToGroupCall"
|
|
],
|
|
"USER_ALREADY_PARTICIPANT": [
|
|
"channels.joinChannel",
|
|
"messages.addChatUser",
|
|
"messages.hideChatJoinRequest",
|
|
"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.sendMultiMedia",
|
|
"messages.sendReaction",
|
|
"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.getBotCommands",
|
|
"bots.getBotInfo",
|
|
"bots.sendCustomRequest",
|
|
"bots.setBotInfo",
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"USER_BOT_REQUIRED": [
|
|
"bots.answerWebhookJSONQuery",
|
|
"bots.getBotCommands",
|
|
"bots.getBotMenuButton",
|
|
"bots.resetBotCommands",
|
|
"bots.sendCustomRequest",
|
|
"bots.setBotBroadcastDefaultAdminRights",
|
|
"bots.setBotCommands",
|
|
"bots.setBotGroupDefaultAdminRights",
|
|
"bots.setBotMenuButton",
|
|
"help.setBotUpdatesStatus",
|
|
"messages.getGameHighScores",
|
|
"messages.getInlineGameHighScores",
|
|
"messages.sendWebViewResultMessage",
|
|
"messages.setBotCallbackAnswer",
|
|
"messages.setBotPrecheckoutResults",
|
|
"messages.setBotShippingResults",
|
|
"messages.setGameScore",
|
|
"messages.setInlineBotResults",
|
|
"messages.setInlineGameScore",
|
|
"payments.refundStarsCharge",
|
|
"users.setSecureValueErrors"
|
|
],
|
|
"USER_CHANNELS_TOO_MUCH": [
|
|
"channels.inviteToChannel",
|
|
"channels.joinChannel",
|
|
"messages.hideAllChatJoinRequests",
|
|
"messages.importChatInvite"
|
|
],
|
|
"USER_CREATOR": [
|
|
"channels.editAdmin",
|
|
"channels.leaveChannel"
|
|
],
|
|
"USER_ID_INVALID": [
|
|
"auth.importAuthorization",
|
|
"bots.setBotCommands",
|
|
"channels.deleteUserHistory",
|
|
"channels.editAdmin",
|
|
"channels.editBanned",
|
|
"channels.editCreator",
|
|
"channels.getParticipant",
|
|
"channels.inviteToChannel",
|
|
"channels.reportSpam",
|
|
"messages.addChatUser",
|
|
"messages.deleteChatUser",
|
|
"messages.editChatAdmin",
|
|
"messages.getCommonChats",
|
|
"messages.hideChatJoinRequest",
|
|
"messages.reportReaction",
|
|
"messages.requestEncryption",
|
|
"messages.search",
|
|
"payments.refundStarsCharge",
|
|
"phone.requestCall",
|
|
"photos.getUserPhotos",
|
|
"photos.uploadContactProfilePhoto",
|
|
"stickers.createStickerSet",
|
|
"stories.getPinnedStories",
|
|
"stories.getUserStories",
|
|
"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",
|
|
"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",
|
|
"updates.getDifference"
|
|
],
|
|
"USER_PUBLIC_MISSING": [
|
|
"stories.exportStoryLink"
|
|
],
|
|
"USER_VOLUME_INVALID": [
|
|
"phone.editGroupCallParticipant"
|
|
],
|
|
"USERNAME_INVALID": [
|
|
"account.checkUsername",
|
|
"account.toggleUsername",
|
|
"account.updateUsername",
|
|
"channels.checkUsername",
|
|
"channels.toggleUsername",
|
|
"channels.updateUsername",
|
|
"contacts.resolveUsername",
|
|
"help.getConfig",
|
|
"updates.getDifference"
|
|
],
|
|
"USERNAME_NOT_MODIFIED": [
|
|
"account.reorderUsernames",
|
|
"account.toggleUsername",
|
|
"account.updateUsername",
|
|
"bots.reorderUsernames",
|
|
"bots.toggleUsername",
|
|
"channels.toggleUsername",
|
|
"channels.updateUsername"
|
|
],
|
|
"USERNAME_NOT_OCCUPIED": [
|
|
"contacts.resolveUsername"
|
|
],
|
|
"USERNAME_OCCUPIED": [
|
|
"account.checkUsername",
|
|
"account.updateUsername",
|
|
"channels.checkUsername",
|
|
"channels.updateUsername",
|
|
"users.getFullUser"
|
|
],
|
|
"USERNAME_PURCHASE_AVAILABLE": [
|
|
"account.checkUsername",
|
|
"account.updateUsername",
|
|
"channels.checkUsername",
|
|
"channels.updateUsername"
|
|
],
|
|
"USERNAMES_ACTIVE_TOO_MUCH": [
|
|
"account.toggleUsername",
|
|
"channels.toggleUsername"
|
|
],
|
|
"USERPIC_UPLOAD_REQUIRED": [
|
|
"contacts.getLocated"
|
|
],
|
|
"USERS_TOO_FEW": [
|
|
"messages.createChat"
|
|
],
|
|
"USERS_TOO_MUCH": [
|
|
"channels.editAdmin",
|
|
"channels.inviteToChannel",
|
|
"channels.joinChannel",
|
|
"messages.addChatUser",
|
|
"messages.importChatInvite"
|
|
],
|
|
"VENUE_ID_INVALID": [
|
|
"stories.sendStory"
|
|
],
|
|
"VIDEO_CONTENT_TYPE_INVALID": [
|
|
"messages.sendMedia"
|
|
],
|
|
"VIDEO_FILE_INVALID": [
|
|
"photos.uploadProfilePhoto"
|
|
],
|
|
"VIDEO_PAUSE_FORBIDDEN": [
|
|
"phone.editGroupCallParticipant"
|
|
],
|
|
"VIDEO_STOP_FORBIDDEN": [
|
|
"phone.editGroupCallParticipant"
|
|
],
|
|
"VIDEO_TITLE_EMPTY": [
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"VOICE_MESSAGES_FORBIDDEN": [
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia"
|
|
],
|
|
"WALLPAPER_FILE_INVALID": [
|
|
"account.uploadWallPaper"
|
|
],
|
|
"WALLPAPER_INVALID": [
|
|
"account.getMultiWallPapers",
|
|
"account.getWallPaper",
|
|
"account.installWallPaper",
|
|
"account.saveWallPaper",
|
|
"messages.setChatWallPaper"
|
|
],
|
|
"WALLPAPER_MIME_INVALID": [
|
|
"account.uploadWallPaper"
|
|
],
|
|
"WALLPAPER_NOT_FOUND": [
|
|
"messages.setChatWallPaper"
|
|
],
|
|
"WC_CONVERT_URL_INVALID": [
|
|
"messages.getWebPage",
|
|
"messages.sendMessage"
|
|
],
|
|
"WEBDOCUMENT_INVALID": [
|
|
"messages.setInlineBotResults"
|
|
],
|
|
"WEBDOCUMENT_MIME_INVALID": [
|
|
"messages.sendMedia",
|
|
"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"
|
|
],
|
|
"WEBPAGE_NOT_FOUND": [
|
|
"messages.editMessage",
|
|
"messages.sendMedia"
|
|
],
|
|
"WEBPAGE_URL_INVALID": [
|
|
"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.requestWebView",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendScreenshotNotification"
|
|
],
|
|
"BOT_METHOD_INVALID": [],
|
|
"CONNECTION_DEVICE_MODEL_EMPTY": [],
|
|
"CONNECTION_LANG_PACK_INVALID": [],
|
|
"CONNECTION_NOT_INITED": [],
|
|
"CONNECTION_SYSTEM_EMPTY": [],
|
|
"CONNECTION_SYSTEM_LANG_CODE_EMPTY": [],
|
|
"FILE_MIGRATE_%d": [],
|
|
"FILE_PART_%d_MISSING": [],
|
|
"INPUT_CONSTRUCTOR_INVALID": [],
|
|
"INPUT_FETCH_ERROR": [],
|
|
"INPUT_FETCH_FAIL": [],
|
|
"INPUT_LAYER_INVALID": [],
|
|
"INPUT_METHOD_INVALID": [],
|
|
"INPUT_REQUEST_TOO_LONG": [],
|
|
"PEER_FLOOD": [],
|
|
"STICKERSET_NOT_MODIFIED": [],
|
|
"TMP_PASSWORD_INVALID": [],
|
|
"WEBDOCUMENT_URL_EMPTY": []
|
|
},
|
|
"403": {
|
|
"ANONYMOUS_REACTIONS_DISABLED": [
|
|
"messages.sendReaction"
|
|
],
|
|
"BROADCAST_FORBIDDEN": [
|
|
"messages.getMessageReactionsList",
|
|
"messages.getPollVotes"
|
|
],
|
|
"CHANNEL_PUBLIC_GROUP_NA": [
|
|
"channels.getFullChannel",
|
|
"channels.leaveChannel",
|
|
"updates.getChannelDifference"
|
|
],
|
|
"CHAT_ACTION_FORBIDDEN": [
|
|
"messages.deleteFactCheck",
|
|
"messages.editFactCheck"
|
|
],
|
|
"CHAT_ADMIN_INVITE_REQUIRED": [
|
|
"channels.editAdmin"
|
|
],
|
|
"CHAT_ADMIN_REQUIRED": [
|
|
"channels.deleteUserHistory",
|
|
"channels.editAdmin",
|
|
"channels.editBanned",
|
|
"channels.editForumTopic",
|
|
"channels.editPhoto",
|
|
"channels.editTitle",
|
|
"channels.getAdminLog",
|
|
"channels.getParticipant",
|
|
"channels.getParticipants",
|
|
"channels.inviteToChannel",
|
|
"channels.updateUsername",
|
|
"messages.addChatUser",
|
|
"messages.editMessage",
|
|
"messages.forwardMessages",
|
|
"messages.migrateChat",
|
|
"messages.search",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"stats.getBroadcastStats",
|
|
"stats.getMegagroupStats"
|
|
],
|
|
"CHAT_GUEST_SEND_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage"
|
|
],
|
|
"CHAT_SEND_AUDIOS_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia"
|
|
],
|
|
"CHAT_SEND_DOCS_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendMedia"
|
|
],
|
|
"CHAT_SEND_GAME_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult"
|
|
],
|
|
"CHAT_SEND_GIFS_FORBIDDEN": [
|
|
"messages.editMessage",
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia"
|
|
],
|
|
"CHAT_SEND_INLINE_FORBIDDEN": [
|
|
"messages.sendInlineBotResult"
|
|
],
|
|
"CHAT_SEND_MEDIA_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"CHAT_SEND_PHOTOS_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"CHAT_SEND_PLAIN_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage"
|
|
],
|
|
"CHAT_SEND_POLL_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendMedia"
|
|
],
|
|
"CHAT_SEND_ROUNDVIDEOS_FORBIDDEN": [
|
|
"messages.sendMedia"
|
|
],
|
|
"CHAT_SEND_STICKERS_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia"
|
|
],
|
|
"CHAT_SEND_VIDEOS_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendMedia",
|
|
"messages.sendMultiMedia"
|
|
],
|
|
"CHAT_SEND_VOICES_FORBIDDEN": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia"
|
|
],
|
|
"CHAT_WRITE_FORBIDDEN": [
|
|
"channels.convertToGigagroup",
|
|
"channels.createForumTopic",
|
|
"channels.deleteChannel",
|
|
"channels.deleteParticipantHistory",
|
|
"channels.deleteUserHistory",
|
|
"channels.editAdmin",
|
|
"channels.editBanned",
|
|
"channels.editCreator",
|
|
"channels.editPhoto",
|
|
"channels.editTitle",
|
|
"channels.getAdminLog",
|
|
"channels.inviteToChannel",
|
|
"channels.setDiscussionGroup",
|
|
"channels.updateUsername",
|
|
"invokeWithLayer",
|
|
"messages.addChatUser",
|
|
"messages.editChatAbout",
|
|
"messages.editChatDefaultBannedRights",
|
|
"messages.editExportedChatInvite",
|
|
"messages.editMessage",
|
|
"messages.exportChatInvite",
|
|
"messages.forwardMessages",
|
|
"messages.getAdminsWithInvites",
|
|
"messages.getChatInviteImporters",
|
|
"messages.getDialogs",
|
|
"messages.getExportedChatInvite",
|
|
"messages.getExportedChatInvites",
|
|
"messages.getMessageEditData",
|
|
"messages.hideAllChatJoinRequests",
|
|
"messages.hideChatJoinRequest",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia",
|
|
"messages.sendReaction",
|
|
"messages.setTyping",
|
|
"messages.startBot",
|
|
"messages.updatePinnedMessage",
|
|
"messages.uploadMedia",
|
|
"updates.getChannelDifference",
|
|
"updates.getDifference"
|
|
],
|
|
"EDIT_BOT_INVITE_FORBIDDEN": [
|
|
"messages.editExportedChatInvite"
|
|
],
|
|
"GROUPCALL_ALREADY_STARTED": [
|
|
"phone.startScheduledGroupCall",
|
|
"phone.toggleGroupCallStartSubscription"
|
|
],
|
|
"GROUPCALL_FORBIDDEN": [
|
|
"messages.setTyping",
|
|
"phone.discardGroupCall",
|
|
"phone.editGroupCallParticipant",
|
|
"phone.editGroupCallTitle",
|
|
"phone.getGroupCall",
|
|
"phone.inviteToGroupCall",
|
|
"phone.joinGroupCall",
|
|
"phone.toggleGroupCallRecord"
|
|
],
|
|
"INLINE_BOT_REQUIRED": [
|
|
"messages.editMessage"
|
|
],
|
|
"MESSAGE_AUTHOR_REQUIRED": [
|
|
"messages.editMessage",
|
|
"messages.getMessageEditData"
|
|
],
|
|
"MESSAGE_DELETE_FORBIDDEN": [
|
|
"channels.deleteMessages",
|
|
"messages.deleteMessages",
|
|
"messages.deleteScheduledMessages"
|
|
],
|
|
"NOT_ELIGIBLE": [
|
|
"smsjobs.isEligibleToJoin"
|
|
],
|
|
"PARTICIPANT_JOIN_MISSING": [
|
|
"phone.joinGroupCallPresentation"
|
|
],
|
|
"POLL_VOTE_REQUIRED": [
|
|
"messages.getPollVotes"
|
|
],
|
|
"PREMIUM_ACCOUNT_REQUIRED": [
|
|
"account.createBusinessChatLink",
|
|
"account.editBusinessChatLink",
|
|
"account.setGlobalPrivacySettings",
|
|
"account.updateColor",
|
|
"account.updateConnectedBot",
|
|
"channels.createForumTopic",
|
|
"messages.checkQuickReplyShortcut",
|
|
"messages.editQuickReplyShortcut",
|
|
"messages.forwardMessages",
|
|
"messages.reorderQuickReplies",
|
|
"messages.sendMedia",
|
|
"messages.sendQuickReplyMessages",
|
|
"messages.sendReaction",
|
|
"messages.toggleDialogFilterTags",
|
|
"messages.transcribeAudio",
|
|
"messages.updateSavedReactionTag"
|
|
],
|
|
"PRIVACY_PREMIUM_REQUIRED": [
|
|
"messages.forwardMessages",
|
|
"messages.requestWebView",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage"
|
|
],
|
|
"PUBLIC_CHANNEL_MISSING": [
|
|
"phone.exportGroupCallInvite"
|
|
],
|
|
"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",
|
|
"users.setSecureValueErrors"
|
|
],
|
|
"USER_CHANNELS_TOO_MUCH": [
|
|
"channels.editAdmin",
|
|
"channels.inviteToChannel",
|
|
"messages.hideChatJoinRequest"
|
|
],
|
|
"USER_DELETED": [
|
|
"messages.sendEncryptedService"
|
|
],
|
|
"USER_INVALID": [
|
|
"help.editUserInfo",
|
|
"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",
|
|
"messages.getOutboxReadDate",
|
|
"phone.requestCall"
|
|
],
|
|
"USER_RESTRICTED": [
|
|
"channels.createChannel",
|
|
"channels.editAdmin",
|
|
"messages.createChat"
|
|
],
|
|
"VOICE_MESSAGES_FORBIDDEN": [
|
|
"messages.forwardMessages"
|
|
],
|
|
"YOUR_PRIVACY_RESTRICTED": [
|
|
"messages.getOutboxReadDate"
|
|
],
|
|
"CHAT_FORBIDDEN": []
|
|
},
|
|
"500": {
|
|
"AUTH_RESTART": [
|
|
"auth.sendCode",
|
|
"auth.signIn"
|
|
],
|
|
"CALL_OCCUPY_FAILED": [
|
|
"phone.acceptCall",
|
|
"phone.discardCall"
|
|
],
|
|
"CDN_SALTS_EMPTY": [
|
|
"upload.getCdnFileHashes"
|
|
],
|
|
"CDN_UPLOAD_TIMEOUT": [
|
|
"upload.reuploadCdnFile"
|
|
],
|
|
"CHAT_ID_GENERATE_FAILED": [
|
|
"messages.createChat"
|
|
],
|
|
"CHAT_INVALID": [
|
|
"channels.createChannel",
|
|
"messages.migrateChat"
|
|
],
|
|
"MSG_WAIT_FAILED": [
|
|
"messages.editMessage",
|
|
"messages.receivedQueue",
|
|
"messages.sendEncrypted",
|
|
"messages.sendEncryptedService",
|
|
"messages.sendMessage"
|
|
],
|
|
"PERSISTENT_TIMESTAMP_OUTDATED": [
|
|
"updates.getChannelDifference"
|
|
],
|
|
"RANDOM_ID_DUPLICATE": [
|
|
"messages.forwardMessages",
|
|
"messages.sendInlineBotResult",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.sendMultiMedia",
|
|
"messages.sendScheduledMessages",
|
|
"messages.startBot",
|
|
"updates.getDifference"
|
|
],
|
|
"SEND_MEDIA_INVALID": [
|
|
"messages.sendInlineBotResult"
|
|
],
|
|
"SIGN_IN_FAILED": [
|
|
"auth.signIn"
|
|
]
|
|
},
|
|
"406": {
|
|
"BANNED_RIGHTS_INVALID": [
|
|
"channels.editBanned"
|
|
],
|
|
"BUSINESS_ADDRESS_ACTIVE": [
|
|
"contacts.getLocated"
|
|
],
|
|
"CALL_PROTOCOL_COMPAT_LAYER_INVALID": [
|
|
"phone.acceptCall"
|
|
],
|
|
"CHANNEL_PRIVATE": [
|
|
"channels.deleteChannel",
|
|
"channels.deleteMessages",
|
|
"channels.editBanned",
|
|
"channels.getAdminLog",
|
|
"channels.getChannels",
|
|
"channels.getFullChannel",
|
|
"channels.getMessages",
|
|
"channels.getParticipant",
|
|
"channels.getParticipants",
|
|
"channels.inviteToChannel",
|
|
"channels.joinChannel",
|
|
"channels.leaveChannel",
|
|
"channels.readHistory",
|
|
"channels.readMessageContents",
|
|
"messages.checkChatInvite",
|
|
"messages.editMessage",
|
|
"messages.forwardMessages",
|
|
"messages.getHistory",
|
|
"messages.getInlineBotResults",
|
|
"messages.getMessagesViews",
|
|
"messages.getPeerDialogs",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage",
|
|
"messages.setTyping",
|
|
"updates.getChannelDifference"
|
|
],
|
|
"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",
|
|
"invokeWithLayer",
|
|
"messages.checkChatInvite",
|
|
"messages.importChatInvite"
|
|
],
|
|
"PAYMENT_UNSUPPORTED": [
|
|
"messages.forwardMessages",
|
|
"messages.sendMessage"
|
|
],
|
|
"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"
|
|
],
|
|
"PRIVACY_PREMIUM_REQUIRED": [
|
|
"messages.forwardMessages",
|
|
"messages.sendMessage"
|
|
],
|
|
"SEND_CODE_UNAVAILABLE": [
|
|
"auth.resendCode"
|
|
],
|
|
"STICKERSET_INVALID": [
|
|
"messages.getStickerSet",
|
|
"messages.installStickerSet",
|
|
"messages.uninstallStickerSet",
|
|
"stickers.addStickerToSet"
|
|
],
|
|
"STICKERSET_OWNER_ANONYMOUS": [
|
|
"channels.setStickers"
|
|
],
|
|
"TOPIC_CLOSED": [
|
|
"messages.forwardMessages",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage"
|
|
],
|
|
"TOPIC_DELETED": [
|
|
"messages.forwardMessages",
|
|
"messages.sendMedia",
|
|
"messages.sendMessage"
|
|
],
|
|
"UPDATE_APP_TO_LOGIN": [
|
|
"auth.sendCode",
|
|
"auth.signIn"
|
|
],
|
|
"USER_RESTRICTED": [
|
|
"channels.createChannel",
|
|
"messages.createChat"
|
|
],
|
|
"USERPIC_PRIVACY_REQUIRED": [
|
|
"contacts.getLocated"
|
|
],
|
|
"USERPIC_UPLOAD_REQUIRED": [
|
|
"contacts.getLocated"
|
|
],
|
|
"AUTH_KEY_DUPLICATED": []
|
|
},
|
|
"-503": {
|
|
"Timeout": [
|
|
"messages.getBotCallbackAnswer",
|
|
"messages.getInlineBotResults"
|
|
],
|
|
"MSG_WAIT_TIMEOUT": []
|
|
},
|
|
"401": {
|
|
"AUTH_KEY_INVALID": [],
|
|
"AUTH_KEY_PERM_EMPTY": [],
|
|
"AUTH_KEY_UNREGISTERED": [],
|
|
"SESSION_EXPIRED": [],
|
|
"SESSION_PASSWORD_NEEDED": [],
|
|
"SESSION_REVOKED": [],
|
|
"USER_DEACTIVATED": [],
|
|
"USER_DEACTIVATED_BAN": []
|
|
},
|
|
"303": {
|
|
"NETWORK_MIGRATE_%d": [],
|
|
"PHONE_MIGRATE_%d": [],
|
|
"STATS_MIGRATE_%d": [],
|
|
"USER_MIGRATE_%d": []
|
|
}
|
|
},
|
|
"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.",
|
|
"AD_EXPIRED": "The ad has expired (too old or not found).",
|
|
"ADDRESS_INVALID": "The specified geopoint address is 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.",
|
|
"ADMIN_RIGHTS_EMPTY": "The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).",
|
|
"ADMINS_TOO_MUCH": "There are too many admins.",
|
|
"ALBUM_PHOTOS_TOO_MANY": "You have uploaded too many profile photos, delete some before retrying.",
|
|
"ANONYMOUS_REACTIONS_DISABLED": "Sorry, anonymous administrators cannot leave reactions or participate in polls.",
|
|
"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_DUPLICATED": "Concurrent usage of the current session from multiple connections was detected, the current session was invalidated by the server for security reasons!",
|
|
"AUTH_KEY_INVALID": "The specified auth key is invalid.",
|
|
"AUTH_KEY_PERM_EMPTY": "The method is unavailable for temporary authorization keys, not bound to a permanent authorization key.",
|
|
"AUTH_KEY_UNREGISTERED": "The specified authorization key is not registered in the system (for example, a PFS temporary key has expired).",
|
|
"AUTH_RESTART": "Restart the authorization process.",
|
|
"AUTH_TOKEN_ALREADY_ACCEPTED": "The specified auth token was already accepted.",
|
|
"AUTH_TOKEN_EXCEPTION": "An error occurred while importing the auth token.",
|
|
"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.",
|
|
"BIRTHDAY_INVALID": "An invalid age was specified, must be between 0 and 150 years.",
|
|
"BOOST_NOT_MODIFIED": "You're already [boosting](https:\/\/core.telegram.org\/api\/boost) the specified channel.",
|
|
"BOOST_PEER_INVALID": "The specified `boost_peer` is invalid.",
|
|
"BOOSTS_EMPTY": "No boost slots were specified.",
|
|
"BOOSTS_REQUIRED": "The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to perform this action.",
|
|
"BOT_APP_BOT_INVALID": "The bot_id passed in the inputBotAppShortName constructor is invalid.",
|
|
"BOT_APP_INVALID": "The specified bot app is invalid.",
|
|
"BOT_APP_SHORTNAME_INVALID": "The specified bot app short name is invalid.",
|
|
"BOT_BUSINESS_MISSING": "The specified bot is not a business bot (the [user](https:\/\/core.telegram.org\/constructor\/user).`bot_business` flag is not set).",
|
|
"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_METHOD_INVALID": "The specified method cannot be used by bots.",
|
|
"BOT_MISSING": "Only bots can call this method, please use [@stickers](https:\/\/t.me\/stickers) if you're a user.",
|
|
"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_RESPONSE_TIMEOUT": "A timeout occurred while fetching data from the bot.",
|
|
"BOT_SCORE_NOT_MODIFIED": "The score wasn't modified.",
|
|
"BOT_WEBVIEW_DISABLED": "A webview cannot be opened in the specified conditions: emitted for example if `from_bot_menu` or `url` are set and `peer` is not the chat with the bot.",
|
|
"BOTS_TOO_MUCH": "There are too many bots in this chat\/channel.",
|
|
"BROADCAST_FORBIDDEN": "Channel poll voters and reactions cannot be fetched to prevent deanonymization.",
|
|
"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.",
|
|
"BUSINESS_ADDRESS_ACTIVE": "The user is currently advertising a [Business Location](https:\/\/core.telegram.org\/api\/business#location), the location may only be changed (or removed) using [account.updateBusinessLocation »](https:\/\/core.telegram.org\/method\/account.updateBusinessLocation). .",
|
|
"BUSINESS_PEER_INVALID": "Messages can't be set to the specified peer through the current [business connection](https:\/\/core.telegram.org\/api\/business#connected-bots).",
|
|
"BUSINESS_WORK_HOURS_EMPTY": "No work hours were specified.",
|
|
"BUSINESS_WORK_HOURS_PERIOD_INVALID": "The specified work hours are invalid, see [here »](https:\/\/core.telegram.org\/api\/business#opening-hours) for the exact requirements.",
|
|
"BUTTON_DATA_INVALID": "The data of one or more of the buttons you provided is invalid.",
|
|
"BUTTON_TEXT_INVALID": "The specified button text is invalid.",
|
|
"BUTTON_TYPE_INVALID": "The type of one or more of the buttons you provided is invalid.",
|
|
"BUTTON_URL_INVALID": "Button URL invalid.",
|
|
"BUTTON_USER_INVALID": "The `user_id` passed to inputKeyboardButtonUserProfile is invalid!",
|
|
"BUTTON_USER_PRIVACY_RESTRICTED": "The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](https:\/\/core.telegram.org\/constructor\/inputKeyboardButtonUserProfile) button do not allow creating such a button.",
|
|
"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_COMPAT_LAYER_INVALID": "The other side of the call does not support any of the VoIP protocols supported by the local client, as specified by the `protocol.layer` and `protocol.library_versions` fields.",
|
|
"CALL_PROTOCOL_FLAGS_INVALID": "Call protocol flags invalid.",
|
|
"CDN_METHOD_INVALID": "You can't call this method in a CDN DC.",
|
|
"CDN_UPLOAD_TIMEOUT": "A server-side timeout occurred while reuploading the file to the CDN DC.",
|
|
"CHANNEL_FORUM_MISSING": "This supergroup is not a forum.",
|
|
"CHANNEL_ID_INVALID": "The specified supergroup ID is invalid.",
|
|
"CHANNEL_INVALID": "The provided channel is invalid.",
|
|
"CHANNEL_PARICIPANT_MISSING": "The current user is not in the channel.",
|
|
"CHANNEL_PRIVATE": "You haven't joined this channel\/supergroup.",
|
|
"CHANNEL_PUBLIC_GROUP_NA": "channel\/supergroup not available.",
|
|
"CHANNEL_TOO_BIG": "This channel has too many participants (>1000) to be deleted.",
|
|
"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.",
|
|
"CHARGE_ALREADY_REFUNDED": "The transaction was already refunded.",
|
|
"CHAT_ABOUT_NOT_MODIFIED": "About text has not changed.",
|
|
"CHAT_ABOUT_TOO_LONG": "Chat about too long.",
|
|
"CHAT_ACTION_FORBIDDEN": "You cannot execute this action.",
|
|
"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_DISCUSSION_UNALLOWED": "You can't enable forum topics in a discussion group linked to a channel.",
|
|
"CHAT_FORBIDDEN": "This chat is not available to the current user.",
|
|
"CHAT_FORWARDS_RESTRICTED": "You can't forward messages from a protected chat.",
|
|
"CHAT_GUEST_SEND_FORBIDDEN": "You join the discussion group before commenting, see [here »](https:\/\/core.telegram.org\/api\/discussion#requiring-users-to-join-the-group) for more info.",
|
|
"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_INVITE_PERMANENT": "You can't set an expiration date on permanent invite links.",
|
|
"CHAT_LINK_EXISTS": "The chat is public, you can't hide the history to new users.",
|
|
"CHAT_NOT_MODIFIED": "No changes were made to chat information because the new information you passed is identical to the current information.",
|
|
"CHAT_PUBLIC_REQUIRED": "You can only enable join requests in public groups.",
|
|
"CHAT_RESTRICTED": "You can't send messages in this chat, you were restricted.",
|
|
"CHAT_REVOKE_DATE_UNSUPPORTED": "`min_date` and `max_date` are not available for using with non-user peers.",
|
|
"CHAT_SEND_AUDIOS_FORBIDDEN": "You can't send audio messages in this chat.",
|
|
"CHAT_SEND_DOCS_FORBIDDEN": "You can't send documents in this chat.",
|
|
"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_PHOTOS_FORBIDDEN": "You can't send photos in this chat.",
|
|
"CHAT_SEND_PLAIN_FORBIDDEN": "You can't send non-media (text) messages in this chat.",
|
|
"CHAT_SEND_POLL_FORBIDDEN": "You can't send polls in this chat.",
|
|
"CHAT_SEND_ROUNDVIDEOS_FORBIDDEN": "You can't send round videos to this chat.",
|
|
"CHAT_SEND_STICKERS_FORBIDDEN": "You can't send stickers in this chat.",
|
|
"CHAT_SEND_VIDEOS_FORBIDDEN": "You can't send videos in this chat.",
|
|
"CHAT_SEND_VOICES_FORBIDDEN": "You can't send voice recordings 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.",
|
|
"CHATLINK_SLUG_EMPTY": "The specified slug is empty.",
|
|
"CHATLINK_SLUG_EXPIRED": "The specified [business chat link](https:\/\/core.telegram.org\/api\/business#business-chat-links) has expired.",
|
|
"CHATLINKS_TOO_MUCH": "Too many [business chat links](https:\/\/core.telegram.org\/api\/business#business-chat-links) were created, please delete some older links.",
|
|
"CHATLIST_EXCLUDE_INVALID": "The specified `exclude_peers` are invalid.",
|
|
"CODE_EMPTY": "The provided code is empty.",
|
|
"CODE_HASH_INVALID": "Code hash invalid.",
|
|
"CODE_INVALID": "Code invalid.",
|
|
"COLLECTIBLE_INVALID": "The specified collectible is invalid.",
|
|
"COLLECTIBLE_NOT_FOUND": "The specified collectible could not be found.",
|
|
"COLOR_INVALID": "The specified color palette ID was invalid.",
|
|
"CONNECTION_API_ID_INVALID": "The provided API id is invalid.",
|
|
"CONNECTION_APP_VERSION_EMPTY": "App version is empty.",
|
|
"CONNECTION_DEVICE_MODEL_EMPTY": "The specified device model is empty.",
|
|
"CONNECTION_ID_INVALID": "The specified connection ID is invalid.",
|
|
"CONNECTION_LANG_PACK_INVALID": "The specified language pack is empty.",
|
|
"CONNECTION_LAYER_INVALID": "Layer invalid.",
|
|
"CONNECTION_NOT_INITED": "Please initialize the connection using initConnection before making queries.",
|
|
"CONNECTION_SYSTEM_EMPTY": "The specified system version is empty.",
|
|
"CONNECTION_SYSTEM_LANG_CODE_EMPTY": "The specified system language code is empty.",
|
|
"CONTACT_ADD_MISSING": "Contact to add is missing.",
|
|
"CONTACT_ID_INVALID": "The provided contact ID is invalid.",
|
|
"CONTACT_MISSING": "The specified user is not a contact.",
|
|
"CONTACT_NAME_EMPTY": "Contact name empty.",
|
|
"CONTACT_REQ_MISSING": "Missing contact request.",
|
|
"CREATE_CALL_FAILED": "An error occurred while creating the call.",
|
|
"CURRENCY_TOTAL_AMOUNT_INVALID": "The total amount of all prices is invalid.",
|
|
"CUSTOM_REACTIONS_TOO_MANY": "Too many custom reactions were specified.",
|
|
"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": "Normal users can't edit invites that were created by bots.",
|
|
"EMAIL_HASH_EXPIRED": "Email hash expired.",
|
|
"EMAIL_INVALID": "The specified email is invalid.",
|
|
"EMAIL_NOT_SETUP": "In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup.",
|
|
"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_MARKUP_INVALID": "The specified `video_emoji_markup` was invalid.",
|
|
"EMOJI_NOT_MODIFIED": "The theme wasn't changed.",
|
|
"EMOTICON_EMPTY": "The emoji is empty.",
|
|
"EMOTICON_INVALID": "The specified emoji is invalid.",
|
|
"EMOTICON_STICKERPACK_MISSING": "inputStickerSetDice.emoji cannot be empty.",
|
|
"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.",
|
|
"ENTITIES_TOO_LONG": "You provided too many styled message entities.",
|
|
"ENTITY_BOUNDS_INVALID": "A specified [entity offset or length](https:\/\/core.telegram.org\/api\/entities#entity-length) is invalid, see [here »](https:\/\/core.telegram.org\/api\/entities#entity-length) for info on how to properly compute the entity offset\/length.",
|
|
"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_MIGRATE_%d": "The file currently being accessed is stored in DC %d, please re-send the query to that DC.",
|
|
"FILE_PART_%d_MISSING": "Part %d of the file is missing from storage. Try repeating the method call to resave the part.",
|
|
"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.",
|
|
"FILE_TOKEN_INVALID": "The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile.",
|
|
"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": "The specified filter cannot be used in this context.",
|
|
"FILTER_TITLE_EMPTY": "The title field of the filter is empty.",
|
|
"FIRSTNAME_INVALID": "The first name is invalid.",
|
|
"FLOOD_PREMIUM_WAIT_%d": "Please wait %d seconds before repeating the action, or purchase a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to remove this rate limit.",
|
|
"FLOOD_WAIT_%d": "Please wait %d seconds before repeating the action.",
|
|
"FOLDER_ID_EMPTY": "An empty folder ID was specified.",
|
|
"FOLDER_ID_INVALID": "Invalid folder ID.",
|
|
"FORUM_ENABLED": "You can't execute the specified action because the group is a [forum](https:\/\/core.telegram.org\/api\/forum), disable forum functionality to continue.",
|
|
"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.",
|
|
"GENERAL_MODIFY_ICON_FORBIDDEN": "You can't modify the icon of the \"General\" topic.",
|
|
"GEO_POINT_INVALID": "Invalid geoposition provided.",
|
|
"GIF_CONTENT_TYPE_INVALID": "GIF content-type invalid.",
|
|
"GIF_ID_INVALID": "The provided GIF ID is invalid.",
|
|
"GIFT_SLUG_EXPIRED": "The specified gift slug has expired.",
|
|
"GIFT_SLUG_INVALID": "The specified slug 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_ALREADY_STARTED": "The groupcall has already started, you can join directly using [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall).",
|
|
"GROUPCALL_FORBIDDEN": "The group call has already ended.",
|
|
"GROUPCALL_INVALID": "The specified group call is invalid.",
|
|
"GROUPCALL_JOIN_MISSING": "You haven't joined this group call.",
|
|
"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.",
|
|
"HASHTAG_INVALID": "The specified hashtag is invalid.",
|
|
"HIDE_REQUESTER_MISSING": "The join request was missing or was already handled.",
|
|
"IMAGE_PROCESS_FAILED": "Failure while processing image.",
|
|
"IMPORT_FILE_INVALID": "The specified chat export file is invalid.",
|
|
"IMPORT_FORMAT_DATE_INVALID": "The date specified in the import 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.",
|
|
"IMPORT_TOKEN_INVALID": "The specified token is invalid.",
|
|
"INLINE_BOT_REQUIRED": "Only the inline bot can edit message.",
|
|
"INLINE_RESULT_EXPIRED": "The inline query expired.",
|
|
"INPUT_CHATLIST_INVALID": "The specified folder is invalid.",
|
|
"INPUT_CONSTRUCTOR_INVALID": "The specified TL constructor is invalid.",
|
|
"INPUT_FETCH_ERROR": "An error occurred while parsing the provided TL constructor.",
|
|
"INPUT_FETCH_FAIL": "An error occurred while parsing the provided TL constructor.",
|
|
"INPUT_FILTER_INVALID": "The specified filter is invalid.",
|
|
"INPUT_LAYER_INVALID": "The specified layer is invalid.",
|
|
"INPUT_METHOD_INVALID": "The specified method is invalid.",
|
|
"INPUT_REQUEST_TOO_LONG": "The request payload is too long.",
|
|
"INPUT_TEXT_EMPTY": "The specified text is empty.",
|
|
"INPUT_TEXT_TOO_LONG": "The specified text is too long.",
|
|
"INPUT_USER_DEACTIVATED": "The specified user was deleted.",
|
|
"INVITE_FORBIDDEN_WITH_JOINAS": "If the user has anonymously joined a group call as a channel, they can't invite other users to the group call because that would cause deanonymization, because the invite would be sent using the original user ID, not the anonymized channel ID.",
|
|
"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": "You have successfully requested to join this chat or channel.",
|
|
"INVITE_REVOKED_MISSING": "The specified invite link was already revoked or is invalid.",
|
|
"INVITE_SLUG_EMPTY": "The specified invite slug is empty.",
|
|
"INVITE_SLUG_EXPIRED": "The specified chat folder link has expired.",
|
|
"INVITES_TOO_MUCH": "The maximum number of per-folder invites specified by the `chatlist_invites_limit_default`\/`chatlist_invites_limit_premium` [client configuration parameters »](https:\/\/core.telegram.org\/api\/config#chatlist-invites-limit-default) was reached.",
|
|
"INVOICE_PAYLOAD_INVALID": "The specified invoice payload is invalid.",
|
|
"JOIN_AS_PEER_INVALID": "The specified peer cannot be used to join a group call.",
|
|
"LANG_CODE_INVALID": "The specified language code is invalid.",
|
|
"LANG_CODE_NOT_SUPPORTED": "The specified language code is not supported.",
|
|
"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_DATE_INVALID": "The specified maximum date 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_FILE_INVALID": "The specified media file 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.",
|
|
"MEDIA_TTL_INVALID": "The specified media TTL is invalid.",
|
|
"MEDIA_TYPE_INVALID": "The specified media type cannot be used in stories.",
|
|
"MEDIA_VIDEO_STORY_MISSING": "A non-story video cannot be repubblished as a story (emitted when trying to resend a non-story video as a story using inputDocument).",
|
|
"MEGAGROUP_GEO_REQUIRED": "This method can only be invoked on a geogroup.",
|
|
"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 provided message data is identical to the previous message data, the message wasn't modified.",
|
|
"MESSAGE_POLL_CLOSED": "Poll closed.",
|
|
"MESSAGE_TOO_LONG": "The provided message is too long.",
|
|
"MESSAGE_TOO_OLD": "The message is too old, the requested information is not available.",
|
|
"METHOD_INVALID": "The specified method is invalid.",
|
|
"MIN_DATE_INVALID": "The specified minimum date is invalid.",
|
|
"MSG_ID_INVALID": "Invalid message ID provided.",
|
|
"MSG_TOO_OLD": "[`chat_read_mark_expire_period` seconds](https:\/\/core.telegram.org\/api\/config#chat-read-mark-expire-period) have passed since the message was sent, read receipts were deleted.",
|
|
"MSG_WAIT_FAILED": "A waiting call returned an error.",
|
|
"MSG_WAIT_TIMEOUT": "Spent too much time waiting for a previous query in the invokeAfterMsg request queue, aborting!",
|
|
"MULTI_MEDIA_TOO_LONG": "Too many media files for album.",
|
|
"NETWORK_MIGRATE_%d": "Your IP address is associated to DC %d, please re-send the query to that DC.",
|
|
"NEW_SALT_INVALID": "The new salt is invalid.",
|
|
"NEW_SETTINGS_EMPTY": "No password is set on the current account, and no new password was specified in `new_settings`.",
|
|
"NEW_SETTINGS_INVALID": "The new password settings are invalid.",
|
|
"NEXT_OFFSET_INVALID": "The specified offset is longer than 64 bytes.",
|
|
"NOT_ELIGIBLE": "The current user is not eligible to join the Peer-to-Peer Login Program.",
|
|
"NOT_JOINED": "The current user hasn't joined the Peer-to-Peer Login Program.",
|
|
"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.",
|
|
"ORDER_INVALID": "The specified username order is invalid.",
|
|
"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_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](https:\/\/core.telegram.org\/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](https:\/\/core.telegram.org\/api\/srp) before executing this operation.",
|
|
"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.",
|
|
"PAYMENT_UNSUPPORTED": "A detailed description of the error will be received separately as described [here »](https:\/\/core.telegram.org\/api\/errors#406-not-acceptable).",
|
|
"PEER_FLOOD": "The current account is spamreported, you cannot execute this action, check @spambot for more info.",
|
|
"PEER_HISTORY_EMPTY": "You can't pin an empty chat with a user.",
|
|
"PEER_ID_INVALID": "The provided peer id is invalid.",
|
|
"PEER_ID_NOT_SUPPORTED": "The provided peer ID is not supported.",
|
|
"PEERS_LIST_EMPTY": "The specified list of peers is empty.",
|
|
"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_HASH_EXPIRED": "An invalid or expired `phone_code_hash` was provided.",
|
|
"PHONE_MIGRATE_%d": "Your phone number is associated to DC %d, please re-send the query to that DC.",
|
|
"PHONE_NOT_OCCUPIED": "No user is associated to the specified phone number.",
|
|
"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.",
|
|
"PREMIUM_ACCOUNT_REQUIRED": "A premium account is required to execute this action.",
|
|
"PREMIUM_SUB_ACTIVE_UNTIL_%d": "You already have a premium subscription active until unixtime %d .",
|
|
"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_PREMIUM_REQUIRED": "You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user.",
|
|
"PRIVACY_TOO_LONG": "Too many privacy rules were specified, the current limit is 1000.",
|
|
"PRIVACY_VALUE_INVALID": "The specified privacy rule combination is invalid.",
|
|
"PUBLIC_CHANNEL_MISSING": "You can only export group call invite links for public chats or channels.",
|
|
"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.",
|
|
"QUICK_REPLIES_TOO_MUCH": "A maximum of [appConfig.`quick_replies_limit`](https:\/\/core.telegram.org\/api\/config#quick-replies-limit) shortcuts may be created, the limit was reached.",
|
|
"QUIZ_ANSWER_MISSING": "You can forward a quiz while hiding the original author only after choosing an option in the quiz.",
|
|
"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, quizzes can only have one right answer!",
|
|
"QUIZ_MULTIPLE_INVALID": "Quizzes can't have the multiple_choice flag set!",
|
|
"QUOTE_TEXT_INVALID": "The specified `reply_to`.`quote_text` field is invalid.",
|
|
"RAISE_HAND_FORBIDDEN": "You cannot raise your hand.",
|
|
"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.",
|
|
"REACTIONS_TOO_MANY": "The message already has exactly `reactions_uniq_max` reaction emojis, you can't react with a new emoji, see [the docs for more info »](https:\/\/core.telegram.org\/api\/config#client-configuration).",
|
|
"RECEIPT_EMPTY": "The specified receipt is empty.",
|
|
"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.",
|
|
"REPLY_MESSAGE_ID_INVALID": "The specified reply-to message ID is invalid.",
|
|
"REPLY_MESSAGES_TOO_MUCH": "Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https:\/\/core.telegram.org\/api\/config#quick-reply-messages-limit) messages, the limit was reached.",
|
|
"REPLY_TO_INVALID": "The specified `reply_to` field is invalid.",
|
|
"REPLY_TO_USER_INVALID": "The replied-to user is invalid.",
|
|
"REQUEST_TOKEN_INVALID": "The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile.",
|
|
"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_ID_INVALID": "One of the specified result IDs is invalid.",
|
|
"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.",
|
|
"RIGHTS_NOT_MODIFIED": "The new admin rights are equal to the old rights, no change was made.",
|
|
"RINGTONE_INVALID": "The specified ringtone is invalid.",
|
|
"RINGTONE_MIME_INVALID": "The MIME type for the ringtone is invalid.",
|
|
"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": "The specified game score is invalid.",
|
|
"SEARCH_QUERY_EMPTY": "The search query is empty.",
|
|
"SEARCH_WITH_LINK_NOT_SUPPORTED": "You cannot provide a search query and an invite link at the same time.",
|
|
"SECONDS_INVALID": "Invalid duration provided.",
|
|
"SECURE_SECRET_REQUIRED": "A secure secret is required.",
|
|
"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_MEDIA_INVALID": "The specified media is invalid.",
|
|
"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_EXPIRED": "The session has expired.",
|
|
"SESSION_PASSWORD_NEEDED": "2FA is enabled, use a password to login.",
|
|
"SESSION_REVOKED": "The session was revoked by the user.",
|
|
"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.",
|
|
"SHORTCUT_INVALID": "The specified shortcut is invalid.",
|
|
"SIGN_IN_FAILED": "Failure while signing in.",
|
|
"SLOTS_EMPTY": "The specified slot list is empty.",
|
|
"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.",
|
|
"SLUG_INVALID": "The specified invoice slug is invalid.",
|
|
"SMS_CODE_CREATE_FAILED": "An error occurred while creating the SMS code.",
|
|
"SMSJOB_ID_INVALID": "The specified job ID is invalid.",
|
|
"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.",
|
|
"STATS_MIGRATE_%d": "Channel statistics for the specified channel are stored on DC %d, please re-send the query to that DC.",
|
|
"STICKER_DOCUMENT_INVALID": "The specified sticker document is invalid.",
|
|
"STICKER_EMOJI_INVALID": "Sticker emoji invalid.",
|
|
"STICKER_FILE_INVALID": "Sticker file invalid.",
|
|
"STICKER_GIF_DIMENSIONS": "The specified video sticker has invalid dimensions.",
|
|
"STICKER_ID_INVALID": "The provided sticker ID is invalid.",
|
|
"STICKER_INVALID": "The provided sticker is invalid.",
|
|
"STICKER_MIME_INVALID": "The specified sticker MIME type 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": "You must send the animated sticker as a document.",
|
|
"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": "The specified video sticker is too big.",
|
|
"STICKER_VIDEO_NODOC": "You must send the video sticker as a document.",
|
|
"STICKER_VIDEO_NOWEBM": "The specified video sticker is not in webm format.",
|
|
"STICKERPACK_STICKERS_TOO_MUCH": "There are too many stickers in this stickerpack, you can't add any more.",
|
|
"STICKERS_EMPTY": "No sticker provided.",
|
|
"STICKERS_TOO_MUCH": "There are too many stickers in this stickerpack, you can't add any more.",
|
|
"STICKERSET_INVALID": "The provided sticker set is invalid.",
|
|
"STICKERSET_NOT_MODIFIED": "The passed stickerset information is equal to the current information.",
|
|
"STICKERSET_OWNER_ANONYMOUS": "Provided stickerset can't be installed as group stickerset to prevent admin deanonymization.",
|
|
"STORIES_NEVER_CREATED": "This peer hasn't ever posted any stories.",
|
|
"STORIES_TOO_MUCH": "You have hit the maximum active stories limit as specified by the [`story_expiring_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#story-expiring-limit-default): you should buy a [Premium](https:\/\/core.telegram.org\/api\/premium) subscription, delete an active story, or wait for the oldest story to expire.",
|
|
"STORY_ID_EMPTY": "You specified no story IDs.",
|
|
"STORY_ID_INVALID": "The specified story ID is invalid.",
|
|
"STORY_NOT_MODIFIED": "The new story information you passed is equal to the previous story information, thus it wasn't modified.",
|
|
"STORY_PERIOD_INVALID": "The specified story period is invalid for this account.",
|
|
"STORY_SEND_FLOOD_MONTHLY_%d": "You've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story.",
|
|
"STORY_SEND_FLOOD_WEEKLY_%d": "You've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story.",
|
|
"SWITCH_PM_TEXT_EMPTY": "The switch_pm.text field was empty.",
|
|
"SWITCH_WEBVIEW_URL_INVALID": "The URL specified in switch_webview.url is invalid!",
|
|
"TAKEOUT_INIT_DELAY_%d": "Sorry, for security reasons, you will be able to begin downloading your data in %d seconds. We have notified all your devices about the export request to make sure it's authorized and to give you time to react if it's not.",
|
|
"TAKEOUT_INVALID": "The specified takeout ID is invalid.",
|
|
"TAKEOUT_REQUIRED": "A [takeout](https:\/\/core.telegram.org\/api\/takeout) session needs to be initialized first, [see here » for more info](https:\/\/core.telegram.org\/api\/takeout).",
|
|
"TASK_ALREADY_EXISTS": "An email reset was already requested.",
|
|
"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.",
|
|
"THEME_TITLE_INVALID": "The specified theme title is invalid.",
|
|
"Timeout": "Timeout while fetching data.",
|
|
"TIMEZONE_INVALID": "The specified timezone does not exist.",
|
|
"TITLE_INVALID": "The specified stickerpack title is invalid.",
|
|
"TMP_PASSWORD_DISABLED": "The temporary password is disabled.",
|
|
"TMP_PASSWORD_INVALID": "The passed tmp_password is invalid.",
|
|
"TO_LANG_INVALID": "The specified destination language is invalid.",
|
|
"TOKEN_EMPTY": "The specified token is empty.",
|
|
"TOKEN_INVALID": "The provided token is invalid.",
|
|
"TOKEN_TYPE_INVALID": "The specified token type is invalid.",
|
|
"TOPIC_CLOSE_SEPARATELY": "The `close` flag cannot be provided together with any of the other flags.",
|
|
"TOPIC_CLOSED": "This topic was closed, you can't send messages to it anymore.",
|
|
"TOPIC_DELETED": "The specified topic was deleted.",
|
|
"TOPIC_HIDE_SEPARATELY": "The `hide` flag cannot be provided together with any of the other flags.",
|
|
"TOPIC_ID_INVALID": "The specified topic ID is invalid.",
|
|
"TOPIC_NOT_MODIFIED": "The updated topic info is equal to the current topic info, nothing was changed.",
|
|
"TOPIC_TITLE_EMPTY": "The specified topic title is empty.",
|
|
"TOPICS_EMPTY": "You specified no topic IDs.",
|
|
"TRANSCRIPTION_FAILED": "Audio transcription failed.",
|
|
"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.",
|
|
"UNTIL_DATE_INVALID": "Invalid until date provided.",
|
|
"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": "You have already invited this user.",
|
|
"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": "User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts.",
|
|
"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_DEACTIVATED": "The current account was deleted by the user.",
|
|
"USER_DEACTIVATED_BAN": "The current account was deleted and banned by Telegram's antispam system.",
|
|
"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_MIGRATE_%d": "Your account is associated to DC %d, please re-send the query to that DC.",
|
|
"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_PUBLIC_MISSING": "Cannot generate a link to stories posted by a peer without a username.",
|
|
"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.",
|
|
"USERNAME_PURCHASE_AVAILABLE": "The specified username can be purchased on https:\/\/fragment.com.",
|
|
"USERNAMES_ACTIVE_TOO_MUCH": "The maximum number of active usernames was reached.",
|
|
"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).",
|
|
"VENUE_ID_INVALID": "The specified venue ID is invalid.",
|
|
"VIDEO_CONTENT_TYPE_INVALID": "The video's content type is invalid.",
|
|
"VIDEO_FILE_INVALID": "The specified video file is invalid.",
|
|
"VIDEO_PAUSE_FORBIDDEN": "You cannot pause the video stream.",
|
|
"VIDEO_STOP_FORBIDDEN": "You cannot stop the video stream.",
|
|
"VIDEO_TITLE_EMPTY": "The specified video title is empty.",
|
|
"VOICE_MESSAGES_FORBIDDEN": "This user's privacy settings forbid you from sending voice messages.",
|
|
"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.",
|
|
"WALLPAPER_NOT_FOUND": "The specified wallpaper could not be found.",
|
|
"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_EMPTY": "The passed web document URL is empty.",
|
|
"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.",
|
|
"WEBPAGE_NOT_FOUND": "A preview for the specified webpage `url` could not be generated.",
|
|
"WEBPAGE_URL_INVALID": "The specified webpage `url` is invalid.",
|
|
"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.",
|
|
"YOUR_PRIVACY_RESTRICTED": "You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a [Telegram Premium](https:\/\/core.telegram.org\/api\/premium) subscription."
|
|
}
|
|
} |