From faba4cc8a673ef20f5e2b019444fd3809cfcf4f0 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Sep 2021 15:52:52 +0200 Subject: [PATCH] Fixes --- v1.json | 17 +- v2.json | 88 +- v3.json | 15 +- v4.json | 2631 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 2709 insertions(+), 42 deletions(-) diff --git a/v1.json b/v1.json index 7ad3678..3f1d052 100644 --- a/v1.json +++ b/v1.json @@ -409,6 +409,7 @@ "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PARTICIPANT_ID_INVALID", + "PEER_ID_INVALID", "PINNED_DIALOGS_TOO_MUCH", "USER_ADMIN_INVALID", "USER_ID_INVALID" @@ -736,6 +737,10 @@ "CHAT_ADMIN_REQUIRED", "MESSAGE_ID_INVALID" ], + "stats.getMessageStats": [ + "CHANNEL_INVALID", + "CHAT_ADMIN_REQUIRED" + ], "updates.getChannelDifference": [ "CHANNEL_INVALID", "CHANNEL_PRIVATE", @@ -914,9 +919,6 @@ "CHAT_ADMIN_REQUIRED", "MEGAGROUP_REQUIRED" ], - "stats.getMessageStats": [ - "CHAT_ADMIN_REQUIRED" - ], "messages.discardEncryption": [ "CHAT_ID_EMPTY", "ENCRYPTION_ALREADY_DECLINED", @@ -1588,6 +1590,9 @@ "AUTH_KEY_DUPLICATED", "USER_RESTRICTED" ], + "channels.deleteMessages": [ + "AUTH_KEY_DUPLICATED" + ], "channels.getChannels": [ "AUTH_KEY_DUPLICATED" ], @@ -1778,6 +1783,9 @@ "auth.checkPhone": [ "PHONE_NUMBER_INVALID" ], + "auth.resendCode": [ + "SEND_CODE_UNAVAILABLE" + ], "contacts.getLocated": [ "USERPIC_PRIVACY_REQUIRED", "USERPIC_UPLOAD_REQUIRED" @@ -3272,6 +3280,9 @@ "SECONDS_INVALID": [ "Invalid duration provided" ], + "SEND_CODE_UNAVAILABLE": [ + "" + ], "SEND_MESSAGE_MEDIA_INVALID": [ "Invalid media provided" ], diff --git a/v2.json b/v2.json index af44032..3b585e8 100644 --- a/v2.json +++ b/v2.json @@ -2380,6 +2380,38 @@ "error_description": "You're spamreported, you can't create channels or chats." } ], + "channels.deleteMessages": [ + { + "error_code": 406, + "error_message": "AUTH_KEY_DUPLICATED", + "error_description": "An auth key with the same ID was already generated" + }, + { + "error_code": 400, + "error_message": "CHANNEL_INVALID", + "error_description": "The provided channel is invalid" + }, + { + "error_code": 400, + "error_message": "CHANNEL_PRIVATE", + "error_description": "You haven't joined this channel\/supergroup" + }, + { + "error_code": 403, + "error_message": "MESSAGE_DELETE_FORBIDDEN", + "error_description": "You can't delete one of the messages you tried to delete, most likely because it is a service message." + }, + { + "error_code": 400, + "error_message": "MSG_ID_INVALID", + "error_description": "Invalid message ID provided" + }, + { + "error_code": -503, + "error_message": "Timeout", + "error_description": "Timeout while fetching data" + } + ], "channels.getMessages": [ { "error_code": 406, @@ -4306,6 +4338,11 @@ "error_message": "PARTICIPANT_ID_INVALID", "error_description": "The specified participant ID is invalid" }, + { + "error_code": 400, + "error_message": "PEER_ID_INVALID", + "error_description": "The provided peer id is invalid" + }, { "error_code": 400, "error_message": "PINNED_DIALOGS_TOO_MUCH", @@ -4420,33 +4457,6 @@ "error_description": "You haven't joined this channel\/supergroup" } ], - "channels.deleteMessages": [ - { - "error_code": 400, - "error_message": "CHANNEL_INVALID", - "error_description": "The provided channel is invalid" - }, - { - "error_code": 400, - "error_message": "CHANNEL_PRIVATE", - "error_description": "You haven't joined this channel\/supergroup" - }, - { - "error_code": 403, - "error_message": "MESSAGE_DELETE_FORBIDDEN", - "error_description": "You can't delete one of the messages you tried to delete, most likely because it is a service message." - }, - { - "error_code": 400, - "error_message": "MSG_ID_INVALID", - "error_description": "Invalid message ID provided" - }, - { - "error_code": -503, - "error_message": "Timeout", - "error_description": "Timeout while fetching data" - } - ], "channels.deleteUserHistory": [ { "error_code": 400, @@ -5010,6 +5020,18 @@ "error_description": "The provided message id is invalid" } ], + "stats.getMessageStats": [ + { + "error_code": 400, + "error_message": "CHANNEL_INVALID", + "error_description": "The provided channel is invalid" + }, + { + "error_code": 400, + "error_message": "CHAT_ADMIN_REQUIRED", + "error_description": "You must be an admin in this chat to do this" + } + ], "account.reportPeer": [ { "error_code": 400, @@ -5364,13 +5386,6 @@ "error_description": "You can only use this method on a supergroup" } ], - "stats.getMessageStats": [ - { - "error_code": 400, - "error_message": "CHAT_ADMIN_REQUIRED", - "error_description": "You must be an admin in this chat to do this" - } - ], "messages.discardEncryption": [ { "error_code": 400, @@ -6674,6 +6689,11 @@ "error_code": 400, "error_message": "PHONE_NUMBER_INVALID", "error_description": "The phone number is invalid" + }, + { + "error_code": 406, + "error_message": "SEND_CODE_UNAVAILABLE", + "error_description": "" } ], "account.sendChangePhoneCode": [ diff --git a/v3.json b/v3.json index 1488b48..71dcfb5 100644 --- a/v3.json +++ b/v3.json @@ -409,6 +409,7 @@ "INPUT_USER_DEACTIVATED": "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID": "MSG_ID_INVALID", "PARTICIPANT_ID_INVALID": "PARTICIPANT_ID_INVALID", + "PEER_ID_INVALID": "PEER_ID_INVALID", "PINNED_DIALOGS_TOO_MUCH": "PINNED_DIALOGS_TOO_MUCH", "USER_ADMIN_INVALID": "USER_ADMIN_INVALID", "USER_ID_INVALID": "USER_ID_INVALID" @@ -736,6 +737,10 @@ "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", "MESSAGE_ID_INVALID": "MESSAGE_ID_INVALID" }, + "stats.getMessageStats": { + "CHANNEL_INVALID": "CHANNEL_INVALID", + "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED" + }, "updates.getChannelDifference": { "CHANNEL_INVALID": "CHANNEL_INVALID", "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", @@ -914,9 +919,6 @@ "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", "MEGAGROUP_REQUIRED": "MEGAGROUP_REQUIRED" }, - "stats.getMessageStats": { - "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED" - }, "messages.discardEncryption": { "CHAT_ID_EMPTY": "CHAT_ID_EMPTY", "ENCRYPTION_ALREADY_DECLINED": "ENCRYPTION_ALREADY_DECLINED", @@ -1885,6 +1887,9 @@ "AUTH_KEY_DUPLICATED": "AUTH_KEY_DUPLICATED", "USER_RESTRICTED": "USER_RESTRICTED" }, + "channels.deleteMessages": { + "AUTH_KEY_DUPLICATED": "AUTH_KEY_DUPLICATED" + }, "channels.getChannels": { "AUTH_KEY_DUPLICATED": "AUTH_KEY_DUPLICATED" }, @@ -2075,6 +2080,9 @@ "auth.checkPhone": { "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID" }, + "auth.resendCode": { + "SEND_CODE_UNAVAILABLE": "SEND_CODE_UNAVAILABLE" + }, "contacts.getLocated": { "USERPIC_PRIVACY_REQUIRED": "USERPIC_PRIVACY_REQUIRED", "USERPIC_UPLOAD_REQUIRED": "USERPIC_UPLOAD_REQUIRED" @@ -2961,6 +2969,7 @@ "SCHEDULE_TOO_MUCH": "There are too many scheduled messages", "SEARCH_QUERY_EMPTY": "The search query is empty", "SECONDS_INVALID": "Invalid duration provided", + "SEND_CODE_UNAVAILABLE": "", "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.", diff --git a/v4.json b/v4.json index b37177c..4cb3642 100644 --- a/v4.json +++ b/v4.json @@ -1,4 +1,2631 @@ { - "ok": false, - "description": "SQLSTATE[HY000]: General error: could not call user-supplied function" + "ok": true, + "result": { + "420": { + "2FA_CONFIRM_WAIT_%d": [ + "account.deleteAccount" + ], + "SLOWMODE_WAIT_%d": [ + "messages.forwardMessages", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.sendMultiMedia" + ], + "TAKEOUT_INIT_DELAY_%d": [ + "account.initTakeoutSession" + ] + }, + "400": { + "ABOUT_TOO_LONG": [ + "account.updateProfile" + ], + "ACCESS_TOKEN_EXPIRED": [ + "auth.importBotAuthorization" + ], + "ACCESS_TOKEN_INVALID": [ + "auth.importBotAuthorization" + ], + "ADMIN_RANK_INVALID": [ + "channels.editAdmin" + ], + "ADMINS_TOO_MUCH": [ + "channels.editAdmin" + ], + "ALBUM_PHOTOS_TOO_MANY": [ + "photos.updateProfilePhoto" + ], + "API_ID_INVALID": [ + "auth.exportLoginToken", + "auth.importBotAuthorization", + "auth.sendCode" + ], + "API_ID_PUBLISHED_FLOOD": [ + "auth.importBotAuthorization", + "auth.sendCode" + ], + "ARTICLE_TITLE_EMPTY": [ + "messages.setInlineBotResults" + ], + "AUDIO_TITLE_EMPTY": [ + "messages.setInlineBotResults" + ], + "AUTH_BYTES_INVALID": [ + "auth.importAuthorization", + "invokeWithLayer" + ], + "AUTH_TOKEN_EXPIRED": [ + "auth.importLoginToken" + ], + "AUTH_TOKEN_INVALIDX": [ + "auth.acceptLoginToken", + "auth.importLoginToken" + ], + "BANNED_RIGHTS_INVALID": [ + "messages.editChatDefaultBannedRights" + ], + "BOT_CHANNELS_NA": [ + "channels.editAdmin" + ], + "BOT_DOMAIN_INVALID": [ + "messages.sendMessage" + ], + "BOT_GROUPS_BLOCKED": [ + "channels.editAdmin", + "channels.inviteToChannel" + ], + "BOT_INLINE_DISABLED": [ + "messages.getInlineBotResults" + ], + "BOT_INVALID": [ + "messages.getInlineBotResults", + "messages.sendMessage", + "messages.startBot" + ], + "BOT_MISSING": [ + "messages.uploadMedia", + "stickers.addStickerToSet", + "stickers.changeStickerPosition", + "stickers.createStickerSet", + "stickers.removeStickerFromSet" + ], + "BOT_RESPONSE_TIMEOUT": [ + "messages.getBotCallbackAnswer", + "messages.getInlineBotResults" + ], + "BOTS_TOO_MUCH": [ + "channels.editAdmin", + "channels.inviteToChannel" + ], + "BROADCAST_ID_INVALID": [ + "channels.setDiscussionGroup" + ], + "BROADCAST_PUBLIC_VOTERS_FORBIDDEN": [ + "messages.forwardMessages", + "messages.sendMedia" + ], + "BROADCAST_REQUIRED": [ + "stats.getBroadcastStats" + ], + "BUTTON_DATA_INVALID": [ + "messages.editMessage", + "messages.sendMedia", + "messages.sendMessage", + "messages.setInlineBotResults" + ], + "BUTTON_TYPE_INVALID": [ + "messages.editMessage", + "messages.sendMedia", + "messages.sendMessage", + "messages.setInlineBotResults" + ], + "BUTTON_URL_INVALID": [ + "messages.editMessage", + "messages.sendMedia", + "messages.sendMessage", + "messages.setInlineBotResults" + ], + "CALL_ALREADY_ACCEPTED": [ + "phone.acceptCall", + "phone.discardCall" + ], + "CALL_ALREADY_DECLINED": [ + "phone.acceptCall", + "phone.confirmCall", + "phone.receivedCall" + ], + "CALL_PEER_INVALID": [ + "phone.acceptCall", + "phone.confirmCall", + "phone.discardCall", + "phone.receivedCall", + "phone.saveCallDebug", + "phone.setCallRating" + ], + "CALL_PROTOCOL_FLAGS_INVALID": [ + "phone.acceptCall", + "phone.requestCall" + ], + "CDN_METHOD_INVALID": [ + "invokeWithLayer", + "updates.getDifference", + "upload.getCdnFileHashes" + ], + "CHANNEL_ADD_INVALID": [ + "channels.editBanned" + ], + "CHANNEL_INVALID": [ + "account.updateNotifySettings", + "channels.checkUsername", + "channels.deleteChannel", + "channels.deleteHistory", + "channels.deleteMessages", + "channels.deleteUserHistory", + "channels.editAbout", + "channels.editAdmin", + "channels.editBanned", + "channels.editPhoto", + "channels.editTitle", + "channels.exportInvite", + "channels.exportMessageLink", + "channels.getAdminLog", + "channels.getChannels", + "channels.getFullChannel", + "channels.getMessages", + "channels.getParticipant", + "channels.getParticipants", + "channels.inviteToChannel", + "channels.joinChannel", + "channels.leaveChannel", + "channels.readHistory", + "channels.readMessageContents", + "channels.reportSpam", + "channels.setDiscussionGroup", + "channels.setStickers", + "channels.toggleInvites", + "channels.togglePreHistoryHidden", + "channels.toggleSignatures", + "channels.updatePinnedMessage", + "channels.updateUsername", + "messages.editChatAbout", + "messages.editMessage", + "messages.forwardMessages", + "messages.getBotCallbackAnswer", + "messages.getHistory", + "messages.getInlineBotResults", + "messages.getMessagesViews", + "messages.getPeerDialogs", + "messages.getPeerSettings", + "messages.getUnreadMentions", + "messages.importChatInvite", + "messages.readMentions", + "messages.search", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.sendVote", + "messages.setTyping", + "msg_container", + "msgs_state_req", + "stats.getBroadcastStats", + "stats.getMessagePublicForwards", + "stats.getMessageStats", + "updates.getChannelDifference", + "upload.getFile", + "users.getUsers" + ], + "CHANNEL_PRIVATE": [ + "account.reportPeer", + "account.updateNotifySettings", + "channels.deleteChannel", + "channels.deleteHistory", + "channels.deleteMessages", + "channels.deleteUserHistory", + "channels.editAdmin", + "channels.editBanned", + "channels.editCreator", + "channels.editPhoto", + "channels.editTitle", + "channels.exportMessageLink", + "channels.getAdminLog", + "channels.getChannels", + "channels.getFullChannel", + "channels.getMessages", + "channels.getParticipant", + "channels.getParticipants", + "channels.inviteToChannel", + "channels.joinChannel", + "channels.leaveChannel", + "channels.readHistory", + "channels.readMessageContents", + "channels.togglePreHistoryHidden", + "channels.updateUsername", + "contacts.addContact", + "contacts.unblock", + "messages.deleteHistory", + "messages.editChatAbout", + "messages.editMessage", + "messages.exportChatInvite", + "messages.forwardMessages", + "messages.getBotCallbackAnswer", + "messages.getHistory", + "messages.getInlineBotResults", + "messages.getMessagesViews", + "messages.getOnlines", + "messages.getPeerDialogs", + "messages.getUnreadMentions", + "messages.importChatInvite", + "messages.readHistory", + "messages.readMentions", + "messages.report", + "messages.reportSpam", + "messages.search", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.sendMultiMedia", + "messages.sendVote", + "messages.setTyping", + "messages.toggleDialogPin", + "messages.updatePinnedMessage", + "messages.uploadMedia", + "stats.getBroadcastStats", + "updates.getChannelDifference", + "upload.getFile", + "users.getFullUser", + "users.getUsers" + ], + "CHANNEL_TOO_LARGE": [ + "channels.deleteChannel" + ], + "CHANNELS_ADMIN_LOCATED_TOO_MUCH": [ + "channels.createChannel" + ], + "CHANNELS_ADMIN_PUBLIC_TOO_MUCH": [ + "channels.checkUsername", + "channels.updateUsername" + ], + "CHANNELS_TOO_MUCH": [ + "channels.createChannel", + "channels.joinChannel", + "messages.importChatInvite", + "messages.migrateChat" + ], + "CHAT_ABOUT_NOT_MODIFIED": [ + "channels.editAbout", + "messages.editChatAbout" + ], + "CHAT_ABOUT_TOO_LONG": [ + "channels.createChannel", + "channels.editAbout", + "messages.editChatAbout" + ], + "CHAT_ADMIN_REQUIRED": [ + "channels.deleteChannel", + "channels.deleteUserHistory", + "channels.editAbout", + "channels.editAdmin", + "channels.editBanned", + "channels.editCreator", + "channels.editPhoto", + "channels.editTitle", + "channels.exportInvite", + "channels.getAdminLog", + "channels.getParticipant", + "channels.getParticipants", + "channels.inviteToChannel", + "channels.reportSpam", + "channels.setDiscussionGroup", + "channels.toggleInvites", + "channels.togglePreHistoryHidden", + "channels.toggleSignatures", + "channels.toggleSlowMode", + "channels.updatePinnedMessage", + "channels.updateUsername", + "messages.addChatUser", + "messages.deleteChatUser", + "messages.editChatAbout", + "messages.editChatDefaultBannedRights", + "messages.editMessage", + "messages.exportChatInvite", + "messages.forwardMessages", + "messages.getMessageEditData", + "messages.getScheduledHistory", + "messages.getScheduledMessages", + "messages.search", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.sendMultiMedia", + "messages.setTyping", + "messages.startBot", + "messages.updatePinnedMessage", + "messages.uploadMedia", + "phone.createGroupCall", + "stats.getBroadcastStats", + "stats.getMegagroupStats", + "stats.getMessagePublicForwards", + "stats.getMessageStats" + ], + "CHAT_ID_EMPTY": [ + "messages.discardEncryption" + ], + "CHAT_ID_INVALID": [ + "channels.checkUsername", + "channels.togglePreHistoryHidden", + "channels.toggleSignatures", + "channels.updatePinnedMessage", + "messages.acceptEncryption", + "messages.addChatUser", + "messages.deleteChatUser", + "messages.deleteHistory", + "messages.editChatAbout", + "messages.editChatAdmin", + "messages.editChatPhoto", + "messages.editChatTitle", + "messages.exportChatInvite", + "messages.forwardMessage", + "messages.forwardMessages", + "messages.getChats", + "messages.getFullChat", + "messages.getHistory", + "messages.getMessagesViews", + "messages.migrateChat", + "messages.readHistory", + "messages.reportEncryptedSpam", + "messages.sendEncrypted", + "messages.sendMessage", + "messages.setEncryptedTyping", + "messages.setTyping", + "messages.toggleChatAdmins" + ], + "CHAT_INVALID": [ + "channels.inviteToChannel", + "channels.joinChannel", + "messages.createChat", + "messages.importChatInvite" + ], + "CHAT_LINK_EXISTS": [ + "channels.togglePreHistoryHidden" + ], + "CHAT_NOT_MODIFIED": [ + "channels.deleteChannel", + "channels.editPhoto", + "channels.editTitle", + "channels.toggleInvites", + "channels.togglePreHistoryHidden", + "channels.toggleSlowMode", + "channels.updatePinnedMessage", + "channels.updateUsername", + "messages.editChatAbout", + "messages.editChatDefaultBannedRights", + "messages.editChatPhoto", + "messages.editChatTitle", + "messages.toggleChatAdmins", + "messages.updatePinnedMessage" + ], + "CHAT_RESTRICTED": [ + "messages.forwardMessages", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.uploadMedia" + ], + "CHAT_TITLE_EMPTY": [ + "channels.createChannel", + "channels.editTitle", + "messages.createChat", + "messages.editChatTitle" + ], + "CODE_EMPTY": [ + "auth.recoverPassword" + ], + "CODE_HASH_INVALID": [ + "account.confirmPhone" + ], + "CODE_INVALID": [ + "account.confirmPasswordEmail" + ], + "CONNECTION_API_ID_INVALID": [ + "help.getConfig", + "invokeWithLayer" + ], + "CONNECTION_APP_VERSION_EMPTY": [ + "help.getConfig" + ], + "CONNECTION_DEVICE_MODEL_EMPTY": [ + "contacts.resolveUsername", + "help.getConfig", + "invokeWithLayer", + "messages.getHistory", + "messages.getPeerDialogs", + "updates.getChannelDifference", + "updates.getDifference", + "users.getUsers" + ], + "CONNECTION_LANG_PACK_INVALID": [ + "account.updateStatus", + "help.getCdnConfig", + "help.getConfig", + "invokeWithLayer", + "users.getUsers" + ], + "CONNECTION_LAYER_INVALID": [ + "contacts.resolveUsername", + "help.getConfig", + "initConnection" + ], + "CONNECTION_NOT_INITED": [ + "help.getConfig", + "invokeWithLayer", + "users.getUsers" + ], + "CONNECTION_SYSTEM_EMPTY": [ + "help.getConfig", + "invokeWithLayer", + "upload.saveFilePart" + ], + "CONNECTION_SYSTEM_LANG_CODE_EMPTY": [ + "help.getConfig", + "updates.getChannelDifference" + ], + "CONTACT_ADD_MISSING": [ + "contacts.acceptContact" + ], + "CONTACT_ID_INVALID": [ + "contacts.acceptContact", + "contacts.addContact", + "contacts.block", + "contacts.deleteContact", + "contacts.unblock" + ], + "CONTACT_NAME_EMPTY": [ + "contacts.addContact" + ], + "CONTACT_REQ_MISSING": [ + "contacts.acceptContact" + ], + "DATA_INVALID": [ + "help.getConfig", + "messages.getBotCallbackAnswer", + "messages.sendEncrypted", + "messages.sendEncryptedService" + ], + "DATA_JSON_INVALID": [ + "phone.saveCallDebug" + ], + "DATA_TOO_LONG": [ + "messages.sendEncryptedFile" + ], + "DATE_EMPTY": [ + "updates.getDifference" + ], + "DC_ID_INVALID": [ + "auth.exportAuthorization" + ], + "DH_G_A_INVALID": [ + "messages.requestEncryption" + ], + "EMAIL_HASH_EXPIRED": [ + "account.confirmPasswordEmail" + ], + "EMAIL_UNCONFIRMED": [ + "account.updatePasswordSettings" + ], + "EMAIL_UNCONFIRMED_%d": [ + "account.updatePasswordSettings" + ], + "EMAIL_VERIFY_EXPIRED": [ + "account.verifyEmail" + ], + "ENCRYPTED_MESSAGE_INVALID": [ + "auth.bindTempAuthKey", + "msgs_ack" + ], + "ENCRYPTION_ALREADY_ACCEPTED": [ + "messages.acceptEncryption" + ], + "ENCRYPTION_ALREADY_DECLINED": [ + "messages.acceptEncryption", + "messages.discardEncryption" + ], + "ENCRYPTION_DECLINED": [ + "messages.sendEncrypted", + "messages.sendEncryptedFile", + "messages.sendEncryptedService", + "messages.sendMessage" + ], + "ENCRYPTION_ID_INVALID": [ + "messages.discardEncryption", + "messages.sendEncryptedService" + ], + "ENTITIES_TOO_LONG": [ + "messages.editMessage", + "messages.sendMessage" + ], + "ENTITY_MENTION_USER_INVALID": [ + "messages.sendMessage" + ], + "ERROR_TEXT_EMPTY": [ + "messages.setBotPrecheckoutResults" + ], + "EXPORT_CARD_INVALID": [ + "contacts.importCard" + ], + "EXTERNAL_URL_INVALID": [ + "messages.sendMedia" + ], + "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" + ], + "FILE_PART_SIZE_CHANGED": [ + "upload.saveBigFilePart" + ], + "FILE_PART_SIZE_INVALID": [ + "upload.saveBigFilePart" + ], + "FILE_PART_TOO_BIG": [ + "upload.saveBigFilePart" + ], + "FILE_PARTS_INVALID": [ + "messages.sendMedia", + "messages.uploadMedia", + "photos.updateProfilePhoto", + "photos.uploadProfilePhoto", + "upload.saveBigFilePart" + ], + "FILE_REFERENCE_EXPIRED": [ + "upload.getFile" + ], + "FILTER_ID_INVALID": [ + "messages.updateDialogFilter" + ], + "FILTER_INCLUDE_EMPTY": [ + "messages.updateDialogFilter" + ], + "FILTER_TITLE_EMPTY": [ + "messages.updateDialogFilter" + ], + "FIRSTNAME_INVALID": [ + "account.updateProfile", + "auth.signUp" + ], + "FOLDER_ID_INVALID": [ + "folders.editPeerFolders", + "messages.getDialogs", + "messages.getPinnedDialogs", + "messages.searchGlobal" + ], + "FROM_MESSAGE_BOT_DISABLED": [ + "messages.sendMessage", + "updates.getChannelDifference" + ], + "GEO_POINT_INVALID": [ + "contacts.getLocated" + ], + "GIF_CONTENT_TYPE_INVALID": [ + "messages.setInlineBotResults" + ], + "GIF_ID_INVALID": [ + "messages.saveGif" + ], + "GRAPH_EXPIRED_RELOAD": [ + "stats.loadAsyncGraph" + ], + "GRAPH_INVALID_RELOAD": [ + "stats.loadAsyncGraph" + ], + "GRAPH_OUTDATED_RELOAD": [ + "stats.loadAsyncGraph" + ], + "GROUPED_MEDIA_INVALID": [ + "messages.forwardMessages" + ], + "HASH_INVALID": [ + "account.resetAuthorization", + "account.resetWebAuthorization", + "account.sendConfirmPhoneCode" + ], + "IMAGE_PROCESS_FAILED": [ + "messages.sendMedia", + "messages.uploadMedia", + "photos.updateProfilePhoto", + "photos.uploadProfilePhoto" + ], + "INLINE_RESULT_EXPIRED": [ + "messages.sendInlineBotResult" + ], + "INPUT_FETCH_FAIL": [ + "account.updateProfile", + "account.updateStatus", + "auth.bindTempAuthKey", + "auth.importAuthorization", + "channels.exportMessageLink", + "channels.getChannels", + "channels.getFullChannel", + "channels.getMessages", + "channels.getParticipant", + "channels.getParticipants", + "channels.inviteToChannel", + "channels.joinChannel", + "channels.leaveChannel", + "channels.readHistory", + "contacts.addContact", + "contacts.resolveUsername", + "help.getCdnConfig", + "help.getConfig", + "initConnection", + "invokeWithTakeout", + "messages.checkChatInvite", + "messages.editChatPhoto", + "messages.editMessage", + "messages.forwardMessages", + "messages.getBotCallbackAnswer", + "messages.getDhConfig", + "messages.getDialogs", + "messages.getHistory", + "messages.getMessagesViews", + "messages.getPeerDialogs", + "messages.getUnreadMentions", + "messages.importChatInvite", + "messages.sendMedia", + "messages.sendMessage", + "messages.setTyping", + "messages.uploadMedia", + "phone.getCallConfig", + "photos.getUserPhotos", + "updates.getChannelDifference", + "updates.getDifference", + "upload.getFile", + "upload.saveBigFilePart", + "upload.saveFilePart", + "users.getFullUser", + "users.getUsers" + ], + "INPUT_FILTER_INVALID": [ + "messages.search" + ], + "INPUT_LAYER_INVALID": [ + "help.getConfig", + "invokeWithLayer", + "users.getUsers" + ], + "INPUT_REQUEST_TOO_LONG": [ + "account.updatePasswordSettings", + "auth.bindTempAuthKey", + "auth.sendCode", + "auth.signUp" + ], + "INPUT_USER_DEACTIVATED": [ + "channels.editAdmin", + "channels.editBanned", + "channels.inviteToChannel", + "channels.reportSpam", + "contacts.block", + "messages.addChatUser", + "messages.createChat", + "messages.editMessage", + "messages.forwardMessages", + "messages.getInlineBotResults", + "messages.search", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.setTyping", + "messages.startBot", + "messages.uploadMedia" + ], + "INVITE_HASH_EMPTY": [ + "channels.joinChannel", + "messages.checkChatInvite", + "messages.importChatInvite" + ], + "INVITE_HASH_EXPIRED": [ + "channels.exportInvite", + "channels.joinChannel", + "invokeWithLayer", + "messages.checkChatInvite", + "messages.importChatInvite" + ], + "INVITE_HASH_INVALID": [ + "channels.joinChannel", + "messages.checkChatInvite", + "messages.importChatInvite" + ], + "LANG_PACK_INVALID": [ + "langpack.getDifference", + "langpack.getLangPack", + "langpack.getLanguages", + "langpack.getStrings" + ], + "LIMIT_INVALID": [ + "upload.getFile" + ], + "LINK_NOT_MODIFIED": [ + "channels.setDiscussionGroup" + ], + "LOCATION_INVALID": [ + "photos.updateProfilePhoto", + "upload.getFile", + "upload.getFileHashes", + "upload.getWebFile" + ], + "MAX_ID_INVALID": [ + "photos.getUserPhotos" + ], + "MD5_CHECKSUM_INVALID": [ + "messages.sendEncryptedFile", + "messages.sendMedia" + ], + "MEDIA_CAPTION_TOO_LONG": [ + "messages.editMessage", + "messages.sendMedia", + "messages.sendMultiMedia" + ], + "MEDIA_EMPTY": [ + "messages.forwardMessages", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMultiMedia" + ], + "MEDIA_GROUPED_INVALID": [ + "messages.editMessage" + ], + "MEDIA_INVALID": [ + "messages.sendMedia", + "messages.sendMultiMedia", + "messages.uploadMedia" + ], + "MEDIA_PREV_INVALID": [ + "messages.editMessage" + ], + "MEGAGROUP_ID_INVALID": [ + "channels.setDiscussionGroup" + ], + "MEGAGROUP_REQUIRED": [ + "channels.editLocation", + "stats.getMegagroupStats" + ], + "MESSAGE_EDIT_TIME_EXPIRED": [ + "messages.editMessage" + ], + "MESSAGE_EMPTY": [ + "auth.sendInvites", + "messages.editMessage", + "messages.getWebPagePreview", + "messages.sendMessage", + "messages.setInlineBotResults" + ], + "MESSAGE_ID_INVALID": [ + "channels.exportMessageLink", + "messages.deleteHistory", + "messages.editInlineBotMessage", + "messages.editMessage", + "messages.forwardMessage", + "messages.forwardMessages", + "messages.getBotCallbackAnswer", + "messages.getGameHighScores", + "messages.getInlineGameHighScores", + "messages.getMessageEditData", + "messages.getPollResults", + "messages.sendReaction", + "messages.sendScheduledMessages", + "messages.sendVote", + "messages.setGameScore", + "messages.setInlineGameScore", + "messages.updatePinnedMessage", + "msg_container", + "payments.getPaymentForm", + "payments.getPaymentReceipt", + "payments.sendPaymentForm", + "payments.validateRequestedInfo", + "stats.getMessagePublicForwards" + ], + "MESSAGE_IDS_EMPTY": [ + "channels.getMessages", + "messages.forwardMessages" + ], + "MESSAGE_NOT_MODIFIED": [ + "messages.editInlineBotMessage", + "messages.editMessage" + ], + "MESSAGE_POLL_CLOSED": [ + "messages.sendVote" + ], + "MESSAGE_TOO_LONG": [ + "messages.editMessage", + "messages.sendMessage", + "messages.setBotCallbackAnswer", + "messages.setInlineBotResults" + ], + "METHOD_INVALID": [ + "bots.sendCustomRequest" + ], + "MSG_ID_INVALID": [ + "account.updateNotifySettings", + "channels.deleteMessages", + "channels.deleteUserHistory", + "channels.editBanned", + "channels.exportMessageLink", + "channels.getAdminLog", + "channels.getChannels", + "channels.getFullChannel", + "channels.getMessages", + "channels.getParticipant", + "channels.inviteToChannel", + "channels.joinChannel", + "channels.leaveChannel", + "channels.readHistory", + "channels.readMessageContents", + "contacts.acceptContact", + "contacts.addContact", + "contacts.block", + "contacts.unblock", + "help.getConfig", + "messages.deleteHistory", + "messages.editMessage", + "messages.forwardMessages", + "messages.getCommonChats", + "messages.getDiscussionMessage", + "messages.getHistory", + "messages.getInlineBotResults", + "messages.getMessagesViews", + "messages.getPeerDialogs", + "messages.getPollVotes", + "messages.getReplies", + "messages.getUnreadMentions", + "messages.importChatInvite", + "messages.readHistory", + "messages.readMentions", + "messages.reportSpam", + "messages.saveDraft", + "messages.search", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.setTyping", + "messages.startBot", + "messages.uploadMedia", + "msg_container", + "msgs_state_req", + "photos.getUserPhotos", + "updates.getChannelDifference", + "updates.getDifference", + "upload.getFile", + "users.getFullUser", + "users.getUsers" + ], + "MSG_WAIT_FAILED": [ + "messages.readEncryptedHistory", + "messages.receivedQueue", + "messages.sendEncrypted", + "messages.sendEncryptedFile", + "messages.sendEncryptedService" + ], + "MULTI_MEDIA_TOO_LONG": [ + "messages.sendMultiMedia" + ], + "NEW_SALT_INVALID": [ + "account.updatePasswordSettings" + ], + "NEW_SETTINGS_INVALID": [ + "account.updatePasswordSettings" + ], + "OFFSET_INVALID": [ + "upload.getFile" + ], + "OFFSET_PEER_ID_INVALID": [ + "messages.getDialogs" + ], + "OPTION_INVALID": [ + "messages.sendVote" + ], + "OPTIONS_TOO_MUCH": [ + "messages.sendVote" + ], + "PACK_SHORT_NAME_INVALID": [ + "stickers.createStickerSet" + ], + "PACK_SHORT_NAME_OCCUPIED": [ + "stickers.createStickerSet" + ], + "PACK_TITLE_INVALID": [ + "stickers.createStickerSet" + ], + "PARTICIPANT_ID_INVALID": [ + "channels.editBanned", + "channels.getParticipant" + ], + "PARTICIPANT_VERSION_OUTDATED": [ + "phone.requestCall" + ], + "PARTICIPANTS_TOO_FEW": [ + "channels.setStickers" + ], + "PASSWORD_EMPTY": [ + "auth.requestPasswordRecovery" + ], + "PASSWORD_HASH_INVALID": [ + "account.getPasswordSettings", + "account.getTmpPassword", + "account.updatePasswordSettings", + "auth.checkPassword", + "channels.editCreator" + ], + "PASSWORD_MISSING": [ + "channels.editCreator" + ], + "PASSWORD_TOO_FRESH_%d": [ + "channels.editCreator" + ], + "PEER_ID_INVALID": [ + "account.getNotifySettings", + "account.reportPeer", + "account.updateNotifySettings", + "channels.editAdmin", + "channels.editBanned", + "channels.joinChannel", + "contacts.block", + "contacts.resetTopPeerRating", + "contacts.unblock", + "messages.addChatUser", + "messages.deleteChat", + "messages.deleteChatUser", + "messages.deleteHistory", + "messages.editChatAbout", + "messages.editChatAdmin", + "messages.editChatDefaultBannedRights", + "messages.editChatPhoto", + "messages.editChatTitle", + "messages.editExportedChatInvite", + "messages.editMessage", + "messages.exportChatInvite", + "messages.forwardMessage", + "messages.forwardMessages", + "messages.getBotCallbackAnswer", + "messages.getChats", + "messages.getDiscussionMessage", + "messages.getFullChat", + "messages.getGameHighScores", + "messages.getHistory", + "messages.getMessageEditData", + "messages.getMessagesViews", + "messages.getOnlines", + "messages.getPeerDialogs", + "messages.getPeerSettings", + "messages.getReplies", + "messages.getScheduledHistory", + "messages.getScheduledMessages", + "messages.getSearchCounters", + "messages.getStatsURL", + "messages.getUnreadMentions", + "messages.hideReportSpam", + "messages.importChatInvite", + "messages.migrateChat", + "messages.readDiscussion", + "messages.readHistory", + "messages.readMentions", + "messages.reorderPinnedDialogs", + "messages.report", + "messages.reportSpam", + "messages.saveDraft", + "messages.search", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.sendMultiMedia", + "messages.sendScheduledMessages", + "messages.sendScreenshotNotification", + "messages.sendVote", + "messages.setGameScore", + "messages.setTyping", + "messages.startBot", + "messages.toggleDialogPin", + "messages.uploadMedia", + "stickers.createStickerSet", + "upload.getFile" + ], + "PEER_ID_NOT_SUPPORTED": [ + "messages.search" + ], + "PERSISTENT_TIMESTAMP_EMPTY": [ + "updates.getChannelDifference", + "updates.getDifference" + ], + "PERSISTENT_TIMESTAMP_INVALID": [ + "updates.getChannelDifference", + "updates.getDifference" + ], + "PHONE_CODE_EMPTY": [ + "account.changePhone", + "account.confirmPhone", + "account.verifyPhone", + "auth.signIn", + "auth.signUp" + ], + "PHONE_CODE_EXPIRED": [ + "account.verifyPhone", + "auth.cancelCode", + "auth.resendCode", + "auth.signIn", + "auth.signUp" + ], + "PHONE_CODE_HASH_EMPTY": [ + "auth.resendCode" + ], + "PHONE_CODE_INVALID": [ + "auth.signIn", + "auth.signUp" + ], + "PHONE_NUMBER_APP_SIGNUP_FORBIDDEN": [ + "auth.sendCode" + ], + "PHONE_NUMBER_BANNED": [ + "auth.checkPhone", + "auth.sendCode" + ], + "PHONE_NUMBER_FLOOD": [ + "auth.sendCode", + "auth.signUp" + ], + "PHONE_NUMBER_INVALID": [ + "account.changePhone", + "account.sendChangePhoneCode", + "account.sendVerifyPhoneCode", + "account.verifyPhone", + "auth.cancelCode", + "auth.checkPhone", + "auth.resendCode", + "auth.sendCode", + "auth.signIn", + "auth.signUp" + ], + "PHONE_NUMBER_OCCUPIED": [ + "account.changePhone", + "auth.signUp" + ], + "PHONE_NUMBER_UNOCCUPIED": [ + "auth.signIn" + ], + "PHONE_PASSWORD_PROTECTED": [ + "auth.sendCode" + ], + "PHOTO_CONTENT_TYPE_INVALID": [ + "messages.setInlineBotResults" + ], + "PHOTO_CONTENT_URL_EMPTY": [ + "messages.setInlineBotResults" + ], + "PHOTO_CROP_FILE_MISSING": [ + "photos.uploadProfilePhoto" + ], + "PHOTO_CROP_SIZE_SMALL": [ + "channels.editPhoto", + "messages.editChatPhoto", + "photos.updateProfilePhoto", + "photos.uploadProfilePhoto" + ], + "PHOTO_EXT_INVALID": [ + "channels.editPhoto", + "messages.editChatPhoto", + "messages.sendMedia", + "messages.uploadMedia", + "photos.updateProfilePhoto", + "photos.uploadProfilePhoto" + ], + "PHOTO_FILE_MISSING": [ + "photos.uploadProfilePhoto" + ], + "PHOTO_ID_INVALID": [ + "photos.updateProfilePhoto" + ], + "PHOTO_INVALID": [ + "channels.editPhoto", + "messages.editChatPhoto", + "messages.setInlineBotResults" + ], + "PHOTO_INVALID_DIMENSIONS": [ + "messages.sendMedia", + "messages.uploadMedia" + ], + "PHOTO_SAVE_FILE_INVALID": [ + "messages.sendMedia", + "messages.uploadMedia" + ], + "PHOTO_THUMB_URL_EMPTY": [ + "messages.setInlineBotResults" + ], + "PIN_RESTRICTED": [ + "messages.updatePinnedMessage" + ], + "PINNED_DIALOGS_TOO_MUCH": [ + "channels.editBanned", + "messages.sendMessage", + "messages.toggleDialogPin", + "updates.getChannelDifference" + ], + "POLL_ANSWER_INVALID": [ + "messages.sendMedia" + ], + "POLL_ANSWERS_INVALID": [ + "messages.sendMedia" + ], + "POLL_OPTION_DUPLICATE": [ + "messages.sendMedia" + ], + "POLL_OPTION_INVALID": [ + "messages.sendMedia" + ], + "POLL_QUESTION_INVALID": [ + "messages.sendMedia" + ], + "PRIVACY_KEY_INVALID": [ + "account.getPrivacy", + "account.setPrivacy" + ], + "PRIVACY_VALUE_INVALID": [ + "account.setPrivacy" + ], + "QUERY_ID_EMPTY": [ + "messages.sendInlineBotResult" + ], + "QUERY_ID_INVALID": [ + "bots.answerWebhookJSONQuery", + "messages.setBotCallbackAnswer", + "messages.setBotShippingResults", + "messages.setInlineBotResults" + ], + "QUERY_TOO_SHORT": [ + "contacts.search" + ], + "QUIZ_CORRECT_ANSWER_INVALID": [ + "messages.sendMedia" + ], + "QUIZ_CORRECT_ANSWERS_EMPTY": [ + "messages.sendMedia" + ], + "RANDOM_ID_EMPTY": [ + "messages.sendMultiMedia" + ], + "RANDOM_ID_INVALID": [ + "messages.forwardMessages" + ], + "RANDOM_LENGTH_INVALID": [ + "messages.getDhConfig" + ], + "RANGES_INVALID": [ + "updates.getChannelDifference" + ], + "REACTION_EMPTY": [ + "messages.sendReaction" + ], + "REPLY_MARKUP_BUY_EMPTY": [ + "messages.sendMedia" + ], + "REPLY_MARKUP_INVALID": [ + "messages.editMessage", + "messages.sendMedia", + "messages.sendMessage", + "messages.setInlineBotResults" + ], + "RESULT_ID_DUPLICATE": [ + "messages.setInlineBotResults" + ], + "RESULT_ID_EMPTY": [ + "messages.sendInlineBotResult" + ], + "RESULT_TYPE_INVALID": [ + "messages.setInlineBotResults" + ], + "RESULTS_TOO_MUCH": [ + "messages.setInlineBotResults" + ], + "REVOTE_NOT_ALLOWED": [ + "messages.sendVote" + ], + "RSA_DECRYPT_FAILED": [ + "upload.getCdnFileHashes", + "upload.reuploadCdnFile" + ], + "SCHEDULE_BOT_NOT_ALLOWED": [ + "messages.sendMedia", + "messages.sendMessage" + ], + "SCHEDULE_DATE_INVALID": [ + "messages.editMessage" + ], + "SCHEDULE_DATE_TOO_LATE": [ + "messages.sendMessage" + ], + "SCHEDULE_TOO_MUCH": [ + "messages.forwardMessages", + "messages.sendMedia", + "messages.sendMessage", + "messages.sendMultiMedia" + ], + "SEARCH_QUERY_EMPTY": [ + "contacts.search", + "messages.search", + "messages.searchGifs", + "messages.searchGlobal" + ], + "SECONDS_INVALID": [ + "channels.toggleSlowMode" + ], + "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" + ], + "SHORTNAME_OCCUPY_FAILED": [ + "stickers.createStickerSet" + ], + "SLOWMODE_MULTI_MSGS_DISABLED": [ + "messages.forwardMessages" + ], + "SMS_CODE_CREATE_FAILED": [ + "auth.sendCode" + ], + "SRP_ID_INVALID": [ + "account.updatePasswordSettings", + "auth.checkPassword" + ], + "SRP_PASSWORD_CHANGED": [ + "account.updatePasswordSettings", + "auth.checkPassword" + ], + "START_PARAM_EMPTY": [ + "messages.startBot" + ], + "START_PARAM_INVALID": [ + "messages.setInlineBotResults", + "messages.startBot" + ], + "START_PARAM_TOO_LONG": [ + "messages.startBot" + ], + "STICKER_EMOJI_INVALID": [ + "stickers.createStickerSet" + ], + "STICKER_FILE_INVALID": [ + "stickers.createStickerSet" + ], + "STICKER_ID_INVALID": [ + "messages.faveSticker", + "messages.saveRecentSticker" + ], + "STICKER_INVALID": [ + "stickers.changeStickerPosition", + "stickers.removeStickerFromSet" + ], + "STICKER_PNG_DIMENSIONS": [ + "stickers.createStickerSet" + ], + "STICKER_PNG_NOPNG": [ + "stickers.createStickerSet" + ], + "STICKER_TGS_NODOC": [ + "stickers.createStickerSet" + ], + "STICKERS_EMPTY": [ + "stickers.createStickerSet" + ], + "STICKERSET_INVALID": [ + "messages.getStickerSet", + "messages.installStickerSet", + "messages.uninstallStickerSet", + "stickers.addStickerToSet", + "stickers.setStickerSetThumb" + ], + "TEMP_AUTH_KEY_EMPTY": [ + "auth.bindTempAuthKey" + ], + "THEME_FILE_INVALID": [ + "account.uploadTheme" + ], + "THEME_FORMAT_INVALID": [ + "account.getTheme" + ], + "THEME_INVALID": [ + "account.getTheme" + ], + "TMP_PASSWORD_DISABLED": [ + "account.getTmpPassword" + ], + "TOKEN_INVALID": [ + "account.registerDevice", + "account.unregisterDevice" + ], + "TTL_DAYS_INVALID": [ + "account.setAccountTTL" + ], + "TTL_MEDIA_INVALID": [ + "messages.sendMedia" + ], + "TYPES_EMPTY": [ + "contacts.getTopPeers" + ], + "UNKNOWN_ERROR": [ + "req_DH_params", + "req_pq_multi", + "set_client_DH_params" + ], + "UNTIL_DATE_INVALID": [ + "messages.editChatDefaultBannedRights" + ], + "URL_INVALID": [ + "messages.setBotCallbackAnswer" + ], + "USER_ADMIN_INVALID": [ + "channels.editBanned" + ], + "USER_ALREADY_PARTICIPANT": [ + "channels.joinChannel", + "messages.addChatUser", + "messages.importChatInvite" + ], + "USER_BANNED_IN_CHANNEL": [ + "channels.inviteToChannel", + "messages.editMessage", + "messages.forwardMessages", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.setTyping", + "messages.updatePinnedMessage", + "messages.uploadMedia", + "updates.getChannelDifference" + ], + "USER_BLOCKED": [ + "channels.editAdmin", + "channels.inviteToChannel" + ], + "USER_BOT": [ + "channels.inviteToChannel" + ], + "USER_BOT_INVALID": [ + "bots.answerWebhookJSONQuery", + "bots.sendCustomRequest" + ], + "USER_BOT_REQUIRED": [ + "messages.getGameHighScores", + "messages.getInlineGameHighScores", + "messages.setGameScore", + "messages.setInlineGameScore" + ], + "USER_CHANNELS_TOO_MUCH": [ + "channels.inviteToChannel", + "channels.joinChannel", + "messages.importChatInvite" + ], + "USER_CREATOR": [ + "channels.editAdmin", + "channels.leaveChannel" + ], + "USER_ID_INVALID": [ + "auth.importAuthorization", + "channels.deleteUserHistory", + "channels.editAdmin", + "channels.editBanned", + "channels.editCreator", + "channels.getParticipant", + "channels.inviteToChannel", + "channels.reportSpam", + "messages.addChatUser", + "messages.deleteChatUser", + "messages.editChatAdmin", + "messages.getCommonChats", + "messages.requestEncryption", + "messages.search", + "phone.requestCall", + "photos.getUserPhotos", + "stickers.createStickerSet", + "users.getFullUser", + "users.setSecureValueErrors" + ], + "USER_IS_BLOCKED": [ + "messages.addChatUser", + "messages.forwardMessages", + "messages.sendMedia", + "messages.sendMessage", + "messages.setTyping", + "msgs_ack", + "msgs_state_req" + ], + "USER_IS_BOT": [ + "messages.forwardMessages", + "messages.sendMedia", + "messages.sendMessage", + "messages.setTyping" + ], + "USER_KICKED": [ + "channels.inviteToChannel" + ], + "USER_NOT_MUTUAL_CONTACT": [ + "channels.editAdmin", + "channels.inviteToChannel" + ], + "USER_NOT_PARTICIPANT": [ + "channels.getParticipant", + "channels.leaveChannel", + "messages.deleteChatUser", + "messages.editChatAdmin" + ], + "USERNAME_INVALID": [ + "account.checkUsername", + "account.updateUsername", + "channels.checkUsername", + "channels.updateUsername", + "contacts.resolveUsername", + "help.getConfig" + ], + "USERNAME_NOT_MODIFIED": [ + "account.updateUsername", + "channels.updateUsername" + ], + "USERNAME_NOT_OCCUPIED": [ + "contacts.resolveUsername" + ], + "USERNAME_OCCUPIED": [ + "account.updateUsername", + "channels.updateUsername" + ], + "USERS_TOO_FEW": [ + "messages.createChat" + ], + "USERS_TOO_MUCH": [ + "channels.editAdmin", + "channels.inviteToChannel", + "channels.joinChannel", + "messages.addChatUser", + "messages.importChatInvite" + ], + "VIDEO_FILE_INVALID": [ + "photos.uploadProfilePhoto" + ], + "VIDEO_TITLE_EMPTY": [ + "messages.setInlineBotResults" + ], + "WALLPAPER_MIME_INVALID": [ + "account.uploadWallPaper" + ], + "WC_CONVERT_URL_INVALID": [ + "messages.getWebPage" + ], + "WEBDOCUMENT_INVALID": [ + "messages.setInlineBotResults" + ], + "WEBDOCUMENT_MIME_INVALID": [ + "messages.setInlineBotResults" + ], + "WEBDOCUMENT_SIZE_TOO_BIG": [ + "messages.setInlineBotResults" + ], + "WEBPAGE_CURL_FAILED": [ + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.uploadMedia" + ], + "WEBPAGE_MEDIA_EMPTY": [ + "messages.sendInlineBotResult", + "messages.sendMedia" + ], + "WEBPUSH_AUTH_INVALID": [ + "account.registerDevice" + ], + "WEBPUSH_KEY_INVALID": [ + "account.registerDevice" + ], + "WEBPUSH_TOKEN_INVALID": [ + "account.registerDevice" + ], + "YOU_BLOCKED_USER": [ + "messages.addChatUser", + "messages.forwardMessage", + "messages.forwardMessages", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.sendScreenshotNotification" + ] + }, + "-3002": { + "All workers are busy. Active_queries = X": [ + "account.updateProfile", + "account.updateStatus", + "channels.getChannels", + "channels.getFullChannel", + "channels.getParticipant", + "channels.joinChannel", + "channels.leaveChannel", + "contacts.resolveUsername", + "help.getCdnConfig", + "help.getConfig", + "help.getTermsOfServiceUpdate", + "messages.checkChatInvite", + "messages.deleteHistory", + "messages.forwardMessages", + "messages.getAllChats", + "messages.getBotCallbackAnswer", + "messages.getDialogs", + "messages.getHistory", + "messages.getMessagesViews", + "messages.getUnreadMentions", + "messages.importChatInvite", + "messages.readMentions", + "messages.sendMessage", + "updates.getChannelDifference", + "updates.getDifference", + "upload.getFile", + "upload.saveFilePart", + "users.getUsers" + ] + }, + "500": { + "API_CALL_ERROR": [ + "upload.getCdnFileHashes", + "upload.reuploadCdnFile" + ], + "ARR_CAS_FAILED": [ + "channels.joinChannel" + ], + "AUTH_RESTART": [ + "auth.sendCode" + ], + "CALL_OCCUPY_FAILED": [ + "phone.acceptCall" + ], + "CHANNEL_ADMINS_INVALID": [ + "messages.checkChatInvite" + ], + "CHAT_ID_GENERATE_FAILED": [ + "messages.createChat" + ], + "CHAT_OCCUPY_LOC_FAILED": [ + "channels.createChannel", + "messages.createChat" + ], + "CHAT_OCCUPY_USERNAME_FAILED": [ + "channels.updateUsername" + ], + "CHP_CALL_FAIL": [ + "stats.getBroadcastStats", + "stats.loadAsyncGraph" + ], + "ENCRYPTION_OCCUPY_ADMIN_FAILED": [ + "messages.acceptEncryption" + ], + "ENCRYPTION_OCCUPY_FAILED": [ + "messages.acceptEncryption" + ], + "GROUPED_ID_OCCUPY_FAILED": [ + "messages.forwardMessages" + ], + "GROUPED_ID_OCCUPY_FAULED": [ + "messages.forwardMessages" + ], + "HISTORY_GET_FAILED": [ + "updates.getChannelDifference", + "updates.getDifference" + ], + "IMAGE_ENGINE_DOWN": [ + "messages.sendMedia", + "photos.updateProfilePhoto", + "photos.uploadProfilePhoto" + ], + "LOG_WRAP_FAIL": [ + "stats.getBroadcastStats", + "stats.loadAsyncGraph" + ], + "MEMBER_FETCH_FAILED": [ + "account.updateProfile", + "account.updateUsername", + "photos.updateProfilePhoto", + "photos.uploadProfilePhoto" + ], + "MEMBER_NO_LOCATION": [ + "users.getUsers" + ], + "MEMBER_OCCUPY_PRIMARY_LOC_FAILED": [ + "auth.signUp" + ], + "MEMBER_OCCUPY_USERNAME_FAILED": [ + "account.updateUsername" + ], + "MSG_RANGE_UNSYNC": [ + "messages.deleteHistory", + "messages.getHistory", + "messages.getPeerDialogs" + ], + "MSGID_DECREASE_RETRY": [ + "channels.createChannel", + "channels.editTitle", + "channels.getFullChannel", + "channels.getParticipants", + "channels.joinChannel", + "contacts.getStatuses", + "contacts.resolveUsername", + "help.getCdnConfig", + "messages.checkChatInvite", + "messages.forwardMessages", + "messages.getBotCallbackAnswer", + "messages.getDialogs", + "messages.getFullChat", + "messages.getMessagesViews", + "messages.readHistory", + "messages.sendMessage", + "messages.setTyping", + "updates.getChannelDifference", + "updates.getDifference", + "users.getFullUser", + "users.getUsers" + ], + "MT_SEND_QUEUE_TOO_LONG": [ + "channels.joinChannel", + "messages.editMessage", + "messages.sendInlineBotResult", + "messages.sendMessage" + ], + "NEED_CHAT_INVALID": [ + "channels.getChannels", + "messages.editChatPhoto", + "messages.editChatTitle", + "messages.getDialogs", + "messages.getPeerDialogs", + "messages.unpinAllMessages", + "messages.updatePinnedMessage", + "updates.getChannelDifference" + ], + "NEED_MEMBER_INVALID": [ + "auth.sendCode", + "channels.deleteMessages", + "channels.getChannels", + "channels.getMessages", + "channels.inviteToChannel", + "channels.joinChannel", + "channels.readHistory", + "channels.readMessageContents", + "contacts.deleteContacts", + "contacts.importCard", + "help.getConfig", + "invokeWithLayer", + "messages.editMessage", + "messages.forwardMessages", + "messages.getBotCallbackAnswer", + "messages.getDialogs", + "messages.getHistory", + "messages.getMessagesViews", + "messages.getPeerDialogs", + "messages.getUnreadMentions", + "messages.readMentions", + "messages.search", + "messages.sendMedia", + "messages.sendMessage", + "photos.updateProfilePhoto", + "photos.uploadProfilePhoto", + "updates.getChannelDifference", + "updates.getDifference", + "users.getUsers" + ], + "PARTICIPANT_CALL_FAILED": [ + "phone.requestCall" + ], + "PERSISTENT_TIMESTAMP_OUTDATED": [ + "updates.getChannelDifference" + ], + "POSTPONED_TIMEOUT": [ + "auth.resendCode", + "messages.sendInlineBotResult", + "messages.sendMedia", + "stats.getBroadcastStats", + "stats.loadAsyncGraph" + ], + "PTS_CHANGE_EMPTY": [ + "messages.editMessage", + "messages.forwardMessages", + "messages.sendMedia", + "messages.sendMessage" + ], + "RANDOM_ID_DUPLICATE": [ + "messages.forwardMessages", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.sendMultiMedia", + "messages.startBot" + ], + "REG_ID_GENERATE_FAILED": [ + "auth.signUp" + ], + "RPC_CONNECT_FAILED": [ + "account.updateStatus", + "channels.getChannels", + "channels.inviteToChannel", + "channels.joinChannel", + "channels.readHistory", + "help.getCdnConfig", + "help.getConfig", + "messages.getBotCallbackAnswer", + "messages.getDialogs", + "messages.getHistory", + "messages.sendMessage", + "messages.setTyping", + "updates.getChannelDifference", + "updates.getDifference", + "upload.getFile", + "users.getFullUser", + "users.getUsers" + ], + "SIGN_IN_FAILED": [ + "auth.signIn" + ], + "STORAGE_CHECK_FAILED": [ + "messages.editChatPhoto", + "messages.sendEncryptedFile", + "messages.sendMedia", + "messages.uploadMedia", + "photos.updateProfilePhoto", + "photos.uploadProfilePhoto", + "upload.saveBigFilePart" + ], + "STORE_INVALID_OBJECT_TYPE": [ + "channels.getAdminLog" + ], + "STORE_INVALID_SCALAR_TYPE": [ + "updates.getDifference" + ], + "TMSG_ADD_FAILED": [ + "messages.sendMessage" + ], + "UNKNOWN_METHOD": [ + "upload.getCdnFile" + ], + "UPLOAD_NO_VOLUME": [ + "messages.editChatPhoto", + "messages.sendMedia", + "photos.updateProfilePhoto", + "photos.uploadProfilePhoto", + "upload.saveBigFilePart" + ], + "USER_NOT_AVAILABLE": [ + "help.getConfig" + ], + "VOLUME_LOC_NOT_FOUND": [ + "updates.getChannelDifference", + "updates.getDifference" + ], + "WORKER_BUSY_TOO_LONG_RETRY": [ + "messages.forwardMessages", + "messages.sendMultiMedia" + ], + "WP_ID_GENERATE_FAILED": [ + "messages.getInlineBotResults" + ] + }, + "406": { + "AUTH_KEY_DUPLICATED": [ + "account.checkUsername", + "account.deleteAccount", + "account.getAuthorizations", + "account.updateProfile", + "account.updateStatus", + "account.updateUsername", + "auth.exportAuthorization", + "auth.sendCode", + "channels.createChannel", + "channels.deleteMessages", + "channels.getChannels", + "channels.getFullChannel", + "channels.getMessages", + "channels.getParticipant", + "channels.getParticipants", + "channels.inviteToChannel", + "channels.joinChannel", + "channels.leaveChannel", + "channels.readHistory", + "channels.readMessageContents", + "channels.updateUsername", + "contacts.addContact", + "contacts.getContactIDs", + "contacts.getContacts", + "contacts.importContacts", + "contacts.resolveUsername", + "contacts.search", + "help.getCdnConfig", + "help.getConfig", + "help.getNearestDc", + "help.getTermsOfServiceUpdate", + "invokeWithLayer", + "messages.checkChatInvite", + "messages.deleteHistory", + "messages.editMessage", + "messages.forwardMessages", + "messages.getAllChats", + "messages.getBotCallbackAnswer", + "messages.getDialogs", + "messages.getHistory", + "messages.getMessages", + "messages.getMessagesViews", + "messages.getPeerDialogs", + "messages.getUnreadMentions", + "messages.importChatInvite", + "messages.readHistory", + "messages.readMentions", + "messages.search", + "messages.sendMedia", + "messages.sendMessage", + "messages.sendMultiMedia", + "messages.sendVote", + "messages.setTyping", + "messages.startBot", + "messages.updatePinnedMessage", + "messages.uploadMedia", + "phone.getCallConfig", + "photos.deletePhotos", + "photos.getUserPhotos", + "photos.updateProfilePhoto", + "updates.getChannelDifference", + "updates.getDifference", + "updates.getState", + "upload.getFile", + "upload.saveBigFilePart", + "upload.saveFilePart", + "users.getFullUser", + "users.getUsers" + ], + "CHANNEL_TOO_LARGE": [ + "channels.deleteChannel" + ], + "FILEREF_UPGRADE_NEEDED": [ + "upload.getFile" + ], + "FRESH_CHANGE_ADMINS_FORBIDDEN": [ + "channels.editAdmin" + ], + "FRESH_RESET_AUTHORISATION_FORBIDDEN": [ + "account.resetAuthorization", + "auth.resetAuthorizations" + ], + "PHONE_NUMBER_INVALID": [ + "auth.checkPhone", + "auth.sendCode" + ], + "PHONE_PASSWORD_FLOOD": [ + "auth.sendCode" + ], + "SEND_CODE_UNAVAILABLE": [ + "auth.resendCode" + ], + "USER_RESTRICTED": [ + "channels.createChannel" + ], + "USERPIC_PRIVACY_REQUIRED": [ + "contacts.getLocated" + ], + "USERPIC_UPLOAD_REQUIRED": [ + "contacts.getLocated" + ] + }, + "401": { + "AUTH_KEY_INVALID": [ + "auth.importBotAuthorization" + ], + "AUTH_KEY_PERM_EMPTY": [ + "account.updateUsername", + "auth.checkPhone", + "auth.sendCode", + "contacts.resolveUsername", + "help.getCdnConfig", + "messages.getHistory", + "messages.sendMessage", + "updates.getDifference", + "upload.getFile", + "users.getUsers" + ], + "SESSION_PASSWORD_NEEDED": [ + "account.checkUsername", + "account.confirmPasswordEmail", + "account.getAuthorizations", + "account.getPrivacy", + "account.setPrivacy", + "account.updatePasswordSettings", + "account.updateProfile", + "account.updateStatus", + "account.updateUsername", + "auth.exportAuthorization", + "auth.signIn", + "channels.createChannel", + "channels.getChannels", + "channels.getGroupsForDiscussion", + "channels.joinChannel", + "contacts.getContacts", + "contacts.getStatuses", + "contacts.importContacts", + "contacts.resolveUsername", + "contacts.search", + "help.getCdnConfig", + "help.getTermsOfServiceUpdate", + "messages.checkChatInvite", + "messages.getAllChats", + "messages.getDialogs", + "messages.getFullChat", + "messages.importChatInvite", + "updates.getChannelDifference", + "updates.getDifference", + "updates.getState", + "upload.saveFilePart", + "users.getUsers" + ] + }, + "403": { + "BROADCAST_FORBIDDEN": [ + "messages.getPollVotes" + ], + "CHANNEL_PUBLIC_GROUP_NA": [ + "channels.getFullChannel", + "channels.leaveChannel", + "updates.getChannelDifference" + ], + "CHAT_ADMIN_INVITE_REQUIRED": [ + "channels.editAdmin" + ], + "CHAT_ADMIN_REQUIRED": [ + "messages.editMessage", + "messages.migrateChat" + ], + "CHAT_SEND_GAME_FORBIDDEN": [ + "messages.forwardMessages", + "messages.sendInlineBotResult" + ], + "CHAT_SEND_GIFS_FORBIDDEN": [ + "messages.forwardMessages", + "messages.sendInlineBotResult", + "messages.sendMedia" + ], + "CHAT_SEND_INLINE_FORBIDDEN": [ + "messages.sendInlineBotResult" + ], + "CHAT_SEND_MEDIA_FORBIDDEN": [ + "messages.forwardMessages", + "messages.sendInlineBotResult", + "messages.sendMedia" + ], + "CHAT_SEND_POLL_FORBIDDEN": [ + "messages.forwardMessages", + "messages.sendMedia" + ], + "CHAT_SEND_STICKERS_FORBIDDEN": [ + "messages.forwardMessages", + "messages.sendInlineBotResult", + "messages.sendMedia" + ], + "CHAT_WRITE_FORBIDDEN": [ + "channels.deleteChannel", + "channels.deleteUserHistory", + "channels.editAdmin", + "channels.editBanned", + "channels.editCreator", + "channels.editPhoto", + "channels.editTitle", + "channels.getAdminLog", + "channels.inviteToChannel", + "channels.updateUsername", + "invokeWithLayer", + "messages.addChatUser", + "messages.editChatAbout", + "messages.editChatDefaultBannedRights", + "messages.editMessage", + "messages.exportChatInvite", + "messages.forwardMessages", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.setTyping", + "messages.updatePinnedMessage", + "messages.uploadMedia", + "updates.getChannelDifference" + ], + "INLINE_BOT_REQUIRED": [ + "messages.editMessage" + ], + "MESSAGE_AUTHOR_REQUIRED": [ + "messages.editMessage", + "messages.getMessageEditData" + ], + "MESSAGE_DELETE_FORBIDDEN": [ + "channels.deleteMessages", + "messages.deleteMessages" + ], + "POLL_VOTE_REQUIRED": [ + "messages.getPollVotes" + ], + "RIGHT_FORBIDDEN": [ + "channels.editAdmin" + ], + "SENSITIVE_CHANGE_FORBIDDEN": [ + "account.setContentSettings" + ], + "TAKEOUT_REQUIRED": [ + "account.finishTakeoutSession", + "channels.getLeftChannels", + "contacts.getSaved" + ], + "USER_BOT_INVALID": [ + "messages.setInlineBotResults" + ], + "USER_CHANNELS_TOO_MUCH": [ + "channels.editAdmin", + "channels.inviteToChannel" + ], + "USER_DELETED": [ + "messages.sendEncryptedService" + ], + "USER_INVALID": [ + "help.getSupportName", + "help.getUserInfo" + ], + "USER_IS_BLOCKED": [ + "messages.sendEncrypted", + "messages.sendEncryptedService", + "phone.requestCall" + ], + "USER_NOT_MUTUAL_CONTACT": [ + "messages.addChatUser" + ], + "USER_PRIVACY_RESTRICTED": [ + "channels.editAdmin", + "channels.inviteToChannel", + "help.getConfig", + "messages.addChatUser", + "phone.requestCall" + ], + "USER_RESTRICTED": [ + "channels.createChannel", + "channels.editAdmin", + "messages.createChat" + ] + }, + "-500": { + "Invalid msg_resend_req query": [ + "msg_resend_req" + ], + "Invalid msgs_ack query": [ + "msgs_ack" + ], + "Invalid msgs_state_req query": [ + "msg_resend_req", + "msgs_state_req", + "req_pq_multi" + ], + "No workers running": [ + "account.updateProfile", + "account.updateStatus", + "auth.bindTempAuthKey", + "auth.sendCode", + "channels.getMessages", + "channels.getParticipants", + "channels.readHistory", + "help.getCdnConfig", + "help.getConfig", + "help.getNearestDc", + "messages.getMessagesViews", + "messages.readHistory", + "messages.sendMessage", + "photos.deletePhotos", + "photos.updateProfilePhoto", + "updates.getChannelDifference", + "updates.getDifference", + "upload.getFile", + "upload.saveFilePart", + "users.getFullUser", + "users.getUsers" + ] + }, + "-504": { + "memory limit exit": [ + "messages.getDialogs", + "messages.getHistory", + "messages.sendMedia", + "messages.sendMessage", + "updates.getChannelDifference", + "updates.getDifference" + ], + "memory limit(?)": [ + "updates.getDifference" + ] + }, + "-503": { + "Timeout": [ + "account.resetAuthorization", + "account.updateProfile", + "account.updateStatus", + "auth.bindTempAuthKey", + "auth.exportAuthorization", + "auth.resetAuthorizations", + "auth.sendCode", + "channels.deleteMessages", + "channels.deleteUserHistory", + "channels.getAdminLog", + "channels.getChannels", + "channels.getFullChannel", + "channels.getMessages", + "channels.getParticipant", + "channels.getParticipants", + "channels.inviteToChannel", + "channels.joinChannel", + "channels.leaveChannel", + "channels.readHistory", + "channels.readMessageContents", + "contacts.deleteContacts", + "contacts.getContactIDs", + "contacts.resolveUsername", + "contacts.search", + "help.getCdnConfig", + "help.getConfig", + "invokeWithLayer", + "messages.checkChatInvite", + "messages.deleteHistory", + "messages.editMessage", + "messages.forwardMessages", + "messages.getAllChats", + "messages.getBotCallbackAnswer", + "messages.getDhConfig", + "messages.getDialogs", + "messages.getFullChat", + "messages.getHistory", + "messages.getInlineBotResults", + "messages.getMessages", + "messages.getMessagesViews", + "messages.getPeerDialogs", + "messages.getUnreadMentions", + "messages.importChatInvite", + "messages.readHistory", + "messages.search", + "messages.sendInlineBotResult", + "messages.sendMedia", + "messages.sendMessage", + "messages.setTyping", + "messages.uploadMedia", + "photos.deletePhotos", + "photos.updateProfilePhoto", + "photos.uploadProfilePhoto", + "stats.getBroadcastStats", + "stats.loadAsyncGraph", + "updates.getChannelDifference", + "updates.getDifference", + "updates.getState", + "upload.getFile", + "upload.saveBigFilePart", + "upload.saveFilePart", + "users.getFullUser", + "users.getUsers" + ] + } + }, + "human_result": { + "-429": "Too many requests", + "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", + "ACTIVE_USER_REQUIRED": "The method is only available to already activated users", + "ADMIN_RANK_INVALID": "The specified admin rank is invalid.", + "ADMINS_TOO_MUCH": "There are too many admins", + "ALBUM_PHOTOS_TOO_MANY": "Too many ", + "All workers are busy. Active_queries = X": "All workers are busy. Active_queries = X", + "API_CALL_ERROR": "API call error", + "API_ID_INVALID": "API ID invalid", + "API_ID_PUBLISHED_FLOOD": "This API id was published somewhere, you can't use it now", + "ARR_CAS_FAILED": "Internal error", + "ARTICLE_TITLE_EMPTY": "The title of the article is empty", + "AUDIO_TITLE_EMPTY": "An empty audio title was provided.", + "AUTH_BYTES_INVALID": "The provided authorization is invalid", + "AUTH_KEY_DUPLICATED": "An auth key with the same ID was already generated", + "AUTH_KEY_INVALID": "Auth key invalid", + "AUTH_KEY_PERM_EMPTY": "The temporary auth key must be binded to the permanent auth key to use these methods.", + "AUTH_KEY_UNREGISTERED": "The authorization key has expired", + "AUTH_RESTART": "Restart the authorization process", + "AUTH_TOKEN_EXPIRED": "The authorization token has expired", + "AUTH_TOKEN_INVALIDX": "The specified auth token is invalid", + "BANNED_RIGHTS_INVALID": "You provided some invalid flags in the banned rights", + "BOT_CHANNELS_NA": "Bots can't edit admin privileges", + "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": "This method cannot be run by a bot", + "BOT_MISSING": "This method can only be run by a bot", + "BOT_RESPONSE_TIMEOUT": "A timeout occurred while fetching data from the bot", + "BOTS_TOO_MUCH": "There are too many bots in this chat\/channel", + "BROADCAST_FORBIDDEN": "", + "BROADCAST_ID_INVALID": "Broadcast ID invalid", + "BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "You can't forward polls with public voters", + "BROADCAST_REQUIRED": "This method can only be called on a channel, please use stats.getMegagroupStats for supergroups", + "BUTTON_DATA_INVALID": "The data of one or more of the buttons you provided is invalid", + "BUTTON_TYPE_INVALID": "The type of one or more of the buttons you provided is invalid", + "BUTTON_URL_INVALID": "Button URL invalid", + "CALL_ALREADY_ACCEPTED": "The call was already accepted", + "CALL_ALREADY_DECLINED": "The call was already declined", + "CALL_OCCUPY_FAILED": "The call failed because the user is already making another call", + "CALL_PEER_INVALID": "The provided call peer object is invalid", + "CALL_PROTOCOL_FLAGS_INVALID": "Call protocol flags invalid", + "CDN_METHOD_INVALID": "You can't call this method in a CDN DC", + "CHANNEL_ADD_INVALID": "Internal error", + "CHANNEL_ADMINS_INVALID": "Internal error", + "CHANNEL_INVALID": "The provided channel is invalid", + "CHANNEL_PRIVATE": "You haven't joined this channel\/supergroup", + "CHANNEL_PUBLIC_GROUP_NA": "channel\/supergroup not available", + "CHANNEL_TOO_LARGE": "Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change)", + "CHANNELS_ADMIN_LOCATED_TOO_MUCH": "The user has reached the limit of public geogroups", + "CHANNELS_ADMIN_PUBLIC_TOO_MUCH": "You're admin of too many public channels, make some channels private to change the username of this channel", + "CHANNELS_TOO_MUCH": "You have joined too many channels\/supergroups", + "CHAT_ABOUT_NOT_MODIFIED": "About text has not changed", + "CHAT_ABOUT_TOO_LONG": "Chat about too long", + "CHAT_ADMIN_INVITE_REQUIRED": "You do not have the rights to do this", + "CHAT_ADMIN_REQUIRED": "You must be an admin in this chat to do this", + "CHAT_FORBIDDEN": "You cannot write in this chat", + "CHAT_ID_EMPTY": "The provided chat ID is empty", + "CHAT_ID_GENERATE_FAILED": "Failure while generating the chat ID", + "CHAT_ID_INVALID": "The provided chat id is invalid", + "CHAT_INVALID": "Invalid chat", + "CHAT_LINK_EXISTS": "The chat is public, you can't hide the history to new users", + "CHAT_NOT_MODIFIED": "The pinned message wasn't modified", + "CHAT_OCCUPY_LOC_FAILED": "An internal error occurred while creating the chat", + "CHAT_OCCUPY_USERNAME_FAILED": "Could not occupy username", + "CHAT_RESTRICTED": "You can't send messages in this chat, you were restricted", + "CHAT_SEND_GAME_FORBIDDEN": "You can't send a game to this chat.", + "CHAT_SEND_GIFS_FORBIDDEN": "You can't send gifs in this chat", + "CHAT_SEND_INLINE_FORBIDDEN": "You can't send inline messages in this group", + "CHAT_SEND_MEDIA_FORBIDDEN": "You can't send media in this chat", + "CHAT_SEND_POLL_FORBIDDEN": "You can't send polls in this chat", + "CHAT_SEND_STICKERS_FORBIDDEN": "You can't send stickers in this chat.", + "CHAT_TITLE_EMPTY": "No chat title provided", + "CHAT_WRITE_FORBIDDEN": "You can't write in this chat", + "CHP_CALL_FAIL": "Internal failure", + "CODE_EMPTY": "The provided code is empty", + "CODE_HASH_INVALID": "Code hash invalid", + "CODE_INVALID": "Code invalid", + "CONNECTION_API_ID_INVALID": "The provided API id is invalid", + "CONNECTION_APP_VERSION_EMPTY": "App version is empty", + "CONNECTION_DEVICE_MODEL_EMPTY": "Device model empty", + "CONNECTION_LANG_PACK_INVALID": "Language pack invalid", + "CONNECTION_LAYER_INVALID": "Layer invalid", + "CONNECTION_NOT_INITED": "Connection not initialized", + "CONNECTION_SYSTEM_EMPTY": "Connection system empty", + "CONNECTION_SYSTEM_LANG_CODE_EMPTY": "The system_lang_code field is empty", + "CONTACT_ADD_MISSING": "Contact to add is missing", + "CONTACT_ID_INVALID": "The provided contact ID is invalid", + "CONTACT_NAME_EMPTY": "Contact name empty", + "CONTACT_REQ_MISSING": "Missing contact request", + "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", + "EMAIL_HASH_EXPIRED": "Email hash expired", + "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.", + "EMAIL_VERIFY_EXPIRED": "The verification email has expired", + "ENCRYPTED_MESSAGE_INVALID": "Encrypted message invalid", + "ENCRYPTION_ALREADY_ACCEPTED": "Secret chat already accepted", + "ENCRYPTION_ALREADY_DECLINED": "The secret chat was already declined", + "ENCRYPTION_DECLINED": "The secret chat was declined", + "ENCRYPTION_ID_INVALID": "The provided secret chat ID is invalid", + "ENCRYPTION_OCCUPY_ADMIN_FAILED": "Failed occupying memory for admin info", + "ENCRYPTION_OCCUPY_FAILED": "Internal server error while accepting secret chat", + "ENTITIES_TOO_LONG": "You provided too many styled message entities", + "ENTITY_MENTION_USER_INVALID": "You mentioned an invalid user", + "ERROR_TEXT_EMPTY": "The provided error message is empty", + "EXPORT_CARD_INVALID": "Provided card is invalid", + "EXTERNAL_URL_INVALID": "External URL invalid", + "FIELD_NAME_EMPTY": "The field with the name FIELD_NAME is missing", + "FIELD_NAME_INVALID": "The field with the name FIELD_NAME is invalid", + "FILE_EMTPY": "An empty file was provided", + "FILE_ID_INVALID": "The provided file id is invalid", + "FILE_PART_EMPTY": "The provided file part is empty", + "FILE_PART_INVALID": "The file part number is invalid", + "FILE_PART_LENGTH_INVALID": "The length of a file part is invalid", + "FILE_PART_SIZE_CHANGED": "Provided file part size has changed", + "FILE_PART_SIZE_INVALID": "The provided file part size is invalid", + "FILE_PART_TOO_BIG": "The uploaded file part is too big", + "FILE_PARTS_INVALID": "The number of file parts is invalid", + "FILE_REFERENCE_EXPIRED": "File reference expired, it must be refetched as described in https:\/\/core.telegram.org\/api\/file_reference", + "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_TITLE_EMPTY": "The title field of the filter is empty", + "FIRSTNAME_INVALID": "The first name is invalid", + "FLOOD_WAIT_666": "Spooky af m8", + "FOLDER_ID_INVALID": "Invalid folder ID", + "FRESH_CHANGE_ADMINS_FORBIDDEN": "You were just elected admin, you can't add or modify other admins yet", + "FRESH_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", + "GEO_POINT_INVALID": "Invalid geoposition provided", + "GIF_CONTENT_TYPE_INVALID": "GIF content-type invalid", + "GIF_ID_INVALID": "The provided GIF ID is invalid", + "GRAPH_EXPIRED_RELOAD": "This graph has expired, please obtain a new graph token", + "GRAPH_INVALID_RELOAD": "Invalid graph token provided, please reload the stats and provide the updated token", + "GRAPH_OUTDATED_RELOAD": "The graph is outdated, please get a new async token using stats.getBroadcastStats", + "GROUPED_ID_OCCUPY_FAILED": "Internal error", + "GROUPED_ID_OCCUPY_FAULED": "Internal error", + "GROUPED_MEDIA_INVALID": "Invalid grouped media", + "HASH_INVALID": "The provided hash is invalid", + "HISTORY_GET_FAILED": "Fetching of history failed", + "IMAGE_ENGINE_DOWN": "Image engine down", + "IMAGE_PROCESS_FAILED": "Failure while processing image", + "INLINE_BOT_REQUIRED": "Only the inline bot can edit message", + "INLINE_RESULT_EXPIRED": "The inline query expired", + "INPUT_FETCH_ERROR": "An error occurred while deserializing TL parameters", + "INPUT_FETCH_FAIL": "Failed deserializing TL payload", + "INPUT_FILTER_INVALID": "The specified filter is invalid", + "INPUT_LAYER_INVALID": "The provided layer is invalid", + "INPUT_REQUEST_TOO_LONG": "The request is too big", + "INPUT_USER_DEACTIVATED": "The specified user was deleted", + "INTERDC_1_CALL_ERROR": "An error occurred while communicating with DC 1", + "INTERDC_1_CALL_RICH_ERROR": "A rich error occurred while communicating with DC 1", + "INTERDC_2_CALL_ERROR": "An error occurred while communicating with DC 2", + "INTERDC_2_CALL_RICH_ERROR": "A rich error occurred while communicating with DC 2", + "INTERDC_3_CALL_ERROR": "An error occurred while communicating with DC 3", + "INTERDC_3_CALL_RICH_ERROR": "A rich error occurred while communicating with DC 3", + "INTERDC_4_CALL_ERROR": "An error occurred while communicating with DC 4", + "INTERDC_4_CALL_RICH_ERROR": "A rich error occurred while communicating with DC 4", + "INTERDC_5_CALL_ERROR": "An error occurred while communicating with DC 5", + "INTERDC_5_CALL_RICH_ERROR": "A rich error occurred while communicating with DC 5", + "Invalid msg_resend_req query": "Invalid msg_resend_req query", + "Invalid msgs_ack query": "Invalid msgs_ack query", + "Invalid msgs_state_req query": "Invalid msgs_state_req query", + "INVITE_HASH_EMPTY": "The invite hash is empty", + "INVITE_HASH_EXPIRED": "The invite link has expired", + "INVITE_HASH_INVALID": "The invite hash is invalid", + "LANG_PACK_INVALID": "The provided language pack is invalid", + "LASTNAME_INVALID": "The last name is invalid", + "LIMIT_INVALID": "The provided limit is invalid", + "LINK_NOT_MODIFIED": "Discussion link not modified", + "LOCATION_INVALID": "The provided location is invalid", + "LOG_WRAP_FAIL": "Internal error", + "MAX_ID_INVALID": "The provided max ID is invalid", + "MD5_CHECKSUM_INVALID": "The MD5 checksums do not match", + "MEDIA_CAPTION_TOO_LONG": "The caption is too long", + "MEDIA_EMPTY": "The provided media object is invalid", + "MEDIA_GROUPED_INVALID": "", + "MEDIA_INVALID": "Media invalid", + "MEDIA_PREV_INVALID": "Previous media invalid", + "MEGAGROUP_ID_INVALID": "Invalid supergroup ID", + "MEGAGROUP_REQUIRED": "You can only use this method on a supergroup", + "MEMBER_FETCH_FAILED": "Internal error", + "MEMBER_NO_LOCATION": "An internal failure occurred while fetching user info (couldn't find location)", + "MEMBER_OCCUPY_PRIMARY_LOC_FAILED": "Occupation of primary member location failed", + "MEMBER_OCCUPY_USERNAME_FAILED": "Internal error while occupying username, try again later", + "memory limit exit": "Internal error", + "memory limit(?)": "Internal error", + "MESSAGE_AUTHOR_REQUIRED": "Message author required", + "MESSAGE_DELETE_FORBIDDEN": "You can't delete one of the messages you tried to delete, most likely because it is a service message.", + "MESSAGE_EDIT_TIME_EXPIRED": "You can't edit this message anymore, too much time has passed since its creation.", + "MESSAGE_EMPTY": "The provided message is empty", + "MESSAGE_ID_INVALID": "The provided message id is invalid", + "MESSAGE_IDS_EMPTY": "No message ids were provided", + "MESSAGE_NOT_MODIFIED": "The message text has not changed", + "MESSAGE_POLL_CLOSED": "Poll closed", + "MESSAGE_TOO_LONG": "The provided message is too long", + "METHOD_INVALID": "The specified method is invalid", + "MSG_ID_INVALID": "Invalid message ID provided", + "MSG_RANGE_UNSYNC": "Message range unsynchronized", + "MSG_WAIT_FAILED": "A waiting call returned an error", + "MSGID_DECREASE_RETRY": "IDK TBH", + "MT_SEND_QUEUE_TOO_LONG": "Internal error, try again later", + "MULTI_MEDIA_TOO_LONG": "Too many media files for album", + "NEED_CHAT_INVALID": "The provided chat is invalid", + "NEED_MEMBER_INVALID": "The provided member is invalid", + "NEW_SALT_INVALID": "The new salt is invalid", + "NEW_SETTINGS_INVALID": "The new settings are invalid", + "No workers running": "Internal error", + "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", + "P0NY_FLOODWAIT": "No", + "PACK_SHORT_NAME_INVALID": "Short pack name invalid", + "PACK_SHORT_NAME_OCCUPIED": "A stickerpack with this name already exists", + "PACK_TITLE_INVALID": "The stickerpack title is invalid", + "PARTICIPANT_CALL_FAILED": "Failure while making call", + "PARTICIPANT_ID_INVALID": "The specified participant ID is invalid", + "PARTICIPANT_VERSION_OUTDATED": "The other participant does not use an up to date telegram client with support for calls", + "PARTICIPANTS_TOO_FEW": "Not enough participants", + "PASSWORD_EMPTY": "The provided password is empty", + "PASSWORD_HASH_INVALID": "The provided password hash is invalid", + "PASSWORD_MISSING": "You must enable 2FA in order to transfer ownership of a channel", + "PASSWORD_TOO_FRESH_%d": "The password was modified less than 24 hours ago, try again in %d seconds", + "PEER_FLOOD": "Too many requests", + "PEER_ID_INVALID": "The provided peer id is invalid", + "PEER_ID_NOT_SUPPORTED": "The provided peer ID is not supported", + "PERSISTENT_TIMESTAMP_EMPTY": "Persistent timestamp empty", + "PERSISTENT_TIMESTAMP_INVALID": "Persistent timestamp invalid", + "PERSISTENT_TIMESTAMP_OUTDATED": "Channel internal replication issues, try again later (treat this like an RPC_CALL_FAIL)", + "PHONE_CODE_EMPTY": "phone_code is missing", + "PHONE_CODE_EXPIRED": "The phone code you provided has expired, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars)", + "PHONE_CODE_HASH_EMPTY": "phone_code_hash is missing", + "PHONE_CODE_INVALID": "The provided phone code is invalid", + "PHONE_NUMBER_APP_SIGNUP_FORBIDDEN": "You can't sign up using this app", + "PHONE_NUMBER_BANNED": "The provided phone number is banned from telegram", + "PHONE_NUMBER_FLOOD": "You asked for the code too many times.", + "PHONE_NUMBER_INVALID": "The phone number is invalid", + "PHONE_NUMBER_OCCUPIED": "The phone number is already in use", + "PHONE_NUMBER_UNOCCUPIED": "The phone number is not yet being used", + "PHONE_PASSWORD_FLOOD": "You have tried logging in too many times", + "PHONE_PASSWORD_PROTECTED": "This phone is password protected", + "PHOTO_CONTENT_TYPE_INVALID": "Photo mime-type invalid", + "PHOTO_CONTENT_URL_EMPTY": "Photo URL invalid", + "PHOTO_CROP_FILE_MISSING": "Photo crop file missing", + "PHOTO_CROP_SIZE_SMALL": "Photo is too small", + "PHOTO_EXT_INVALID": "The extension of the photo is invalid", + "PHOTO_FILE_MISSING": "Profile photo file missing", + "PHOTO_ID_INVALID": "Photo ID invalid", + "PHOTO_INVALID": "Photo invalid", + "PHOTO_INVALID_DIMENSIONS": "The photo dimensions are invalid", + "PHOTO_SAVE_FILE_INVALID": "Internal issues, try again later", + "PHOTO_THUMB_URL_EMPTY": "Photo thumbnail URL is empty", + "PIN_RESTRICTED": "You can't pin messages", + "PINNED_DIALOGS_TOO_MUCH": "Too many pinned dialogs", + "POLL_ANSWER_INVALID": "One of the poll answers is not acceptable", + "POLL_ANSWERS_INVALID": "Invalid poll answers were provided", + "POLL_OPTION_DUPLICATE": "Duplicate poll options provided", + "POLL_OPTION_INVALID": "Invalid poll option provided", + "POLL_QUESTION_INVALID": "One of the poll questions is not acceptable", + "POLL_VOTE_REQUIRED": "Cast a vote in the poll before calling this method", + "POSTPONED_TIMEOUT": "Internal error", + "PRIVACY_KEY_INVALID": "The privacy key is invalid", + "PRIVACY_VALUE_INVALID": "The specified privacy rule combination is invalid", + "PTS_CHANGE_EMPTY": "No PTS change", + "QUERY_ID_EMPTY": "The query ID is empty", + "QUERY_ID_INVALID": "The query ID is invalid", + "QUERY_TOO_SHORT": "The query string is too short", + "QUIZ_CORRECT_ANSWER_INVALID": "An invalid value was provided to the correct_answers field", + "QUIZ_CORRECT_ANSWERS_EMPTY": "No correct quiz answer was specified", + "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", + "REG_ID_GENERATE_FAILED": "Failure while generating registration ID", + "REPLY_MARKUP_BUY_EMPTY": "Reply markup for buy button empty", + "REPLY_MARKUP_INVALID": "The provided reply markup is invalid", + "RESULT_ID_DUPLICATE": "You provided a duplicate result ID", + "RESULT_ID_EMPTY": "Result ID empty", + "RESULT_TYPE_INVALID": "Result type invalid", + "RESULTS_TOO_MUCH": "Too many results were provided", + "REVOTE_NOT_ALLOWED": "You cannot change your vote", + "RIGHT_FORBIDDEN": "Your admin rights do not allow you to do this", + "RPC_CALL_FAIL": "Telegram is having internal issues, please try again later.", + "RPC_CONNECT_FAILED": "Internal error", + "RPC_MCGET_FAIL": "Telegram is having internal issues, please try again later.", + "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_TOO_MUCH": "There are too many scheduled messages", + "SEARCH_QUERY_EMPTY": "The search query is empty", + "SECONDS_INVALID": "Invalid duration provided", + "SEND_CODE_UNAVAILABLE": "", + "SEND_MESSAGE_MEDIA_INVALID": "Invalid media provided", + "SEND_MESSAGE_TYPE_INVALID": "The message type is invalid", + "SENSITIVE_CHANGE_FORBIDDEN": "You can't change your sensitive content settings.", + "SESSION_PASSWORD_NEEDED": "2FA is enabled, use a password to login", + "SESSION_TOO_FRESH_%d": "This session was created less than 24 hours ago, try again in %d seconds", + "SETTINGS_INVALID": "Invalid settings were provided", + "SHA256_HASH_INVALID": "The provided SHA256 hash is invalid", + "SHORTNAME_OCCUPY_FAILED": "An internal error occurred", + "SIGN_IN_FAILED": "Failure while signing in", + "SLOWMODE_MULTI_MSGS_DISABLED": "Slowmode is enabled, you cannot forward multiple messages to this group.", + "SLOWMODE_WAIT_%d": "Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.", + "SMS_CODE_CREATE_FAILED": "An error occurred while creating the SMS code", + "SRP_ID_INVALID": "Invalid SRP ID provided", + "SRP_PASSWORD_CHANGED": "Password has changed", + "START_PARAM_EMPTY": "The start parameter is empty", + "START_PARAM_INVALID": "Start parameter invalid", + "START_PARAM_TOO_LONG": "Start parameter is too long", + "STICKER_EMOJI_INVALID": "Sticker emoji invalid", + "STICKER_FILE_INVALID": "Sticker file invalid", + "STICKER_ID_INVALID": "The provided sticker ID is invalid", + "STICKER_INVALID": "The provided sticker is invalid", + "STICKER_PNG_DIMENSIONS": "Sticker png dimensions invalid", + "STICKER_PNG_NOPNG": "One of the specified stickers is not a valid PNG file", + "STICKER_TGS_NODOC": "", + "STICKERS_EMPTY": "No sticker provided", + "STICKERSET_INVALID": "The provided sticker set is invalid", + "STORAGE_CHECK_FAILED": "Server storage check failed", + "STORE_INVALID_OBJECT_TYPE": "Internal error", + "STORE_INVALID_SCALAR_TYPE": "Tried storing an invalid scalar type", + "TAKEOUT_INIT_DELAY_%d": "Wait %d seconds before initing takeout", + "TAKEOUT_REQUIRED": "A takeout session has to be initialized, first", + "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", + "Timeout": "Timeout while fetching data", + "TMP_PASSWORD_DISABLED": "The temporary password is disabled", + "TMSG_ADD_FAILED": "Internal error", + "TOKEN_INVALID": "The provided token is invalid", + "TTL_DAYS_INVALID": "The provided TTL is invalid", + "TTL_MEDIA_INVALID": "Invalid media Time To Live was provided", + "TYPE_CONSTRUCTOR_INVALID": "The type constructor is invalid", + "TYPES_EMPTY": "No top peer type was provided", + "UNKNOWN_ERROR": "Internal error", + "UNKNOWN_METHOD": "The method you tried to call cannot be called on non-CDN DCs", + "UNTIL_DATE_INVALID": "Invalid until date provided", + "UPLOAD_NO_VOLUME": "An internal error occurred", + "URL_INVALID": "Invalid URL provided", + "USER_ADMIN_INVALID": "You're not an admin", + "USER_ALREADY_PARTICIPANT": "The user is already in the group", + "USER_BANNED_IN_CHANNEL": "You're banned from sending messages in supergroups\/channels", + "USER_BLOCKED": "User blocked", + "USER_BOT": "Bots can only be admins in channels.", + "USER_BOT_INVALID": "This method can only be called by a bot", + "USER_BOT_REQUIRED": "This method can only be called by a bot", + "USER_CHANNELS_TOO_MUCH": "One of the users you tried to add is already in too many channels\/supergroups", + "USER_CREATOR": "You can't leave this channel, because you're its creator", + "USER_DEACTIVATED": "The user was deactivated", + "USER_DEACTIVATED_BAN": "The current account was banned from telegram due to abuse", + "USER_DELETED": "You can't send this secret message because the other participant deleted their account.", + "USER_ID_INVALID": "The provided user ID is invalid", + "USER_INVALID": "Invalid user provided", + "USER_IS_BLOCKED": "You were blocked by this user", + "USER_IS_BOT": "Bots can't send messages to other bots", + "USER_KICKED": "This user was kicked from this supergroup\/channel", + "USER_NOT_AVAILABLE": "Internal error", + "USER_NOT_MUTUAL_CONTACT": "The provided user is not a mutual contact", + "USER_NOT_PARTICIPANT": "You're not a member of this supergroup\/channel", + "USER_PRIVACY_RESTRICTED": "The user's privacy settings do not allow you to do this", + "USER_RESTRICTED": "You're spamreported, you can't create channels or chats.", + "USERNAME_INVALID": "The provided username is not valid", + "USERNAME_NOT_MODIFIED": "The username was not modified", + "USERNAME_NOT_OCCUPIED": "The provided username is not occupied", + "USERNAME_OCCUPIED": "The provided username is already occupied", + "USERPIC_PRIVACY_REQUIRED": "You need to disable privacy settings for your profile picture in order to make your geolocation public.", + "USERPIC_UPLOAD_REQUIRED": "You must have a profile picture to publish your geolocation", + "USERS_TOO_FEW": "Not enough users (to create a chat, for example)", + "USERS_TOO_MUCH": "The maximum number of users has been exceeded (to create a chat, for example)", + "venus": "delete", + "VIDEO_FILE_INVALID": "The specified video file is invalid", + "VIDEO_TITLE_EMPTY": "The specified video title is empty", + "VOLUME_LOC_NOT_FOUND": "Internal error", + "WALLPAPER_MIME_INVALID": "The specified wallpaper MIME type is invalid", + "WC_CONVERT_URL_INVALID": "WC convert URL invalid", + "WEBDOCUMENT_INVALID": "Invalid webdocument URL provided", + "WEBDOCUMENT_MIME_INVALID": "Invalid webdocument mime type provided", + "WEBDOCUMENT_SIZE_TOO_BIG": "Webdocument is too big!", + "WEBPAGE_CURL_FAILED": "Failure while fetching the webpage with cURL", + "WEBPAGE_MEDIA_EMPTY": "Webpage media empty", + "WEBPUSH_AUTH_INVALID": "The specified web push authentication secret is invalid.", + "WEBPUSH_KEY_INVALID": "The specified web push elliptic curve Diffie-Hellman public key is invalid.", + "WEBPUSH_TOKEN_INVALID": "The specified web push token is invalid.", + "WORKER_BUSY_TOO_LONG_RETRY": "Worker busy, try again later", + "WP_ID_GENERATE_FAILED": "Internal error", + "YOU_BLOCKED_USER": "You blocked this user" + } } \ No newline at end of file