diff --git a/v1.json b/v1.json index 5a30d20..7e0df8f 100644 --- a/v1.json +++ b/v1.json @@ -37,6 +37,7 @@ "API_ID_PUBLISHED_FLOOD" ], "channels.editAdmin": [ + "ADMIN_RANK_EMOJI_NOT_ALLOWED", "ADMIN_RANK_INVALID", "ADMINS_TOO_MUCH", "BOT_CHANNELS_NA", @@ -45,6 +46,7 @@ "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", + "FRESH_CHANGE_ADMINS_FORBIDDEN", "INPUT_USER_DEACTIVATED", "PEER_ID_INVALID", "USER_BLOCKED", @@ -62,6 +64,16 @@ "PHOTO_EXT_INVALID", "PHOTO_ID_INVALID" ], + "photos.uploadProfilePhoto": [ + "ALBUM_PHOTOS_TOO_MANY", + "FILE_PARTS_INVALID", + "IMAGE_PROCESS_FAILED", + "PHOTO_CROP_FILE_MISSING", + "PHOTO_CROP_SIZE_SMALL", + "PHOTO_EXT_INVALID", + "PHOTO_FILE_MISSING", + "VIDEO_FILE_INVALID" + ], "auth.exportLoginToken": [ "API_ID_INVALID" ], @@ -78,13 +90,18 @@ ], "messages.setInlineBotResults": [ "ARTICLE_TITLE_EMPTY", + "AUDIO_CONTENT_URL_EMPTY", "AUDIO_TITLE_EMPTY", "BUTTON_DATA_INVALID", "BUTTON_TYPE_INVALID", "BUTTON_URL_INVALID", + "DOCUMENT_INVALID", + "FILE_CONTENT_TYPE_INVALID", + "FILE_TITLE_EMPTY", "GIF_CONTENT_TYPE_INVALID", "MESSAGE_EMPTY", "MESSAGE_TOO_LONG", + "NEXT_OFFSET_INVALID", "PHOTO_CONTENT_TYPE_INVALID", "PHOTO_CONTENT_URL_EMPTY", "PHOTO_INVALID", @@ -97,10 +114,13 @@ "SEND_MESSAGE_MEDIA_INVALID", "SEND_MESSAGE_TYPE_INVALID", "START_PARAM_INVALID", + "STICKER_DOCUMENT_INVALID", + "USER_BOT_INVALID", "VIDEO_TITLE_EMPTY", "WEBDOCUMENT_INVALID", "WEBDOCUMENT_MIME_INVALID", - "WEBDOCUMENT_SIZE_TOO_BIG" + "WEBDOCUMENT_SIZE_TOO_BIG", + "WEBDOCUMENT_URL_INVALID" ], "auth.importAuthorization": [ "AUTH_BYTES_INVALID", @@ -119,12 +139,20 @@ "INVITE_HASH_EXPIRED" ], "auth.importLoginToken": [ + "AUTH_TOKEN_ALREADY_ACCEPTED", "AUTH_TOKEN_EXPIRED", + "AUTH_TOKEN_INVALID", "AUTH_TOKEN_INVALIDX" ], "auth.acceptLoginToken": [ "AUTH_TOKEN_INVALIDX" ], + "account.setGlobalPrivacySettings": [ + "AUTOARCHIVE_NOT_AVAILABLE" + ], + "payments.getBankCardData": [ + "BANK_CARD_NUMBER_INVALID" + ], "messages.editChatDefaultBannedRights": [ "BANNED_RIGHTS_INVALID", "CHAT_ADMIN_REQUIRED", @@ -132,6 +160,11 @@ "PEER_ID_INVALID", "UNTIL_DATE_INVALID" ], + "bots.setBotCommands": [ + "BOT_COMMAND_DESCRIPTION_INVALID", + "BOT_COMMAND_INVALID", + "LANG_CODE_INVALID" + ], "messages.sendMessage": [ "BOT_DOMAIN_INVALID", "BOT_INVALID", @@ -154,9 +187,12 @@ "MSG_ID_INVALID", "PEER_ID_INVALID", "PINNED_DIALOGS_TOO_MUCH", + "POLL_OPTION_INVALID", "REPLY_MARKUP_INVALID", + "REPLY_MARKUP_TOO_LONG", "SCHEDULE_BOT_NOT_ALLOWED", "SCHEDULE_DATE_TOO_LATE", + "SCHEDULE_STATUS_PRIVATE", "SCHEDULE_TOO_MUCH", "USER_BANNED_IN_CHANNEL", "USER_IS_BLOCKED", @@ -221,6 +257,8 @@ ], "stickers.addStickerToSet": [ "BOT_MISSING", + "STICKER_PNG_NOPNG", + "STICKER_TGS_NOTGS", "STICKERSET_INVALID" ], "stickers.changeStickerPosition": [ @@ -239,6 +277,9 @@ "STICKER_PNG_DIMENSIONS", "STICKER_PNG_NOPNG", "STICKER_TGS_NODOC", + "STICKER_TGS_NOTGS", + "STICKER_THUMB_PNG_NOPNG", + "STICKER_THUMB_TGS_NOTGS", "STICKERS_EMPTY", "USER_ID_INVALID" ], @@ -246,6 +287,70 @@ "BOT_MISSING", "STICKER_INVALID" ], + "messages.updatePinnedMessage": [ + "BOT_ONESIDE_NOT_AVAIL", + "CHANNEL_PRIVATE", + "CHAT_ADMIN_REQUIRED", + "CHAT_NOT_MODIFIED", + "MESSAGE_ID_INVALID", + "PIN_RESTRICTED", + "USER_BANNED_IN_CHANNEL" + ], + "messages.sendMedia": [ + "BOT_PAYMENTS_DISABLED", + "BOT_POLLS_DISABLED", + "BROADCAST_PUBLIC_VOTERS_FORBIDDEN", + "BUTTON_DATA_INVALID", + "BUTTON_TYPE_INVALID", + "BUTTON_URL_INVALID", + "CHANNEL_INVALID", + "CHANNEL_PRIVATE", + "CHAT_ADMIN_REQUIRED", + "CHAT_RESTRICTED", + "CURRENCY_TOTAL_AMOUNT_INVALID", + "EMOTICON_INVALID", + "EXTERNAL_URL_INVALID", + "FILE_PART_LENGTH_INVALID", + "FILE_PARTS_INVALID", + "FILE_REFERENCE_EMPTY", + "FILE_REFERENCE_EXPIRED", + "GAME_BOT_INVALID", + "IMAGE_PROCESS_FAILED", + "INPUT_FETCH_FAIL", + "INPUT_USER_DEACTIVATED", + "MD5_CHECKSUM_INVALID", + "MEDIA_CAPTION_TOO_LONG", + "MEDIA_EMPTY", + "MEDIA_INVALID", + "MSG_ID_INVALID", + "PAYMENT_PROVIDER_INVALID", + "PEER_ID_INVALID", + "PHOTO_EXT_INVALID", + "PHOTO_INVALID_DIMENSIONS", + "PHOTO_SAVE_FILE_INVALID", + "POLL_ANSWER_INVALID", + "POLL_ANSWERS_INVALID", + "POLL_OPTION_DUPLICATE", + "POLL_OPTION_INVALID", + "POLL_QUESTION_INVALID", + "QUIZ_CORRECT_ANSWER_INVALID", + "QUIZ_CORRECT_ANSWERS_EMPTY", + "QUIZ_CORRECT_ANSWERS_TOO_MUCH", + "QUIZ_MULTIPLE_INVALID", + "REPLY_MARKUP_BUY_EMPTY", + "REPLY_MARKUP_INVALID", + "SCHEDULE_BOT_NOT_ALLOWED", + "SCHEDULE_DATE_TOO_LATE", + "SCHEDULE_TOO_MUCH", + "TTL_MEDIA_INVALID", + "USER_BANNED_IN_CHANNEL", + "USER_IS_BLOCKED", + "USER_IS_BOT", + "VIDEO_CONTENT_TYPE_INVALID", + "WEBPAGE_CURL_FAILED", + "WEBPAGE_MEDIA_EMPTY", + "YOU_BLOCKED_USER" + ], "messages.getBotCallbackAnswer": [ "BOT_RESPONSE_TIMEOUT", "CHANNEL_INVALID", @@ -266,7 +371,8 @@ "CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "LINK_NOT_MODIFIED", - "MEGAGROUP_ID_INVALID" + "MEGAGROUP_ID_INVALID", + "MEGAGROUP_PREHISTORY_HIDDEN" ], "messages.forwardMessages": [ "BROADCAST_PUBLIC_VOTERS_FORBIDDEN", @@ -284,6 +390,7 @@ "MSG_ID_INVALID", "PEER_ID_INVALID", "RANDOM_ID_INVALID", + "SCHEDULE_DATE_TOO_LATE", "SCHEDULE_TOO_MUCH", "SLOWMODE_MULTI_MSGS_DISABLED", "USER_BANNED_IN_CHANNEL", @@ -291,49 +398,6 @@ "USER_IS_BOT", "YOU_BLOCKED_USER" ], - "messages.sendMedia": [ - "BROADCAST_PUBLIC_VOTERS_FORBIDDEN", - "BUTTON_DATA_INVALID", - "BUTTON_TYPE_INVALID", - "BUTTON_URL_INVALID", - "CHANNEL_INVALID", - "CHANNEL_PRIVATE", - "CHAT_ADMIN_REQUIRED", - "CHAT_RESTRICTED", - "EXTERNAL_URL_INVALID", - "FILE_PART_LENGTH_INVALID", - "FILE_PARTS_INVALID", - "IMAGE_PROCESS_FAILED", - "INPUT_FETCH_FAIL", - "INPUT_USER_DEACTIVATED", - "MD5_CHECKSUM_INVALID", - "MEDIA_CAPTION_TOO_LONG", - "MEDIA_EMPTY", - "MEDIA_INVALID", - "MSG_ID_INVALID", - "PEER_ID_INVALID", - "PHOTO_EXT_INVALID", - "PHOTO_INVALID_DIMENSIONS", - "PHOTO_SAVE_FILE_INVALID", - "POLL_ANSWER_INVALID", - "POLL_ANSWERS_INVALID", - "POLL_OPTION_DUPLICATE", - "POLL_OPTION_INVALID", - "POLL_QUESTION_INVALID", - "QUIZ_CORRECT_ANSWER_INVALID", - "QUIZ_CORRECT_ANSWERS_EMPTY", - "REPLY_MARKUP_BUY_EMPTY", - "REPLY_MARKUP_INVALID", - "SCHEDULE_BOT_NOT_ALLOWED", - "SCHEDULE_TOO_MUCH", - "TTL_MEDIA_INVALID", - "USER_BANNED_IN_CHANNEL", - "USER_IS_BLOCKED", - "USER_IS_BOT", - "WEBPAGE_CURL_FAILED", - "WEBPAGE_MEDIA_EMPTY", - "YOU_BLOCKED_USER" - ], "stats.getBroadcastStats": [ "BROADCAST_REQUIRED", "CHANNEL_INVALID", @@ -352,6 +416,7 @@ "INPUT_USER_DEACTIVATED", "MEDIA_CAPTION_TOO_LONG", "MEDIA_GROUPED_INVALID", + "MEDIA_NEW_INVALID", "MEDIA_PREV_INVALID", "MESSAGE_EDIT_TIME_EXPIRED", "MESSAGE_EMPTY", @@ -392,7 +457,8 @@ "phone.requestCall": [ "CALL_PROTOCOL_FLAGS_INVALID", "PARTICIPANT_VERSION_OUTDATED", - "USER_ID_INVALID" + "USER_ID_INVALID", + "USER_IS_BLOCKED" ], "updates.getDifference": [ "CDN_METHOD_INVALID", @@ -467,6 +533,7 @@ "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_NOT_MODIFIED", + "FILE_REFERENCE_INVALID", "PHOTO_CROP_SIZE_SMALL", "PHOTO_EXT_INVALID", "PHOTO_INVALID" @@ -681,6 +748,7 @@ "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", + "FROM_PEER_INVALID", "INPUT_FILTER_INVALID", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", @@ -694,6 +762,7 @@ "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_RESTRICTED", + "CHAT_SEND_INLINE_FORBIDDEN", "INLINE_RESULT_EXPIRED", "INPUT_USER_DEACTIVATED", "MEDIA_EMPTY", @@ -701,6 +770,8 @@ "PEER_ID_INVALID", "QUERY_ID_EMPTY", "RESULT_ID_EMPTY", + "SCHEDULE_DATE_TOO_LATE", + "SCHEDULE_TOO_MUCH", "USER_BANNED_IN_CHANNEL", "WEBPAGE_CURL_FAILED", "WEBPAGE_MEDIA_EMPTY", @@ -800,6 +871,7 @@ "PASSWORD_MISSING", "PASSWORD_TOO_FRESH_X", "SESSION_TOO_FRESH_X", + "SRP_ID_INVALID", "USER_ID_INVALID" ], "contacts.addContact": [ @@ -857,6 +929,7 @@ "MULTI_MEDIA_TOO_LONG", "PEER_ID_INVALID", "RANDOM_ID_EMPTY", + "SCHEDULE_DATE_TOO_LATE", "SCHEDULE_TOO_MUCH" ], "messages.toggleDialogPin": [ @@ -864,14 +937,6 @@ "PEER_ID_INVALID", "PINNED_DIALOGS_TOO_MUCH" ], - "messages.updatePinnedMessage": [ - "CHANNEL_PRIVATE", - "CHAT_ADMIN_REQUIRED", - "CHAT_NOT_MODIFIED", - "MESSAGE_ID_INVALID", - "PIN_RESTRICTED", - "USER_BANNED_IN_CHANNEL" - ], "users.getFullUser": [ "CHANNEL_PRIVATE", "INPUT_FETCH_FAIL", @@ -887,6 +952,7 @@ ], "messages.migrateChat": [ "CHANNELS_TOO_MUCH", + "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "PEER_ID_INVALID" ], @@ -903,6 +969,7 @@ "USER_ALREADY_PARTICIPANT", "USER_ID_INVALID", "USER_IS_BLOCKED", + "USER_NOT_MUTUAL_CONTACT", "USERS_TOO_MUCH", "YOU_BLOCKED_USER" ], @@ -927,7 +994,8 @@ "PEER_ID_INVALID" ], "phone.createGroupCall": [ - "CHAT_ADMIN_REQUIRED" + "CHAT_ADMIN_REQUIRED", + "SCHEDULE_DATE_INVALID" ], "messages.discardEncryption": [ "CHAT_ID_EMPTY", @@ -996,8 +1064,16 @@ "INPUT_USER_DEACTIVATED", "USERS_TOO_FEW" ], + "messages.setHistoryTTL": [ + "CHAT_NOT_MODIFIED", + "TTL_PERIOD_INVALID" + ], + "messages.getMessagesReadParticipants": [ + "CHAT_TOO_BIG" + ], "auth.recoverPassword": [ - "CODE_EMPTY" + "CODE_EMPTY", + "NEW_SETTINGS_INVALID" ], "account.confirmPhone": [ "CODE_HASH_INVALID", @@ -1066,7 +1142,8 @@ "DATA_INVALID", "ENCRYPTION_DECLINED", "ENCRYPTION_ID_INVALID", - "MSG_WAIT_FAILED" + "MSG_WAIT_FAILED", + "USER_IS_BLOCKED" ], "messages.sendEncryptedFile": [ "DATA_TOO_LONG", @@ -1082,6 +1159,13 @@ "DH_G_A_INVALID", "USER_ID_INVALID" ], + "account.sendVerifyEmailCode": [ + "EMAIL_INVALID" + ], + "account.verifyEmail": [ + "EMAIL_INVALID", + "EMAIL_VERIFY_EXPIRED" + ], "account.updatePasswordSettings": [ "EMAIL_UNCONFIRMED", "EMAIL_UNCONFIRMED_X", @@ -1092,8 +1176,16 @@ "SRP_ID_INVALID", "SRP_PASSWORD_CHANGED" ], - "account.verifyEmail": [ - "EMAIL_VERIFY_EXPIRED" + "messages.setChatTheme": [ + "EMOJI_INVALID", + "EMOJI_NOT_MODIFIED" + ], + "messages.getStickers": [ + "EMOTICON_EMPTY" + ], + "messages.getStickerSet": [ + "EMOTICON_STICKERPACK_MISSING", + "STICKERSET_INVALID" ], "auth.bindTempAuthKey": [ "ENCRYPTED_MESSAGE_INVALID", @@ -1120,15 +1212,6 @@ "FILE_PARTS_INVALID", "INPUT_FETCH_FAIL" ], - "photos.uploadProfilePhoto": [ - "FILE_PARTS_INVALID", - "IMAGE_PROCESS_FAILED", - "PHOTO_CROP_FILE_MISSING", - "PHOTO_CROP_SIZE_SMALL", - "PHOTO_EXT_INVALID", - "PHOTO_FILE_MISSING", - "VIDEO_FILE_INVALID" - ], "messages.updateDialogFilter": [ "FILTER_ID_INVALID", "FILTER_INCLUDE_EMPTY", @@ -1144,6 +1227,9 @@ "PHONE_NUMBER_INVALID", "PHONE_NUMBER_OCCUPIED" ], + "folders.deleteFolder": [ + "FOLDER_ID_EMPTY" + ], "folders.editPeerFolders": [ "FOLDER_ID_INVALID" ], @@ -1160,7 +1246,8 @@ "SEARCH_QUERY_EMPTY" ], "contacts.getLocated": [ - "GEO_POINT_INVALID" + "GEO_POINT_INVALID", + "USERPIC_UPLOAD_REQUIRED" ], "messages.saveGif": [ "GIF_ID_INVALID" @@ -1170,6 +1257,15 @@ "GRAPH_INVALID_RELOAD", "GRAPH_OUTDATED_RELOAD" ], + "phone.discardGroupCallRequest": [ + "GROUPCALL_ALREADY_DISCARDED" + ], + "phone.toggleGroupCallSettings": [ + "GROUPCALL_NOT_MODIFIED" + ], + "phone.joinGroupCall": [ + "GROUPCALL_SSRC_DUPLICATE_MUCH" + ], "account.resetAuthorization": [ "HASH_INVALID" ], @@ -1179,6 +1275,13 @@ "account.sendConfirmPhoneCode": [ "HASH_INVALID" ], + "messages.initHistoryImport": [ + "IMPORT_FILE_INVALID", + "IMPORT_FORMAT_UNRECOGNIZED" + ], + "messages.startHistoryImport": [ + "IMPORT_ID_INVALID" + ], "invokeWithTakeout": [ "INPUT_FETCH_FAIL" ], @@ -1219,6 +1322,10 @@ "upload.getWebFile": [ "LOCATION_INVALID" ], + "messages.receivedQueue": [ + "MAX_QTS_INVALID", + "MSG_WAIT_FAILED" + ], "channels.editLocation": [ "MEGAGROUP_REQUIRED" ], @@ -1277,6 +1384,10 @@ "METHOD_INVALID", "USER_BOT_INVALID" ], + "messages.searchGifs": [ + "METHOD_INVALID", + "SEARCH_QUERY_EMPTY" + ], "messages.getCommonChats": [ "MSG_ID_INVALID", "USER_ID_INVALID" @@ -1299,11 +1410,12 @@ "messages.readEncryptedHistory": [ "MSG_WAIT_FAILED" ], - "messages.receivedQueue": [ - "MSG_WAIT_FAILED" + "channels.convertToGigagroup": [ + "PARTICIPANTS_TOO_FEW" ], "auth.requestPasswordRecovery": [ - "PASSWORD_EMPTY" + "PASSWORD_EMPTY", + "PASSWORD_RECOVERY_NA" ], "account.getPasswordSettings": [ "PASSWORD_HASH_INVALID" @@ -1317,6 +1429,12 @@ "SRP_ID_INVALID", "SRP_PASSWORD_CHANGED" ], + "auth.checkRecoveryPassword": [ + "PASSWORD_RECOVERY_EXPIRED" + ], + "account.saveSecureValue": [ + "PASSWORD_REQUIRED" + ], "account.getNotifySettings": [ "PEER_ID_INVALID" ], @@ -1374,14 +1492,15 @@ "PHONE_CODE_HASH_EMPTY", "PHONE_NUMBER_INVALID" ], + "account.sendChangePhoneCode": [ + "PHONE_NUMBER_BANNED", + "PHONE_NUMBER_INVALID", + "PHONE_NUMBER_OCCUPIED" + ], "auth.checkPhone": [ "PHONE_NUMBER_BANNED", "PHONE_NUMBER_INVALID" ], - "account.sendChangePhoneCode": [ - "PHONE_NUMBER_INVALID", - "PHONE_NUMBER_OCCUPIED" - ], "account.sendVerifyPhoneCode": [ "PHONE_NUMBER_INVALID" ], @@ -1390,8 +1509,12 @@ ], "account.setPrivacy": [ "PRIVACY_KEY_INVALID", + "PRIVACY_TOO_LONG", "PRIVACY_VALUE_INVALID" ], + "account.getAuthorizationForm": [ + "PUBLIC_KEY_REQUIRED" + ], "bots.answerWebhookJSONQuery": [ "QUERY_ID_INVALID", "USER_BOT_INVALID" @@ -1403,22 +1526,28 @@ "QUERY_TOO_SHORT", "SEARCH_QUERY_EMPTY" ], + "account.declinePasswordReset": [ + "RESET_REQUEST_MISSING" + ], "upload.reuploadCdnFile": [ "RSA_DECRYPT_FAILED" ], - "messages.searchGifs": [ - "SEARCH_QUERY_EMPTY" - ], "messages.getDocumentByHash": [ "SHA256_HASH_INVALID" ], + "stickers.checkShortName": [ + "SHORT_NAME_INVALID", + "SHORT_NAME_OCCUPIED" + ], "messages.faveSticker": [ "STICKER_ID_INVALID" ], "messages.saveRecentSticker": [ "STICKER_ID_INVALID" ], - "messages.getStickerSet": [ + "stickers.setStickerSetThumb": [ + "STICKER_THUMB_PNG_NOPNG", + "STICKER_THUMB_TGS_NOTGS", "STICKERSET_INVALID" ], "messages.installStickerSet": [ @@ -1427,8 +1556,8 @@ "messages.uninstallStickerSet": [ "STICKERSET_INVALID" ], - "stickers.setStickerSetThumb": [ - "STICKERSET_INVALID" + "contacts.getSaved": [ + "TAKEOUT_REQUIRED" ], "account.uploadTheme": [ "THEME_FILE_INVALID" @@ -1437,6 +1566,15 @@ "THEME_FORMAT_INVALID", "THEME_INVALID" ], + "account.updateTheme": [ + "THEME_INVALID" + ], + "account.createTheme": [ + "THEME_MIME_INVALID" + ], + "stickers.suggestShortName": [ + "TITLE_INVALID" + ], "account.registerDevice": [ "TOKEN_INVALID", "WEBPUSH_AUTH_INVALID", @@ -1452,6 +1590,9 @@ "contacts.getTopPeers": [ "TYPES_EMPTY" ], + "channels.viewSponsoredMessage": [ + "UNKNOWN_ERROR" + ], "req_DH_params": [ "UNKNOWN_ERROR" ], @@ -1464,9 +1605,21 @@ "users.setSecureValueErrors": [ "USER_ID_INVALID" ], + "help.editUserInfo": [ + "USER_INVALID" + ], + "help.getSupportName": [ + "USER_INVALID" + ], + "help.getUserInfo": [ + "USER_INVALID" + ], "messages.checkHistoryImportPeer": [ "USER_NOT_MUTUAL_CONTACT" ], + "phone.editGroupCallParticipant": [ + "USER_VOLUME_INVALID" + ], "account.checkUsername": [ "USERNAME_INVALID" ], @@ -1476,8 +1629,18 @@ "USERNAME_OCCUPIED" ], "account.uploadWallPaper": [ + "WALLPAPER_FILE_INVALID", "WALLPAPER_MIME_INVALID" ], + "account.getWallPaper": [ + "WALLPAPER_INVALID" + ], + "account.installWallPaper": [ + "WALLPAPER_INVALID" + ], + "account.saveWallPaper": [ + "WALLPAPER_INVALID" + ], "messages.getWebPage": [ "WC_CONVERT_URL_INVALID" ] @@ -1787,7 +1950,8 @@ "FRESH_CHANGE_ADMINS_FORBIDDEN" ], "account.sendChangePhoneCode": [ - "FRESH_CHANGE_PHONE_FORBIDDEN" + "FRESH_CHANGE_PHONE_FORBIDDEN", + "PHONE_NUMBER_INVALID" ], "account.resetAuthorization": [ "FRESH_RESET_AUTHORISATION_FORBIDDEN" @@ -1795,12 +1959,28 @@ "auth.resetAuthorizations": [ "FRESH_RESET_AUTHORISATION_FORBIDDEN" ], + "account.changePhone": [ + "PHONE_NUMBER_INVALID" + ], + "auth.cancelCode": [ + "PHONE_NUMBER_INVALID" + ], "auth.checkPhone": [ "PHONE_NUMBER_INVALID" ], "auth.resendCode": [ + "PHONE_NUMBER_INVALID", "SEND_CODE_UNAVAILABLE" ], + "auth.signIn": [ + "PHONE_NUMBER_INVALID" + ], + "auth.signUp": [ + "PHONE_NUMBER_INVALID" + ], + "channels.setStickers": [ + "STICKERSET_OWNER_ANONYMOUS" + ], "contacts.getLocated": [ "USERPIC_PRIVACY_REQUIRED", "USERPIC_UPLOAD_REQUIRED" @@ -1947,6 +2127,7 @@ "CHAT_WRITE_FORBIDDEN", "RIGHT_FORBIDDEN", "USER_CHANNELS_TOO_MUCH", + "USER_NOT_MUTUAL_CONTACT", "USER_PRIVACY_RESTRICTED", "USER_RESTRICTED" ], @@ -1965,7 +2146,8 @@ "CHAT_SEND_MEDIA_FORBIDDEN", "CHAT_SEND_POLL_FORBIDDEN", "CHAT_SEND_STICKERS_FORBIDDEN", - "CHAT_WRITE_FORBIDDEN" + "CHAT_WRITE_FORBIDDEN", + "USER_IS_BLOCKED" ], "messages.sendInlineBotResult": [ "CHAT_SEND_GAME_FORBIDDEN", @@ -1980,7 +2162,8 @@ "CHAT_SEND_MEDIA_FORBIDDEN", "CHAT_SEND_POLL_FORBIDDEN", "CHAT_SEND_STICKERS_FORBIDDEN", - "CHAT_WRITE_FORBIDDEN" + "CHAT_WRITE_FORBIDDEN", + "USER_IS_BLOCKED" ], "channels.deleteChannel": [ "CHAT_WRITE_FORBIDDEN" @@ -2006,6 +2189,7 @@ "channels.inviteToChannel": [ "CHAT_WRITE_FORBIDDEN", "USER_CHANNELS_TOO_MUCH", + "USER_NOT_MUTUAL_CONTACT", "USER_PRIVACY_RESTRICTED" ], "channels.updateUsername": [ @@ -2029,10 +2213,12 @@ "CHAT_WRITE_FORBIDDEN" ], "messages.sendMessage": [ - "CHAT_WRITE_FORBIDDEN" + "CHAT_WRITE_FORBIDDEN", + "USER_IS_BLOCKED" ], "messages.setTyping": [ - "CHAT_WRITE_FORBIDDEN" + "CHAT_WRITE_FORBIDDEN", + "USER_IS_BLOCKED" ], "messages.updatePinnedMessage": [ "CHAT_WRITE_FORBIDDEN" @@ -2043,6 +2229,9 @@ "updates.getDifference": [ "CHAT_WRITE_FORBIDDEN" ], + "phone.inviteToGroupCall": [ + "GROUPCALL_FORBIDDEN" + ], "messages.getMessageEditData": [ "MESSAGE_AUTHOR_REQUIRED" ], @@ -2052,6 +2241,9 @@ "messages.deleteMessages": [ "MESSAGE_DELETE_FORBIDDEN" ], + "phone.joinGroupCallPresentation": [ + "PARTICIPANT_JOIN_MISSING" + ], "account.setContentSettings": [ "SENSITIVE_CHANGE_FORBIDDEN" ], @@ -2064,6 +2256,12 @@ "contacts.getSaved": [ "TAKEOUT_REQUIRED" ], + "bots.answerWebhookJSONQuery": [ + "USER_BOT_INVALID" + ], + "bots.sendCustomRequest": [ + "USER_BOT_INVALID" + ], "messages.setInlineBotResults": [ "USER_BOT_INVALID" ], @@ -2416,6 +2614,9 @@ "ACTIVE_USER_REQUIRED": [ "The method is only available to already activated users" ], + "ADMIN_RANK_EMOJI_NOT_ALLOWED": [ + "An admin rank cannot contain emojis" + ], "ADMIN_RANK_INVALID": [ "The specified admin rank is invalid." ], @@ -2443,6 +2644,9 @@ "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." ], @@ -2464,18 +2668,36 @@ "AUTH_RESTART": [ "Restart the authorization process" ], + "AUTH_TOKEN_ALREADY_ACCEPTED": [ + "The specified auth token was already accepted" + ], "AUTH_TOKEN_EXPIRED": [ "The authorization token has expired" ], + "AUTH_TOKEN_INVALID": [ + "The specified auth token is invalid" + ], "AUTH_TOKEN_INVALIDX": [ "The specified auth token is invalid" ], + "AUTOARCHIVE_NOT_AVAILABLE": [ + "The autoarchive setting is not available at this time: please check the value of the [autoarchive_setting_available field in client config »](https:\/\/core.telegram.org\/api\/config#client-configuration) before calling this method." + ], + "BANK_CARD_NUMBER_INVALID": [ + "The specified card number is invalid" + ], "BANNED_RIGHTS_INVALID": [ "You provided some invalid flags in the banned rights" ], "BOT_CHANNELS_NA": [ "Bots can't edit admin privileges" ], + "BOT_COMMAND_DESCRIPTION_INVALID": [ + "The specified command description is invalid" + ], + "BOT_COMMAND_INVALID": [ + "The specified command is invalid" + ], "BOT_DOMAIN_INVALID": [ "Bot domain invalid" ], @@ -2494,6 +2716,15 @@ "BOT_MISSING": [ "This method can only be run by a bot" ], + "BOT_ONESIDE_NOT_AVAIL": [ + "" + ], + "BOT_PAYMENTS_DISABLED": [ + "Please enable bot payments in botfather before calling this method." + ], + "BOT_POLLS_DISABLED": [ + "" + ], "BOT_RESPONSE_TIMEOUT": [ "A timeout occurred while fetching data from the bot" ], @@ -2504,7 +2735,7 @@ "There are too many bots in this chat\/channel" ], "BROADCAST_FORBIDDEN": [ - "" + "Participants of polls in channels should stay anonymous." ], "BROADCAST_ID_INVALID": [ "Broadcast ID invalid" @@ -2632,6 +2863,9 @@ "CHAT_TITLE_EMPTY": [ "No chat title provided" ], + "CHAT_TOO_BIG": [ + "" + ], "CHAT_WRITE_FORBIDDEN": [ "You can't write in this chat" ], @@ -2683,6 +2917,9 @@ "CONTACT_REQ_MISSING": [ "Missing contact request" ], + "CURRENCY_TOTAL_AMOUNT_INVALID": [ + "" + ], "DATA_INVALID": [ "Encrypted data invalid" ], @@ -2701,9 +2938,15 @@ "DH_G_A_INVALID": [ "g_a invalid" ], + "DOCUMENT_INVALID": [ + "The specified document is invalid" + ], "EMAIL_HASH_EXPIRED": [ "Email hash expired" ], + "EMAIL_INVALID": [ + "The specified email is invalid" + ], "EMAIL_UNCONFIRMED": [ "Email unconfirmed" ], @@ -2713,6 +2956,21 @@ "EMAIL_VERIFY_EXPIRED": [ "The verification email has expired" ], + "EMOJI_INVALID": [ + "The specified theme emoji is valid" + ], + "EMOJI_NOT_MODIFIED": [ + "The theme wasn't changed" + ], + "EMOTICON_EMPTY": [ + "The emoji is empty" + ], + "EMOTICON_INVALID": [ + "The specified emoji is invalid" + ], + "EMOTICON_STICKERPACK_MISSING": [ + "" + ], "ENCRYPTED_MESSAGE_INVALID": [ "Encrypted message invalid" ], @@ -2755,6 +3013,9 @@ "FIELD_NAME_INVALID": [ "The field with the name FIELD_NAME is invalid" ], + "FILE_CONTENT_TYPE_INVALID": [ + "File content-type is invalid" + ], "FILE_EMTPY": [ "An empty file was provided" ], @@ -2782,9 +3043,18 @@ "FILE_PARTS_INVALID": [ "The number of file parts is invalid" ], + "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 https:\/\/core.telegram.org\/api\/file_reference" ], + "FILE_REFERENCE_INVALID": [ + "The specified [file reference](https:\/\/core.telegram.org\/api\/file_reference) is invalid" + ], + "FILE_TITLE_EMPTY": [ + "An empty file title was specified" + ], "FILEREF_UPGRADE_NEEDED": [ "The client has to be updated in order to support [file references](https:\/\/core.telegram.org\/api\/file_reference)" ], @@ -2803,6 +3073,9 @@ "FLOOD_WAIT_666": [ "Spooky af m8" ], + "FOLDER_ID_EMPTY": [ + "An empty folder ID was specified" + ], "FOLDER_ID_INVALID": [ "Invalid folder ID" ], @@ -2810,7 +3083,7 @@ "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" @@ -2818,6 +3091,12 @@ "FROM_MESSAGE_BOT_DISABLED": [ "Bots can't use fromMessage min constructors" ], + "FROM_PEER_INVALID": [ + "The specified from_id is invalid" + ], + "GAME_BOT_INVALID": [ + "" + ], "GEO_POINT_INVALID": [ "Invalid geoposition provided" ], @@ -2836,6 +3115,18 @@ "GRAPH_OUTDATED_RELOAD": [ "The graph is outdated, please get a new async token using stats.getBroadcastStats" ], + "GROUPCALL_ALREADY_DISCARDED": [ + "The group call was already discarded" + ], + "GROUPCALL_FORBIDDEN": [ + "" + ], + "GROUPCALL_NOT_MODIFIED": [ + "Group call settings weren't modified" + ], + "GROUPCALL_SSRC_DUPLICATE_MUCH": [ + "" + ], "GROUPED_ID_OCCUPY_FAILED": [ "Internal error" ], @@ -2857,6 +3148,15 @@ "IMAGE_PROCESS_FAILED": [ "Failure while processing image" ], + "IMPORT_FILE_INVALID": [ + "The specified chat export file is invalid" + ], + "IMPORT_FORMAT_UNRECOGNIZED": [ + "The specified chat export file was exported from an unsupported chat app" + ], + "IMPORT_ID_INVALID": [ + "The specified import ID is invalid" + ], "INLINE_BOT_REQUIRED": [ "Only the inline bot can edit message" ], @@ -2929,6 +3229,9 @@ "INVITE_HASH_INVALID": [ "The invite hash is invalid" ], + "LANG_CODE_INVALID": [ + "The specified language code is invalid" + ], "LANG_PACK_INVALID": [ "The provided language pack is invalid" ], @@ -2950,6 +3253,9 @@ "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" ], @@ -2960,17 +3266,23 @@ "The provided media object is invalid" ], "MEDIA_GROUPED_INVALID": [ - "" + "You tried to send media of different types in an album." ], "MEDIA_INVALID": [ "Media invalid" ], + "MEDIA_NEW_INVALID": [ + "The new media is invalid" + ], "MEDIA_PREV_INVALID": [ "Previous media invalid" ], "MEGAGROUP_ID_INVALID": [ "Invalid supergroup ID" ], + "MEGAGROUP_PREHISTORY_HIDDEN": [ + "" + ], "MEGAGROUP_REQUIRED": [ "You can only use this method on a supergroup" ], @@ -3052,6 +3364,9 @@ "NEW_SETTINGS_INVALID": [ "The new settings are invalid" ], + "NEXT_OFFSET_INVALID": [ + "The specified offset is longer than 64 bytes." + ], "No workers running": [ "Internal error" ], @@ -3085,6 +3400,9 @@ "PARTICIPANT_ID_INVALID": [ "The specified participant ID is invalid" ], + "PARTICIPANT_JOIN_MISSING": [ + "" + ], "PARTICIPANT_VERSION_OUTDATED": [ "The other participant does not use an up to date telegram client with support for calls" ], @@ -3100,9 +3418,21 @@ "PASSWORD_MISSING": [ "You must enable 2FA in order to transfer ownership of a channel" ], + "PASSWORD_RECOVERY_EXPIRED": [ + "The recovery code has expired" + ], + "PASSWORD_RECOVERY_NA": [ + "" + ], + "PASSWORD_REQUIRED": [ + "" + ], "PASSWORD_TOO_FRESH_X": [ "The password was modified less than 24 hours ago, try again in X seconds" ], + "PAYMENT_PROVIDER_INVALID": [ + "The specified payment provider is invalid" + ], "PEER_FLOOD": [ "Too many requests" ], @@ -3220,12 +3550,18 @@ "PRIVACY_KEY_INVALID": [ "The privacy key is invalid" ], + "PRIVACY_TOO_LONG": [ + "" + ], "PRIVACY_VALUE_INVALID": [ "The specified privacy rule combination is invalid" ], "PTS_CHANGE_EMPTY": [ "No PTS change" ], + "PUBLIC_KEY_REQUIRED": [ + "A public key is required" + ], "QUERY_ID_EMPTY": [ "The query ID is empty" ], @@ -3241,6 +3577,12 @@ "QUIZ_CORRECT_ANSWERS_EMPTY": [ "No correct quiz answer was specified" ], + "QUIZ_CORRECT_ANSWERS_TOO_MUCH": [ + "" + ], + "QUIZ_MULTIPLE_INVALID": [ + "" + ], "RANDOM_ID_DUPLICATE": [ "You provided a random ID that was already used" ], @@ -3268,6 +3610,12 @@ "REPLY_MARKUP_INVALID": [ "The provided reply markup is invalid" ], + "REPLY_MARKUP_TOO_LONG": [ + "The specified reply_markup is too long" + ], + "RESET_REQUEST_MISSING": [ + "No password reset is in progress" + ], "RESULT_ID_DUPLICATE": [ "You provided a duplicate result ID" ], @@ -3307,6 +3655,9 @@ "SCHEDULE_DATE_TOO_LATE": [ "You can't schedule a message this far in the future" ], + "SCHEDULE_STATUS_PRIVATE": [ + "" + ], "SCHEDULE_TOO_MUCH": [ "There are too many scheduled messages" ], @@ -3317,7 +3668,7 @@ "Invalid duration provided" ], "SEND_CODE_UNAVAILABLE": [ - "" + "Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend)" ], "SEND_MESSAGE_MEDIA_INVALID": [ "Invalid media provided" @@ -3340,6 +3691,12 @@ "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" + ], "SHORTNAME_OCCUPY_FAILED": [ "An internal error occurred" ], @@ -3370,6 +3727,9 @@ "START_PARAM_TOO_LONG": [ "Start parameter is too long" ], + "STICKER_DOCUMENT_INVALID": [ + "The specified sticker document is invalid" + ], "STICKER_EMOJI_INVALID": [ "Sticker emoji invalid" ], @@ -3389,6 +3749,15 @@ "One of the specified stickers is not a valid PNG file" ], "STICKER_TGS_NODOC": [ + "Incorrect document type for sticker." + ], + "STICKER_TGS_NOTGS": [ + "" + ], + "STICKER_THUMB_PNG_NOPNG": [ + "" + ], + "STICKER_THUMB_TGS_NOTGS": [ "" ], "STICKERS_EMPTY": [ @@ -3397,6 +3766,9 @@ "STICKERSET_INVALID": [ "The provided sticker set is invalid" ], + "STICKERSET_OWNER_ANONYMOUS": [ + "" + ], "STORAGE_CHECK_FAILED": [ "Server storage check failed" ], @@ -3424,9 +3796,15 @@ "THEME_INVALID": [ "Invalid theme provided" ], + "THEME_MIME_INVALID": [ + "The theme's MIME type is invalid" + ], "Timeout": [ "Timeout while fetching data" ], + "TITLE_INVALID": [ + "The specified stickerpack title is invalid" + ], "TMP_PASSWORD_DISABLED": [ "The temporary password is disabled" ], @@ -3442,6 +3820,9 @@ "TTL_MEDIA_INVALID": [ "Invalid media Time To Live was provided" ], + "TTL_PERIOD_INVALID": [ + "The specified TTL period is invalid" + ], "TYPE_CONSTRUCTOR_INVALID": [ "The type constructor is invalid" ], @@ -3532,6 +3913,9 @@ "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" ], @@ -3559,6 +3943,9 @@ "venus": [ "delete" ], + "VIDEO_CONTENT_TYPE_INVALID": [ + "" + ], "VIDEO_FILE_INVALID": [ "The specified video file is invalid" ], @@ -3568,6 +3955,12 @@ "VOLUME_LOC_NOT_FOUND": [ "Internal error" ], + "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" ], @@ -3583,6 +3976,9 @@ "WEBDOCUMENT_SIZE_TOO_BIG": [ "Webdocument is too big!" ], + "WEBDOCUMENT_URL_INVALID": [ + "The specified webdocument URL is invalid" + ], "WEBPAGE_CURL_FAILED": [ "Failure while fetching the webpage with cURL" ], diff --git a/v2.json b/v2.json index f13d45c..9ae9742 100644 --- a/v2.json +++ b/v2.json @@ -83,6 +83,11 @@ } ], "channels.editAdmin": [ + { + "error_code": 400, + "error_message": "ADMIN_RANK_EMOJI_NOT_ALLOWED", + "error_description": "An admin rank cannot contain emojis" + }, { "error_code": 400, "error_message": "ADMIN_RANK_INVALID", @@ -133,6 +138,11 @@ "error_message": "CHAT_WRITE_FORBIDDEN", "error_description": "You can't write in this chat" }, + { + "error_code": 400, + "error_message": "FRESH_CHANGE_ADMINS_FORBIDDEN", + "error_description": "You were just elected admin, you can't add or modify other admins yet" + }, { "error_code": 406, "error_message": "FRESH_CHANGE_ADMINS_FORBIDDEN", @@ -178,6 +188,11 @@ "error_message": "USER_NOT_MUTUAL_CONTACT", "error_description": "The provided user is not a mutual contact" }, + { + "error_code": 403, + "error_message": "USER_NOT_MUTUAL_CONTACT", + "error_description": "The provided user is not a mutual contact" + }, { "error_code": 403, "error_message": "USER_PRIVACY_RESTRICTED", @@ -246,6 +261,53 @@ "error_description": "Timeout while fetching data" } ], + "photos.uploadProfilePhoto": [ + { + "error_code": 400, + "error_message": "ALBUM_PHOTOS_TOO_MANY", + "error_description": "Too many " + }, + { + "error_code": 400, + "error_message": "FILE_PARTS_INVALID", + "error_description": "The number of file parts is invalid" + }, + { + "error_code": 400, + "error_message": "IMAGE_PROCESS_FAILED", + "error_description": "Failure while processing image" + }, + { + "error_code": 400, + "error_message": "PHOTO_CROP_FILE_MISSING", + "error_description": "Photo crop file missing" + }, + { + "error_code": 400, + "error_message": "PHOTO_CROP_SIZE_SMALL", + "error_description": "Photo is too small" + }, + { + "error_code": 400, + "error_message": "PHOTO_EXT_INVALID", + "error_description": "The extension of the photo is invalid" + }, + { + "error_code": 400, + "error_message": "PHOTO_FILE_MISSING", + "error_description": "Profile photo file missing" + }, + { + "error_code": -503, + "error_message": "Timeout", + "error_description": "Timeout while fetching data" + }, + { + "error_code": 400, + "error_message": "VIDEO_FILE_INVALID", + "error_description": "The specified video file is invalid" + } + ], "account.updateStatus": [ { "error_code": -3002, @@ -971,6 +1033,11 @@ "error_message": "RANDOM_ID_INVALID", "error_description": "A provided random ID is invalid" }, + { + "error_code": 400, + "error_message": "SCHEDULE_DATE_TOO_LATE", + "error_description": "You can't schedule a message this far in the future" + }, { "error_code": 400, "error_message": "SCHEDULE_TOO_MUCH", @@ -1001,6 +1068,11 @@ "error_message": "USER_IS_BLOCKED", "error_description": "You were blocked by this user" }, + { + "error_code": 403, + "error_message": "USER_IS_BLOCKED", + "error_description": "You were blocked by this user" + }, { "error_code": 400, "error_message": "USER_IS_BOT", @@ -1539,11 +1611,21 @@ "error_message": "PINNED_DIALOGS_TOO_MUCH", "error_description": "Too many pinned dialogs" }, + { + "error_code": 400, + "error_message": "POLL_OPTION_INVALID", + "error_description": "Invalid poll option provided" + }, { "error_code": 400, "error_message": "REPLY_MARKUP_INVALID", "error_description": "The provided reply markup is invalid" }, + { + "error_code": 400, + "error_message": "REPLY_MARKUP_TOO_LONG", + "error_description": "The specified reply_markup is too long" + }, { "error_code": 400, "error_message": "SCHEDULE_BOT_NOT_ALLOWED", @@ -1554,6 +1636,11 @@ "error_message": "SCHEDULE_DATE_TOO_LATE", "error_description": "You can't schedule a message this far in the future" }, + { + "error_code": 400, + "error_message": "SCHEDULE_STATUS_PRIVATE", + "error_description": "" + }, { "error_code": 400, "error_message": "SCHEDULE_TOO_MUCH", @@ -1579,6 +1666,11 @@ "error_message": "USER_IS_BLOCKED", "error_description": "You were blocked by this user" }, + { + "error_code": 403, + "error_message": "USER_IS_BLOCKED", + "error_description": "You were blocked by this user" + }, { "error_code": 400, "error_message": "USER_IS_BOT", @@ -2065,6 +2157,11 @@ "error_message": "ARTICLE_TITLE_EMPTY", "error_description": "The title of the article is empty" }, + { + "error_code": 400, + "error_message": "AUDIO_CONTENT_URL_EMPTY", + "error_description": "The remote URL specified in the content field is empty" + }, { "error_code": 400, "error_message": "AUDIO_TITLE_EMPTY", @@ -2085,6 +2182,21 @@ "error_message": "BUTTON_URL_INVALID", "error_description": "Button URL invalid" }, + { + "error_code": 400, + "error_message": "DOCUMENT_INVALID", + "error_description": "The specified document is invalid" + }, + { + "error_code": 400, + "error_message": "FILE_CONTENT_TYPE_INVALID", + "error_description": "File content-type is invalid" + }, + { + "error_code": 400, + "error_message": "FILE_TITLE_EMPTY", + "error_description": "An empty file title was specified" + }, { "error_code": 400, "error_message": "GIF_CONTENT_TYPE_INVALID", @@ -2100,6 +2212,11 @@ "error_message": "MESSAGE_TOO_LONG", "error_description": "The provided message is too long" }, + { + "error_code": 400, + "error_message": "NEXT_OFFSET_INVALID", + "error_description": "The specified offset is longer than 64 bytes." + }, { "error_code": 400, "error_message": "PHOTO_CONTENT_TYPE_INVALID", @@ -2160,6 +2277,16 @@ "error_message": "START_PARAM_INVALID", "error_description": "Start parameter invalid" }, + { + "error_code": 400, + "error_message": "STICKER_DOCUMENT_INVALID", + "error_description": "The specified sticker document is invalid" + }, + { + "error_code": 400, + "error_message": "USER_BOT_INVALID", + "error_description": "This method can only be called by a bot" + }, { "error_code": 403, "error_message": "USER_BOT_INVALID", @@ -2184,6 +2311,11 @@ "error_code": 400, "error_message": "WEBDOCUMENT_SIZE_TOO_BIG", "error_description": "Webdocument is too big!" + }, + { + "error_code": 400, + "error_message": "WEBDOCUMENT_URL_INVALID", + "error_description": "The specified webdocument URL is invalid" } ], "auth.importAuthorization": [ @@ -2619,6 +2751,11 @@ "error_message": "USER_NOT_MUTUAL_CONTACT", "error_description": "The provided user is not a mutual contact" }, + { + "error_code": 403, + "error_message": "USER_NOT_MUTUAL_CONTACT", + "error_description": "The provided user is not a mutual contact" + }, { "error_code": 403, "error_message": "USER_PRIVACY_RESTRICTED", @@ -2927,7 +3064,12 @@ { "error_code": 400, "error_message": "MEDIA_GROUPED_INVALID", - "error_description": "" + "error_description": "You tried to send media of different types in an album." + }, + { + "error_code": 400, + "error_message": "MEDIA_NEW_INVALID", + "error_description": "The new media is invalid" }, { "error_code": 400, @@ -3107,6 +3249,11 @@ "error_message": "CHAT_ADMIN_REQUIRED", "error_description": "You must be an admin in this chat to do this" }, + { + "error_code": 400, + "error_message": "FROM_PEER_INVALID", + "error_description": "The specified from_id is invalid" + }, { "error_code": 400, "error_message": "INPUT_FILTER_INVALID", @@ -3154,6 +3301,16 @@ "error_message": "AUTH_KEY_DUPLICATED", "error_description": "An auth key with the same ID was already generated" }, + { + "error_code": 400, + "error_message": "BOT_PAYMENTS_DISABLED", + "error_description": "Please enable bot payments in botfather before calling this method." + }, + { + "error_code": 400, + "error_message": "BOT_POLLS_DISABLED", + "error_description": "" + }, { "error_code": 400, "error_message": "BROADCAST_PUBLIC_VOTERS_FORBIDDEN", @@ -3219,6 +3376,16 @@ "error_message": "CHAT_WRITE_FORBIDDEN", "error_description": "You can't write in this chat" }, + { + "error_code": 400, + "error_message": "CURRENCY_TOTAL_AMOUNT_INVALID", + "error_description": "" + }, + { + "error_code": 400, + "error_message": "EMOTICON_INVALID", + "error_description": "The specified emoji is invalid" + }, { "error_code": 400, "error_message": "EXTERNAL_URL_INVALID", @@ -3234,6 +3401,21 @@ "error_message": "FILE_PARTS_INVALID", "error_description": "The number of file parts is invalid" }, + { + "error_code": 400, + "error_message": "FILE_REFERENCE_EMPTY", + "error_description": "An empty [file reference](https:\/\/core.telegram.org\/api\/file_reference) was specified" + }, + { + "error_code": 400, + "error_message": "FILE_REFERENCE_EXPIRED", + "error_description": "File reference expired, it must be refetched as described in https:\/\/core.telegram.org\/api\/file_reference" + }, + { + "error_code": 400, + "error_message": "GAME_BOT_INVALID", + "error_description": "" + }, { "error_code": 400, "error_message": "IMAGE_PROCESS_FAILED", @@ -3279,6 +3461,11 @@ "error_message": "MSG_ID_INVALID", "error_description": "Invalid message ID provided" }, + { + "error_code": 400, + "error_message": "PAYMENT_PROVIDER_INVALID", + "error_description": "The specified payment provider is invalid" + }, { "error_code": 400, "error_message": "PEER_ID_INVALID", @@ -3334,6 +3521,16 @@ "error_message": "QUIZ_CORRECT_ANSWERS_EMPTY", "error_description": "No correct quiz answer was specified" }, + { + "error_code": 400, + "error_message": "QUIZ_CORRECT_ANSWERS_TOO_MUCH", + "error_description": "" + }, + { + "error_code": 400, + "error_message": "QUIZ_MULTIPLE_INVALID", + "error_description": "" + }, { "error_code": 400, "error_message": "REPLY_MARKUP_BUY_EMPTY", @@ -3349,6 +3546,11 @@ "error_message": "SCHEDULE_BOT_NOT_ALLOWED", "error_description": "Bots cannot schedule messages" }, + { + "error_code": 400, + "error_message": "SCHEDULE_DATE_TOO_LATE", + "error_description": "You can't schedule a message this far in the future" + }, { "error_code": 400, "error_message": "SCHEDULE_TOO_MUCH", @@ -3379,11 +3581,21 @@ "error_message": "USER_IS_BLOCKED", "error_description": "You were blocked by this user" }, + { + "error_code": 403, + "error_message": "USER_IS_BLOCKED", + "error_description": "You were blocked by this user" + }, { "error_code": 400, "error_message": "USER_IS_BOT", "error_description": "Bots can't send messages to other bots" }, + { + "error_code": 400, + "error_message": "VIDEO_CONTENT_TYPE_INVALID", + "error_description": "" + }, { "error_code": 400, "error_message": "WEBPAGE_CURL_FAILED", @@ -3446,6 +3658,11 @@ "error_message": "RANDOM_ID_EMPTY", "error_description": "Random ID empty" }, + { + "error_code": 400, + "error_message": "SCHEDULE_DATE_TOO_LATE", + "error_description": "You can't schedule a message this far in the future" + }, { "error_code": 400, "error_message": "SCHEDULE_TOO_MUCH", @@ -3570,6 +3787,11 @@ "error_message": "USER_IS_BLOCKED", "error_description": "You were blocked by this user" }, + { + "error_code": 403, + "error_message": "USER_IS_BLOCKED", + "error_description": "You were blocked by this user" + }, { "error_code": 400, "error_message": "USER_IS_BOT", @@ -3629,6 +3851,11 @@ "error_message": "AUTH_KEY_DUPLICATED", "error_description": "An auth key with the same ID was already generated" }, + { + "error_code": 400, + "error_message": "BOT_ONESIDE_NOT_AVAIL", + "error_description": "" + }, { "error_code": 400, "error_message": "CHANNEL_PRIVATE", @@ -3947,11 +4174,21 @@ } ], "auth.importLoginToken": [ + { + "error_code": 400, + "error_message": "AUTH_TOKEN_ALREADY_ACCEPTED", + "error_description": "The specified auth token was already accepted" + }, { "error_code": 400, "error_message": "AUTH_TOKEN_EXPIRED", "error_description": "The authorization token has expired" }, + { + "error_code": 400, + "error_message": "AUTH_TOKEN_INVALID", + "error_description": "The specified auth token is invalid" + }, { "error_code": 400, "error_message": "AUTH_TOKEN_INVALIDX", @@ -3965,6 +4202,20 @@ "error_description": "The specified auth token is invalid" } ], + "account.setGlobalPrivacySettings": [ + { + "error_code": 400, + "error_message": "AUTOARCHIVE_NOT_AVAILABLE", + "error_description": "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." + } + ], + "payments.getBankCardData": [ + { + "error_code": 400, + "error_message": "BANK_CARD_NUMBER_INVALID", + "error_description": "The specified card number is invalid" + } + ], "messages.editChatDefaultBannedRights": [ { "error_code": 400, @@ -3997,6 +4248,23 @@ "error_description": "Invalid until date provided" } ], + "bots.setBotCommands": [ + { + "error_code": 400, + "error_message": "BOT_COMMAND_DESCRIPTION_INVALID", + "error_description": "The specified command description is invalid" + }, + { + "error_code": 400, + "error_message": "BOT_COMMAND_INVALID", + "error_description": "The specified command is invalid" + }, + { + "error_code": 400, + "error_message": "LANG_CODE_INVALID", + "error_description": "The specified language code is invalid" + } + ], "messages.getInlineBotResults": [ { "error_code": 400, @@ -4045,6 +4313,16 @@ "error_message": "BOT_MISSING", "error_description": "This method can only be run by a bot" }, + { + "error_code": 400, + "error_message": "STICKER_PNG_NOPNG", + "error_description": "One of the specified stickers is not a valid PNG file" + }, + { + "error_code": 400, + "error_message": "STICKER_TGS_NOTGS", + "error_description": "" + }, { "error_code": 400, "error_message": "STICKERSET_INVALID", @@ -4117,6 +4395,21 @@ { "error_code": 400, "error_message": "STICKER_TGS_NODOC", + "error_description": "Incorrect document type for sticker." + }, + { + "error_code": 400, + "error_message": "STICKER_TGS_NOTGS", + "error_description": "" + }, + { + "error_code": 400, + "error_message": "STICKER_THUMB_PNG_NOPNG", + "error_description": "" + }, + { + "error_code": 400, + "error_message": "STICKER_THUMB_TGS_NOTGS", "error_description": "" }, { @@ -4168,7 +4461,7 @@ { "error_code": 403, "error_message": "BROADCAST_FORBIDDEN", - "error_description": "" + "error_description": "Participants of polls in channels should stay anonymous." }, { "error_code": 400, @@ -4206,6 +4499,11 @@ "error_code": 400, "error_message": "MEGAGROUP_ID_INVALID", "error_description": "Invalid supergroup ID" + }, + { + "error_code": 400, + "error_message": "MEGAGROUP_PREHISTORY_HIDDEN", + "error_description": "" } ], "stats.getBroadcastStats": [ @@ -4328,6 +4626,11 @@ "error_message": "USER_ID_INVALID", "error_description": "The provided user ID is invalid" }, + { + "error_code": 400, + "error_message": "USER_IS_BLOCKED", + "error_description": "You were blocked by this user" + }, { "error_code": 403, "error_message": "USER_IS_BLOCKED", @@ -4596,6 +4899,11 @@ "error_message": "CHAT_WRITE_FORBIDDEN", "error_description": "You can't write in this chat" }, + { + "error_code": 400, + "error_message": "FILE_REFERENCE_INVALID", + "error_description": "The specified [file reference](https:\/\/core.telegram.org\/api\/file_reference) is invalid" + }, { "error_code": 400, "error_message": "PHOTO_CROP_SIZE_SMALL", @@ -4752,6 +5060,11 @@ "error_code": 400, "error_message": "PARTICIPANTS_TOO_FEW", "error_description": "Not enough participants" + }, + { + "error_code": 406, + "error_message": "STICKERSET_OWNER_ANONYMOUS", + "error_description": "" } ], "channels.toggleInvites": [ @@ -4932,6 +5245,11 @@ "error_message": "CHAT_SEND_GIFS_FORBIDDEN", "error_description": "You can't send gifs in this chat" }, + { + "error_code": 400, + "error_message": "CHAT_SEND_INLINE_FORBIDDEN", + "error_description": "You can't send inline messages in this group" + }, { "error_code": 403, "error_message": "CHAT_SEND_INLINE_FORBIDDEN", @@ -4987,6 +5305,16 @@ "error_message": "RESULT_ID_EMPTY", "error_description": "Result ID empty" }, + { + "error_code": 400, + "error_message": "SCHEDULE_DATE_TOO_LATE", + "error_description": "You can't schedule a message this far in the future" + }, + { + "error_code": 400, + "error_message": "SCHEDULE_TOO_MUCH", + "error_description": "There are too many scheduled messages" + }, { "error_code": 420, "error_message": "SLOWMODE_WAIT_X", @@ -5151,6 +5479,11 @@ "error_message": "SESSION_TOO_FRESH_X", "error_description": "This session was created less than 24 hours ago, try again in X seconds" }, + { + "error_code": 400, + "error_message": "SRP_ID_INVALID", + "error_description": "Invalid SRP ID provided" + }, { "error_code": 400, "error_message": "USER_ID_INVALID", @@ -5275,6 +5608,11 @@ "error_message": "CHANNELS_TOO_MUCH", "error_description": "You have joined too many channels\/supergroups" }, + { + "error_code": 400, + "error_message": "CHAT_ADMIN_REQUIRED", + "error_description": "You must be an admin in this chat to do this" + }, { "error_code": 403, "error_message": "CHAT_ADMIN_REQUIRED", @@ -5349,6 +5687,11 @@ "error_message": "USER_IS_BLOCKED", "error_description": "You were blocked by this user" }, + { + "error_code": 400, + "error_message": "USER_NOT_MUTUAL_CONTACT", + "error_description": "The provided user is not a mutual contact" + }, { "error_code": 403, "error_message": "USER_NOT_MUTUAL_CONTACT", @@ -5448,6 +5791,11 @@ "error_code": 400, "error_message": "CHAT_ADMIN_REQUIRED", "error_description": "You must be an admin in this chat to do this" + }, + { + "error_code": 400, + "error_message": "SCHEDULE_DATE_INVALID", + "error_description": "Invalid schedule date provided" } ], "messages.discardEncryption": [ @@ -5701,11 +6049,35 @@ "error_description": "Not enough users (to create a chat, for example)" } ], + "messages.setHistoryTTL": [ + { + "error_code": 400, + "error_message": "CHAT_NOT_MODIFIED", + "error_description": "The pinned message wasn't modified" + }, + { + "error_code": 400, + "error_message": "TTL_PERIOD_INVALID", + "error_description": "The specified TTL period is invalid" + } + ], + "messages.getMessagesReadParticipants": [ + { + "error_code": 400, + "error_message": "CHAT_TOO_BIG", + "error_description": "" + } + ], "auth.recoverPassword": [ { "error_code": 400, "error_message": "CODE_EMPTY", "error_description": "The provided code is empty" + }, + { + "error_code": 400, + "error_message": "NEW_SETTINGS_INVALID", + "error_description": "The new settings are invalid" } ], "account.confirmPhone": [ @@ -5826,6 +6198,11 @@ "error_message": "USER_DELETED", "error_description": "You can't send this secret message because the other participant deleted their account." }, + { + "error_code": 400, + "error_message": "USER_IS_BLOCKED", + "error_description": "You were blocked by this user" + }, { "error_code": 403, "error_message": "USER_IS_BLOCKED", @@ -5871,6 +6248,25 @@ "error_description": "The provided user ID is invalid" } ], + "account.sendVerifyEmailCode": [ + { + "error_code": 400, + "error_message": "EMAIL_INVALID", + "error_description": "The specified email is invalid" + } + ], + "account.verifyEmail": [ + { + "error_code": 400, + "error_message": "EMAIL_INVALID", + "error_description": "The specified email is invalid" + }, + { + "error_code": 400, + "error_message": "EMAIL_VERIFY_EXPIRED", + "error_description": "The verification email has expired" + } + ], "account.updatePasswordSettings": [ { "error_code": 400, @@ -5918,11 +6314,35 @@ "error_description": "Password has changed" } ], - "account.verifyEmail": [ + "messages.setChatTheme": [ { "error_code": 400, - "error_message": "EMAIL_VERIFY_EXPIRED", - "error_description": "The verification email has expired" + "error_message": "EMOJI_INVALID", + "error_description": "The specified theme emoji is valid" + }, + { + "error_code": 400, + "error_message": "EMOJI_NOT_MODIFIED", + "error_description": "The theme wasn't changed" + } + ], + "messages.getStickers": [ + { + "error_code": 400, + "error_message": "EMOTICON_EMPTY", + "error_description": "The emoji is empty" + } + ], + "messages.getStickerSet": [ + { + "error_code": 400, + "error_message": "EMOTICON_STICKERPACK_MISSING", + "error_description": "" + }, + { + "error_code": 400, + "error_message": "STICKERSET_INVALID", + "error_description": "The provided sticker set is invalid" } ], "auth.bindTempAuthKey": [ @@ -5988,48 +6408,6 @@ "error_description": "Provided card is invalid" } ], - "photos.uploadProfilePhoto": [ - { - "error_code": 400, - "error_message": "FILE_PARTS_INVALID", - "error_description": "The number of file parts is invalid" - }, - { - "error_code": 400, - "error_message": "IMAGE_PROCESS_FAILED", - "error_description": "Failure while processing image" - }, - { - "error_code": 400, - "error_message": "PHOTO_CROP_FILE_MISSING", - "error_description": "Photo crop file missing" - }, - { - "error_code": 400, - "error_message": "PHOTO_CROP_SIZE_SMALL", - "error_description": "Photo is too small" - }, - { - "error_code": 400, - "error_message": "PHOTO_EXT_INVALID", - "error_description": "The extension of the photo is invalid" - }, - { - "error_code": 400, - "error_message": "PHOTO_FILE_MISSING", - "error_description": "Profile photo file missing" - }, - { - "error_code": -503, - "error_message": "Timeout", - "error_description": "Timeout while fetching data" - }, - { - "error_code": 400, - "error_message": "VIDEO_FILE_INVALID", - "error_description": "The specified video file is invalid" - } - ], "messages.updateDialogFilter": [ { "error_code": 400, @@ -6083,12 +6461,24 @@ "error_message": "PHONE_NUMBER_INVALID", "error_description": "The phone number is invalid" }, + { + "error_code": 406, + "error_message": "PHONE_NUMBER_INVALID", + "error_description": "The phone number is invalid" + }, { "error_code": 400, "error_message": "PHONE_NUMBER_OCCUPIED", "error_description": "The phone number is already in use" } ], + "folders.deleteFolder": [ + { + "error_code": 400, + "error_message": "FOLDER_ID_EMPTY", + "error_description": "An empty folder ID was specified" + } + ], "folders.editPeerFolders": [ { "error_code": 400, @@ -6119,10 +6509,20 @@ { "error_code": 406, "error_message": "FRESH_CHANGE_PHONE_FORBIDDEN", - "error_description": "" + "error_description": "You can't change phone number right after logging in, please wait at least 24 hours." }, { "error_code": 400, + "error_message": "PHONE_NUMBER_BANNED", + "error_description": "The provided phone number is banned from telegram" + }, + { + "error_code": 400, + "error_message": "PHONE_NUMBER_INVALID", + "error_description": "The phone number is invalid" + }, + { + "error_code": 406, "error_message": "PHONE_NUMBER_INVALID", "error_description": "The phone number is invalid" }, @@ -6172,6 +6572,11 @@ "error_message": "USERPIC_PRIVACY_REQUIRED", "error_description": "You need to disable privacy settings for your profile picture in order to make your geolocation public." }, + { + "error_code": 400, + "error_message": "USERPIC_UPLOAD_REQUIRED", + "error_description": "You must have a profile picture to publish your geolocation" + }, { "error_code": 406, "error_message": "USERPIC_UPLOAD_REQUIRED", @@ -6207,6 +6612,34 @@ "error_description": "Timeout while fetching data" } ], + "phone.discardGroupCallRequest": [ + { + "error_code": 400, + "error_message": "GROUPCALL_ALREADY_DISCARDED", + "error_description": "The group call was already discarded" + } + ], + "phone.inviteToGroupCall": [ + { + "error_code": 403, + "error_message": "GROUPCALL_FORBIDDEN", + "error_description": "" + } + ], + "phone.toggleGroupCallSettings": [ + { + "error_code": 400, + "error_message": "GROUPCALL_NOT_MODIFIED", + "error_description": "Group call settings weren't modified" + } + ], + "phone.joinGroupCall": [ + { + "error_code": 400, + "error_message": "GROUPCALL_SSRC_DUPLICATE_MUCH", + "error_description": "" + } + ], "account.resetWebAuthorization": [ { "error_code": 400, @@ -6221,6 +6654,25 @@ "error_description": "The provided hash is invalid" } ], + "messages.initHistoryImport": [ + { + "error_code": 400, + "error_message": "IMPORT_FILE_INVALID", + "error_description": "The specified chat export file is invalid" + }, + { + "error_code": 400, + "error_message": "IMPORT_FORMAT_UNRECOGNIZED", + "error_description": "The specified chat export file was exported from an unsupported chat app" + } + ], + "messages.startHistoryImport": [ + { + "error_code": 400, + "error_message": "IMPORT_ID_INVALID", + "error_description": "The specified import ID is invalid" + } + ], "invokeWithTakeout": [ { "error_code": 400, @@ -6311,6 +6763,18 @@ "error_description": "The provided location is invalid" } ], + "messages.receivedQueue": [ + { + "error_code": 400, + "error_message": "MAX_QTS_INVALID", + "error_description": "The specified max_qts is invalid" + }, + { + "error_code": 400, + "error_message": "MSG_WAIT_FAILED", + "error_description": "A waiting call returned an error" + } + ], "channels.editLocation": [ { "error_code": 400, @@ -6478,6 +6942,23 @@ "error_code": 400, "error_message": "USER_BOT_INVALID", "error_description": "This method can only be called by a bot" + }, + { + "error_code": 403, + "error_message": "USER_BOT_INVALID", + "error_description": "This method can only be called by a bot" + } + ], + "messages.searchGifs": [ + { + "error_code": 400, + "error_message": "METHOD_INVALID", + "error_description": "The specified method is invalid" + }, + { + "error_code": 400, + "error_message": "SEARCH_QUERY_EMPTY", + "error_description": "The search query is empty" } ], "messages.getCommonChats": [ @@ -6535,13 +7016,6 @@ "error_description": "A waiting call returned an error" } ], - "messages.receivedQueue": [ - { - "error_code": 400, - "error_message": "MSG_WAIT_FAILED", - "error_description": "A waiting call returned an error" - } - ], "account.getPrivacy": [ { "error_code": -500, @@ -6559,11 +7033,30 @@ "error_description": "2FA is enabled, use a password to login" } ], + "phone.joinGroupCallPresentation": [ + { + "error_code": 403, + "error_message": "PARTICIPANT_JOIN_MISSING", + "error_description": "" + } + ], + "channels.convertToGigagroup": [ + { + "error_code": 400, + "error_message": "PARTICIPANTS_TOO_FEW", + "error_description": "Not enough participants" + } + ], "auth.requestPasswordRecovery": [ { "error_code": 400, "error_message": "PASSWORD_EMPTY", "error_description": "The provided password is empty" + }, + { + "error_code": 400, + "error_message": "PASSWORD_RECOVERY_NA", + "error_description": "" } ], "account.getPasswordSettings": [ @@ -6607,6 +7100,20 @@ "error_description": "Timeout while fetching data" } ], + "auth.checkRecoveryPassword": [ + { + "error_code": 400, + "error_message": "PASSWORD_RECOVERY_EXPIRED", + "error_description": "The recovery code has expired" + } + ], + "account.saveSecureValue": [ + { + "error_code": 400, + "error_message": "PASSWORD_REQUIRED", + "error_description": "" + } + ], "account.getNotifySettings": [ { "error_code": 400, @@ -6693,6 +7200,11 @@ "error_message": "PHONE_NUMBER_INVALID", "error_description": "The phone number is invalid" }, + { + "error_code": 406, + "error_message": "PHONE_NUMBER_INVALID", + "error_description": "The phone number is invalid" + }, { "error_code": 400, "error_message": "PHONE_NUMBER_OCCUPIED", @@ -6737,6 +7249,11 @@ "error_message": "PHONE_NUMBER_INVALID", "error_description": "The phone number is invalid" }, + { + "error_code": 406, + "error_message": "PHONE_NUMBER_INVALID", + "error_description": "The phone number is invalid" + }, { "error_code": 400, "error_message": "PHONE_NUMBER_UNOCCUPIED", @@ -6758,6 +7275,11 @@ "error_code": 400, "error_message": "PHONE_NUMBER_INVALID", "error_description": "The phone number is invalid" + }, + { + "error_code": 406, + "error_message": "PHONE_NUMBER_INVALID", + "error_description": "The phone number is invalid" } ], "auth.resendCode": [ @@ -6776,10 +7298,15 @@ "error_message": "PHONE_NUMBER_INVALID", "error_description": "The phone number is invalid" }, + { + "error_code": 406, + "error_message": "PHONE_NUMBER_INVALID", + "error_description": "The phone number is invalid" + }, { "error_code": 406, "error_message": "SEND_CODE_UNAVAILABLE", - "error_description": "" + "error_description": "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)" } ], "account.sendVerifyPhoneCode": [ @@ -6795,6 +7322,11 @@ "error_message": "PRIVACY_KEY_INVALID", "error_description": "The privacy key is invalid" }, + { + "error_code": 400, + "error_message": "PRIVACY_TOO_LONG", + "error_description": "" + }, { "error_code": 400, "error_message": "PRIVACY_VALUE_INVALID", @@ -6806,6 +7338,13 @@ "error_description": "2FA is enabled, use a password to login" } ], + "account.getAuthorizationForm": [ + { + "error_code": 400, + "error_message": "PUBLIC_KEY_REQUIRED", + "error_description": "A public key is required" + } + ], "bots.answerWebhookJSONQuery": [ { "error_code": 400, @@ -6816,6 +7355,11 @@ "error_code": 400, "error_message": "USER_BOT_INVALID", "error_description": "This method can only be called by a bot" + }, + { + "error_code": 403, + "error_message": "USER_BOT_INVALID", + "error_description": "This method can only be called by a bot" } ], "messages.setBotShippingResults": [ @@ -6825,6 +7369,13 @@ "error_description": "The query ID is invalid" } ], + "account.declinePasswordReset": [ + { + "error_code": 400, + "error_message": "RESET_REQUEST_MISSING", + "error_description": "No password reset is in progress" + } + ], "upload.reuploadCdnFile": [ { "error_code": 400, @@ -6832,13 +7383,6 @@ "error_description": "Internal RSA decryption failed" } ], - "messages.searchGifs": [ - { - "error_code": 400, - "error_message": "SEARCH_QUERY_EMPTY", - "error_description": "The search query is empty" - } - ], "account.setContentSettings": [ { "error_code": 403, @@ -6867,6 +7411,18 @@ "error_description": "The provided SHA256 hash is invalid" } ], + "stickers.checkShortName": [ + { + "error_code": 400, + "error_message": "SHORT_NAME_INVALID", + "error_description": "The specified short name is invalid" + }, + { + "error_code": 400, + "error_message": "SHORT_NAME_OCCUPIED", + "error_description": "The specified short name is already in use" + } + ], "messages.faveSticker": [ { "error_code": 400, @@ -6881,7 +7437,17 @@ "error_description": "The provided sticker ID is invalid" } ], - "messages.getStickerSet": [ + "stickers.setStickerSetThumb": [ + { + "error_code": 400, + "error_message": "STICKER_THUMB_PNG_NOPNG", + "error_description": "" + }, + { + "error_code": 400, + "error_message": "STICKER_THUMB_TGS_NOTGS", + "error_description": "" + }, { "error_code": 400, "error_message": "STICKERSET_INVALID", @@ -6902,13 +7468,6 @@ "error_description": "The provided sticker set is invalid" } ], - "stickers.setStickerSetThumb": [ - { - "error_code": 400, - "error_message": "STICKERSET_INVALID", - "error_description": "The provided sticker set is invalid" - } - ], "account.initTakeoutSession": [ { "error_code": 420, @@ -6931,6 +7490,11 @@ } ], "contacts.getSaved": [ + { + "error_code": 400, + "error_message": "TAKEOUT_REQUIRED", + "error_description": "A takeout session has to be initialized, first" + }, { "error_code": 403, "error_message": "TAKEOUT_REQUIRED", @@ -6956,6 +7520,20 @@ "error_description": "Invalid theme provided" } ], + "account.updateTheme": [ + { + "error_code": 400, + "error_message": "THEME_INVALID", + "error_description": "Invalid theme provided" + } + ], + "account.createTheme": [ + { + "error_code": 400, + "error_message": "THEME_MIME_INVALID", + "error_description": "The theme's MIME type is invalid" + } + ], "contacts.deleteContacts": [ { "error_code": -503, @@ -6963,6 +7541,13 @@ "error_description": "Timeout while fetching data" } ], + "stickers.suggestShortName": [ + { + "error_code": 400, + "error_message": "TITLE_INVALID", + "error_description": "The specified stickerpack title is invalid" + } + ], "account.registerDevice": [ { "error_code": 400, @@ -7006,6 +7591,13 @@ "error_description": "No top peer type was provided" } ], + "channels.viewSponsoredMessage": [ + { + "error_code": 400, + "error_message": "UNKNOWN_ERROR", + "error_description": "Internal error" + } + ], "req_DH_params": [ { "error_code": 400, @@ -7027,7 +7619,19 @@ "error_description": "The provided user ID is invalid" } ], + "help.editUserInfo": [ + { + "error_code": 400, + "error_message": "USER_INVALID", + "error_description": "Invalid user provided" + } + ], "help.getSupportName": [ + { + "error_code": 400, + "error_message": "USER_INVALID", + "error_description": "Invalid user provided" + }, { "error_code": 403, "error_message": "USER_INVALID", @@ -7035,6 +7639,11 @@ } ], "help.getUserInfo": [ + { + "error_code": 400, + "error_message": "USER_INVALID", + "error_description": "Invalid user provided" + }, { "error_code": 403, "error_message": "USER_INVALID", @@ -7048,13 +7657,46 @@ "error_description": "The provided user is not a mutual contact" } ], + "phone.editGroupCallParticipant": [ + { + "error_code": 400, + "error_message": "USER_VOLUME_INVALID", + "error_description": "The specified user volume is invalid" + } + ], "account.uploadWallPaper": [ + { + "error_code": 400, + "error_message": "WALLPAPER_FILE_INVALID", + "error_description": "The specified wallpaper file is invalid" + }, { "error_code": 400, "error_message": "WALLPAPER_MIME_INVALID", "error_description": "The specified wallpaper MIME type is invalid" } ], + "account.getWallPaper": [ + { + "error_code": 400, + "error_message": "WALLPAPER_INVALID", + "error_description": "The specified wallpaper is invalid" + } + ], + "account.installWallPaper": [ + { + "error_code": 400, + "error_message": "WALLPAPER_INVALID", + "error_description": "The specified wallpaper is invalid" + } + ], + "account.saveWallPaper": [ + { + "error_code": 400, + "error_message": "WALLPAPER_INVALID", + "error_description": "The specified wallpaper is invalid" + } + ], "messages.getWebPage": [ { "error_code": 400, diff --git a/v3.json b/v3.json index 40f7087..b8ddfed 100644 --- a/v3.json +++ b/v3.json @@ -37,6 +37,7 @@ "API_ID_PUBLISHED_FLOOD": "API_ID_PUBLISHED_FLOOD" }, "channels.editAdmin": { + "ADMIN_RANK_EMOJI_NOT_ALLOWED": "ADMIN_RANK_EMOJI_NOT_ALLOWED", "ADMIN_RANK_INVALID": "ADMIN_RANK_INVALID", "ADMINS_TOO_MUCH": "ADMINS_TOO_MUCH", "BOT_CHANNELS_NA": "BOT_CHANNELS_NA", @@ -45,6 +46,7 @@ "CHANNEL_INVALID": "CHANNEL_INVALID", "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", + "FRESH_CHANGE_ADMINS_FORBIDDEN": "FRESH_CHANGE_ADMINS_FORBIDDEN", "INPUT_USER_DEACTIVATED": "INPUT_USER_DEACTIVATED", "PEER_ID_INVALID": "PEER_ID_INVALID", "USER_BLOCKED": "USER_BLOCKED", @@ -62,6 +64,16 @@ "PHOTO_EXT_INVALID": "PHOTO_EXT_INVALID", "PHOTO_ID_INVALID": "PHOTO_ID_INVALID" }, + "photos.uploadProfilePhoto": { + "ALBUM_PHOTOS_TOO_MANY": "ALBUM_PHOTOS_TOO_MANY", + "FILE_PARTS_INVALID": "FILE_PARTS_INVALID", + "IMAGE_PROCESS_FAILED": "IMAGE_PROCESS_FAILED", + "PHOTO_CROP_FILE_MISSING": "PHOTO_CROP_FILE_MISSING", + "PHOTO_CROP_SIZE_SMALL": "PHOTO_CROP_SIZE_SMALL", + "PHOTO_EXT_INVALID": "PHOTO_EXT_INVALID", + "PHOTO_FILE_MISSING": "PHOTO_FILE_MISSING", + "VIDEO_FILE_INVALID": "VIDEO_FILE_INVALID" + }, "auth.exportLoginToken": { "API_ID_INVALID": "API_ID_INVALID" }, @@ -78,13 +90,18 @@ }, "messages.setInlineBotResults": { "ARTICLE_TITLE_EMPTY": "ARTICLE_TITLE_EMPTY", + "AUDIO_CONTENT_URL_EMPTY": "AUDIO_CONTENT_URL_EMPTY", "AUDIO_TITLE_EMPTY": "AUDIO_TITLE_EMPTY", "BUTTON_DATA_INVALID": "BUTTON_DATA_INVALID", "BUTTON_TYPE_INVALID": "BUTTON_TYPE_INVALID", "BUTTON_URL_INVALID": "BUTTON_URL_INVALID", + "DOCUMENT_INVALID": "DOCUMENT_INVALID", + "FILE_CONTENT_TYPE_INVALID": "FILE_CONTENT_TYPE_INVALID", + "FILE_TITLE_EMPTY": "FILE_TITLE_EMPTY", "GIF_CONTENT_TYPE_INVALID": "GIF_CONTENT_TYPE_INVALID", "MESSAGE_EMPTY": "MESSAGE_EMPTY", "MESSAGE_TOO_LONG": "MESSAGE_TOO_LONG", + "NEXT_OFFSET_INVALID": "NEXT_OFFSET_INVALID", "PHOTO_CONTENT_TYPE_INVALID": "PHOTO_CONTENT_TYPE_INVALID", "PHOTO_CONTENT_URL_EMPTY": "PHOTO_CONTENT_URL_EMPTY", "PHOTO_INVALID": "PHOTO_INVALID", @@ -97,10 +114,13 @@ "SEND_MESSAGE_MEDIA_INVALID": "SEND_MESSAGE_MEDIA_INVALID", "SEND_MESSAGE_TYPE_INVALID": "SEND_MESSAGE_TYPE_INVALID", "START_PARAM_INVALID": "START_PARAM_INVALID", + "STICKER_DOCUMENT_INVALID": "STICKER_DOCUMENT_INVALID", + "USER_BOT_INVALID": "USER_BOT_INVALID", "VIDEO_TITLE_EMPTY": "VIDEO_TITLE_EMPTY", "WEBDOCUMENT_INVALID": "WEBDOCUMENT_INVALID", "WEBDOCUMENT_MIME_INVALID": "WEBDOCUMENT_MIME_INVALID", - "WEBDOCUMENT_SIZE_TOO_BIG": "WEBDOCUMENT_SIZE_TOO_BIG" + "WEBDOCUMENT_SIZE_TOO_BIG": "WEBDOCUMENT_SIZE_TOO_BIG", + "WEBDOCUMENT_URL_INVALID": "WEBDOCUMENT_URL_INVALID" }, "auth.importAuthorization": { "AUTH_BYTES_INVALID": "AUTH_BYTES_INVALID", @@ -119,12 +139,20 @@ "INVITE_HASH_EXPIRED": "INVITE_HASH_EXPIRED" }, "auth.importLoginToken": { + "AUTH_TOKEN_ALREADY_ACCEPTED": "AUTH_TOKEN_ALREADY_ACCEPTED", "AUTH_TOKEN_EXPIRED": "AUTH_TOKEN_EXPIRED", + "AUTH_TOKEN_INVALID": "AUTH_TOKEN_INVALID", "AUTH_TOKEN_INVALIDX": "AUTH_TOKEN_INVALIDX" }, "auth.acceptLoginToken": { "AUTH_TOKEN_INVALIDX": "AUTH_TOKEN_INVALIDX" }, + "account.setGlobalPrivacySettings": { + "AUTOARCHIVE_NOT_AVAILABLE": "AUTOARCHIVE_NOT_AVAILABLE" + }, + "payments.getBankCardData": { + "BANK_CARD_NUMBER_INVALID": "BANK_CARD_NUMBER_INVALID" + }, "messages.editChatDefaultBannedRights": { "BANNED_RIGHTS_INVALID": "BANNED_RIGHTS_INVALID", "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", @@ -132,6 +160,11 @@ "PEER_ID_INVALID": "PEER_ID_INVALID", "UNTIL_DATE_INVALID": "UNTIL_DATE_INVALID" }, + "bots.setBotCommands": { + "BOT_COMMAND_DESCRIPTION_INVALID": "BOT_COMMAND_DESCRIPTION_INVALID", + "BOT_COMMAND_INVALID": "BOT_COMMAND_INVALID", + "LANG_CODE_INVALID": "LANG_CODE_INVALID" + }, "messages.sendMessage": { "BOT_DOMAIN_INVALID": "BOT_DOMAIN_INVALID", "BOT_INVALID": "BOT_INVALID", @@ -154,9 +187,12 @@ "MSG_ID_INVALID": "MSG_ID_INVALID", "PEER_ID_INVALID": "PEER_ID_INVALID", "PINNED_DIALOGS_TOO_MUCH": "PINNED_DIALOGS_TOO_MUCH", + "POLL_OPTION_INVALID": "POLL_OPTION_INVALID", "REPLY_MARKUP_INVALID": "REPLY_MARKUP_INVALID", + "REPLY_MARKUP_TOO_LONG": "REPLY_MARKUP_TOO_LONG", "SCHEDULE_BOT_NOT_ALLOWED": "SCHEDULE_BOT_NOT_ALLOWED", "SCHEDULE_DATE_TOO_LATE": "SCHEDULE_DATE_TOO_LATE", + "SCHEDULE_STATUS_PRIVATE": "SCHEDULE_STATUS_PRIVATE", "SCHEDULE_TOO_MUCH": "SCHEDULE_TOO_MUCH", "USER_BANNED_IN_CHANNEL": "USER_BANNED_IN_CHANNEL", "USER_IS_BLOCKED": "USER_IS_BLOCKED", @@ -221,6 +257,8 @@ }, "stickers.addStickerToSet": { "BOT_MISSING": "BOT_MISSING", + "STICKER_PNG_NOPNG": "STICKER_PNG_NOPNG", + "STICKER_TGS_NOTGS": "STICKER_TGS_NOTGS", "STICKERSET_INVALID": "STICKERSET_INVALID" }, "stickers.changeStickerPosition": { @@ -239,6 +277,9 @@ "STICKER_PNG_DIMENSIONS": "STICKER_PNG_DIMENSIONS", "STICKER_PNG_NOPNG": "STICKER_PNG_NOPNG", "STICKER_TGS_NODOC": "STICKER_TGS_NODOC", + "STICKER_TGS_NOTGS": "STICKER_TGS_NOTGS", + "STICKER_THUMB_PNG_NOPNG": "STICKER_THUMB_PNG_NOPNG", + "STICKER_THUMB_TGS_NOTGS": "STICKER_THUMB_TGS_NOTGS", "STICKERS_EMPTY": "STICKERS_EMPTY", "USER_ID_INVALID": "USER_ID_INVALID" }, @@ -246,6 +287,70 @@ "BOT_MISSING": "BOT_MISSING", "STICKER_INVALID": "STICKER_INVALID" }, + "messages.updatePinnedMessage": { + "BOT_ONESIDE_NOT_AVAIL": "BOT_ONESIDE_NOT_AVAIL", + "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", + "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", + "CHAT_NOT_MODIFIED": "CHAT_NOT_MODIFIED", + "MESSAGE_ID_INVALID": "MESSAGE_ID_INVALID", + "PIN_RESTRICTED": "PIN_RESTRICTED", + "USER_BANNED_IN_CHANNEL": "USER_BANNED_IN_CHANNEL" + }, + "messages.sendMedia": { + "BOT_PAYMENTS_DISABLED": "BOT_PAYMENTS_DISABLED", + "BOT_POLLS_DISABLED": "BOT_POLLS_DISABLED", + "BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "BROADCAST_PUBLIC_VOTERS_FORBIDDEN", + "BUTTON_DATA_INVALID": "BUTTON_DATA_INVALID", + "BUTTON_TYPE_INVALID": "BUTTON_TYPE_INVALID", + "BUTTON_URL_INVALID": "BUTTON_URL_INVALID", + "CHANNEL_INVALID": "CHANNEL_INVALID", + "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", + "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", + "CHAT_RESTRICTED": "CHAT_RESTRICTED", + "CURRENCY_TOTAL_AMOUNT_INVALID": "CURRENCY_TOTAL_AMOUNT_INVALID", + "EMOTICON_INVALID": "EMOTICON_INVALID", + "EXTERNAL_URL_INVALID": "EXTERNAL_URL_INVALID", + "FILE_PART_LENGTH_INVALID": "FILE_PART_LENGTH_INVALID", + "FILE_PARTS_INVALID": "FILE_PARTS_INVALID", + "FILE_REFERENCE_EMPTY": "FILE_REFERENCE_EMPTY", + "FILE_REFERENCE_EXPIRED": "FILE_REFERENCE_EXPIRED", + "GAME_BOT_INVALID": "GAME_BOT_INVALID", + "IMAGE_PROCESS_FAILED": "IMAGE_PROCESS_FAILED", + "INPUT_FETCH_FAIL": "INPUT_FETCH_FAIL", + "INPUT_USER_DEACTIVATED": "INPUT_USER_DEACTIVATED", + "MD5_CHECKSUM_INVALID": "MD5_CHECKSUM_INVALID", + "MEDIA_CAPTION_TOO_LONG": "MEDIA_CAPTION_TOO_LONG", + "MEDIA_EMPTY": "MEDIA_EMPTY", + "MEDIA_INVALID": "MEDIA_INVALID", + "MSG_ID_INVALID": "MSG_ID_INVALID", + "PAYMENT_PROVIDER_INVALID": "PAYMENT_PROVIDER_INVALID", + "PEER_ID_INVALID": "PEER_ID_INVALID", + "PHOTO_EXT_INVALID": "PHOTO_EXT_INVALID", + "PHOTO_INVALID_DIMENSIONS": "PHOTO_INVALID_DIMENSIONS", + "PHOTO_SAVE_FILE_INVALID": "PHOTO_SAVE_FILE_INVALID", + "POLL_ANSWER_INVALID": "POLL_ANSWER_INVALID", + "POLL_ANSWERS_INVALID": "POLL_ANSWERS_INVALID", + "POLL_OPTION_DUPLICATE": "POLL_OPTION_DUPLICATE", + "POLL_OPTION_INVALID": "POLL_OPTION_INVALID", + "POLL_QUESTION_INVALID": "POLL_QUESTION_INVALID", + "QUIZ_CORRECT_ANSWER_INVALID": "QUIZ_CORRECT_ANSWER_INVALID", + "QUIZ_CORRECT_ANSWERS_EMPTY": "QUIZ_CORRECT_ANSWERS_EMPTY", + "QUIZ_CORRECT_ANSWERS_TOO_MUCH": "QUIZ_CORRECT_ANSWERS_TOO_MUCH", + "QUIZ_MULTIPLE_INVALID": "QUIZ_MULTIPLE_INVALID", + "REPLY_MARKUP_BUY_EMPTY": "REPLY_MARKUP_BUY_EMPTY", + "REPLY_MARKUP_INVALID": "REPLY_MARKUP_INVALID", + "SCHEDULE_BOT_NOT_ALLOWED": "SCHEDULE_BOT_NOT_ALLOWED", + "SCHEDULE_DATE_TOO_LATE": "SCHEDULE_DATE_TOO_LATE", + "SCHEDULE_TOO_MUCH": "SCHEDULE_TOO_MUCH", + "TTL_MEDIA_INVALID": "TTL_MEDIA_INVALID", + "USER_BANNED_IN_CHANNEL": "USER_BANNED_IN_CHANNEL", + "USER_IS_BLOCKED": "USER_IS_BLOCKED", + "USER_IS_BOT": "USER_IS_BOT", + "VIDEO_CONTENT_TYPE_INVALID": "VIDEO_CONTENT_TYPE_INVALID", + "WEBPAGE_CURL_FAILED": "WEBPAGE_CURL_FAILED", + "WEBPAGE_MEDIA_EMPTY": "WEBPAGE_MEDIA_EMPTY", + "YOU_BLOCKED_USER": "YOU_BLOCKED_USER" + }, "messages.getBotCallbackAnswer": { "BOT_RESPONSE_TIMEOUT": "BOT_RESPONSE_TIMEOUT", "CHANNEL_INVALID": "CHANNEL_INVALID", @@ -266,7 +371,8 @@ "CHANNEL_INVALID": "CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", "LINK_NOT_MODIFIED": "LINK_NOT_MODIFIED", - "MEGAGROUP_ID_INVALID": "MEGAGROUP_ID_INVALID" + "MEGAGROUP_ID_INVALID": "MEGAGROUP_ID_INVALID", + "MEGAGROUP_PREHISTORY_HIDDEN": "MEGAGROUP_PREHISTORY_HIDDEN" }, "messages.forwardMessages": { "BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "BROADCAST_PUBLIC_VOTERS_FORBIDDEN", @@ -284,6 +390,7 @@ "MSG_ID_INVALID": "MSG_ID_INVALID", "PEER_ID_INVALID": "PEER_ID_INVALID", "RANDOM_ID_INVALID": "RANDOM_ID_INVALID", + "SCHEDULE_DATE_TOO_LATE": "SCHEDULE_DATE_TOO_LATE", "SCHEDULE_TOO_MUCH": "SCHEDULE_TOO_MUCH", "SLOWMODE_MULTI_MSGS_DISABLED": "SLOWMODE_MULTI_MSGS_DISABLED", "USER_BANNED_IN_CHANNEL": "USER_BANNED_IN_CHANNEL", @@ -291,49 +398,6 @@ "USER_IS_BOT": "USER_IS_BOT", "YOU_BLOCKED_USER": "YOU_BLOCKED_USER" }, - "messages.sendMedia": { - "BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "BROADCAST_PUBLIC_VOTERS_FORBIDDEN", - "BUTTON_DATA_INVALID": "BUTTON_DATA_INVALID", - "BUTTON_TYPE_INVALID": "BUTTON_TYPE_INVALID", - "BUTTON_URL_INVALID": "BUTTON_URL_INVALID", - "CHANNEL_INVALID": "CHANNEL_INVALID", - "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", - "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", - "CHAT_RESTRICTED": "CHAT_RESTRICTED", - "EXTERNAL_URL_INVALID": "EXTERNAL_URL_INVALID", - "FILE_PART_LENGTH_INVALID": "FILE_PART_LENGTH_INVALID", - "FILE_PARTS_INVALID": "FILE_PARTS_INVALID", - "IMAGE_PROCESS_FAILED": "IMAGE_PROCESS_FAILED", - "INPUT_FETCH_FAIL": "INPUT_FETCH_FAIL", - "INPUT_USER_DEACTIVATED": "INPUT_USER_DEACTIVATED", - "MD5_CHECKSUM_INVALID": "MD5_CHECKSUM_INVALID", - "MEDIA_CAPTION_TOO_LONG": "MEDIA_CAPTION_TOO_LONG", - "MEDIA_EMPTY": "MEDIA_EMPTY", - "MEDIA_INVALID": "MEDIA_INVALID", - "MSG_ID_INVALID": "MSG_ID_INVALID", - "PEER_ID_INVALID": "PEER_ID_INVALID", - "PHOTO_EXT_INVALID": "PHOTO_EXT_INVALID", - "PHOTO_INVALID_DIMENSIONS": "PHOTO_INVALID_DIMENSIONS", - "PHOTO_SAVE_FILE_INVALID": "PHOTO_SAVE_FILE_INVALID", - "POLL_ANSWER_INVALID": "POLL_ANSWER_INVALID", - "POLL_ANSWERS_INVALID": "POLL_ANSWERS_INVALID", - "POLL_OPTION_DUPLICATE": "POLL_OPTION_DUPLICATE", - "POLL_OPTION_INVALID": "POLL_OPTION_INVALID", - "POLL_QUESTION_INVALID": "POLL_QUESTION_INVALID", - "QUIZ_CORRECT_ANSWER_INVALID": "QUIZ_CORRECT_ANSWER_INVALID", - "QUIZ_CORRECT_ANSWERS_EMPTY": "QUIZ_CORRECT_ANSWERS_EMPTY", - "REPLY_MARKUP_BUY_EMPTY": "REPLY_MARKUP_BUY_EMPTY", - "REPLY_MARKUP_INVALID": "REPLY_MARKUP_INVALID", - "SCHEDULE_BOT_NOT_ALLOWED": "SCHEDULE_BOT_NOT_ALLOWED", - "SCHEDULE_TOO_MUCH": "SCHEDULE_TOO_MUCH", - "TTL_MEDIA_INVALID": "TTL_MEDIA_INVALID", - "USER_BANNED_IN_CHANNEL": "USER_BANNED_IN_CHANNEL", - "USER_IS_BLOCKED": "USER_IS_BLOCKED", - "USER_IS_BOT": "USER_IS_BOT", - "WEBPAGE_CURL_FAILED": "WEBPAGE_CURL_FAILED", - "WEBPAGE_MEDIA_EMPTY": "WEBPAGE_MEDIA_EMPTY", - "YOU_BLOCKED_USER": "YOU_BLOCKED_USER" - }, "stats.getBroadcastStats": { "BROADCAST_REQUIRED": "BROADCAST_REQUIRED", "CHANNEL_INVALID": "CHANNEL_INVALID", @@ -352,6 +416,7 @@ "INPUT_USER_DEACTIVATED": "INPUT_USER_DEACTIVATED", "MEDIA_CAPTION_TOO_LONG": "MEDIA_CAPTION_TOO_LONG", "MEDIA_GROUPED_INVALID": "MEDIA_GROUPED_INVALID", + "MEDIA_NEW_INVALID": "MEDIA_NEW_INVALID", "MEDIA_PREV_INVALID": "MEDIA_PREV_INVALID", "MESSAGE_EDIT_TIME_EXPIRED": "MESSAGE_EDIT_TIME_EXPIRED", "MESSAGE_EMPTY": "MESSAGE_EMPTY", @@ -392,7 +457,8 @@ "phone.requestCall": { "CALL_PROTOCOL_FLAGS_INVALID": "CALL_PROTOCOL_FLAGS_INVALID", "PARTICIPANT_VERSION_OUTDATED": "PARTICIPANT_VERSION_OUTDATED", - "USER_ID_INVALID": "USER_ID_INVALID" + "USER_ID_INVALID": "USER_ID_INVALID", + "USER_IS_BLOCKED": "USER_IS_BLOCKED" }, "updates.getDifference": { "CDN_METHOD_INVALID": "CDN_METHOD_INVALID", @@ -467,6 +533,7 @@ "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", "CHAT_NOT_MODIFIED": "CHAT_NOT_MODIFIED", + "FILE_REFERENCE_INVALID": "FILE_REFERENCE_INVALID", "PHOTO_CROP_SIZE_SMALL": "PHOTO_CROP_SIZE_SMALL", "PHOTO_EXT_INVALID": "PHOTO_EXT_INVALID", "PHOTO_INVALID": "PHOTO_INVALID" @@ -681,6 +748,7 @@ "CHANNEL_INVALID": "CHANNEL_INVALID", "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", + "FROM_PEER_INVALID": "FROM_PEER_INVALID", "INPUT_FILTER_INVALID": "INPUT_FILTER_INVALID", "INPUT_USER_DEACTIVATED": "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID": "MSG_ID_INVALID", @@ -694,6 +762,7 @@ "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", "CHAT_RESTRICTED": "CHAT_RESTRICTED", + "CHAT_SEND_INLINE_FORBIDDEN": "CHAT_SEND_INLINE_FORBIDDEN", "INLINE_RESULT_EXPIRED": "INLINE_RESULT_EXPIRED", "INPUT_USER_DEACTIVATED": "INPUT_USER_DEACTIVATED", "MEDIA_EMPTY": "MEDIA_EMPTY", @@ -701,6 +770,8 @@ "PEER_ID_INVALID": "PEER_ID_INVALID", "QUERY_ID_EMPTY": "QUERY_ID_EMPTY", "RESULT_ID_EMPTY": "RESULT_ID_EMPTY", + "SCHEDULE_DATE_TOO_LATE": "SCHEDULE_DATE_TOO_LATE", + "SCHEDULE_TOO_MUCH": "SCHEDULE_TOO_MUCH", "USER_BANNED_IN_CHANNEL": "USER_BANNED_IN_CHANNEL", "WEBPAGE_CURL_FAILED": "WEBPAGE_CURL_FAILED", "WEBPAGE_MEDIA_EMPTY": "WEBPAGE_MEDIA_EMPTY", @@ -800,6 +871,7 @@ "PASSWORD_MISSING": "PASSWORD_MISSING", "PASSWORD_TOO_FRESH_X": "PASSWORD_TOO_FRESH_X", "SESSION_TOO_FRESH_X": "SESSION_TOO_FRESH_X", + "SRP_ID_INVALID": "SRP_ID_INVALID", "USER_ID_INVALID": "USER_ID_INVALID" }, "contacts.addContact": { @@ -857,6 +929,7 @@ "MULTI_MEDIA_TOO_LONG": "MULTI_MEDIA_TOO_LONG", "PEER_ID_INVALID": "PEER_ID_INVALID", "RANDOM_ID_EMPTY": "RANDOM_ID_EMPTY", + "SCHEDULE_DATE_TOO_LATE": "SCHEDULE_DATE_TOO_LATE", "SCHEDULE_TOO_MUCH": "SCHEDULE_TOO_MUCH" }, "messages.toggleDialogPin": { @@ -864,14 +937,6 @@ "PEER_ID_INVALID": "PEER_ID_INVALID", "PINNED_DIALOGS_TOO_MUCH": "PINNED_DIALOGS_TOO_MUCH" }, - "messages.updatePinnedMessage": { - "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", - "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", - "CHAT_NOT_MODIFIED": "CHAT_NOT_MODIFIED", - "MESSAGE_ID_INVALID": "MESSAGE_ID_INVALID", - "PIN_RESTRICTED": "PIN_RESTRICTED", - "USER_BANNED_IN_CHANNEL": "USER_BANNED_IN_CHANNEL" - }, "users.getFullUser": { "CHANNEL_PRIVATE": "CHANNEL_PRIVATE", "INPUT_FETCH_FAIL": "INPUT_FETCH_FAIL", @@ -887,6 +952,7 @@ }, "messages.migrateChat": { "CHANNELS_TOO_MUCH": "CHANNELS_TOO_MUCH", + "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID": "CHAT_ID_INVALID", "PEER_ID_INVALID": "PEER_ID_INVALID" }, @@ -903,6 +969,7 @@ "USER_ALREADY_PARTICIPANT": "USER_ALREADY_PARTICIPANT", "USER_ID_INVALID": "USER_ID_INVALID", "USER_IS_BLOCKED": "USER_IS_BLOCKED", + "USER_NOT_MUTUAL_CONTACT": "USER_NOT_MUTUAL_CONTACT", "USERS_TOO_MUCH": "USERS_TOO_MUCH", "YOU_BLOCKED_USER": "YOU_BLOCKED_USER" }, @@ -927,7 +994,8 @@ "PEER_ID_INVALID": "PEER_ID_INVALID" }, "phone.createGroupCall": { - "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED" + "CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED", + "SCHEDULE_DATE_INVALID": "SCHEDULE_DATE_INVALID" }, "messages.discardEncryption": { "CHAT_ID_EMPTY": "CHAT_ID_EMPTY", @@ -996,8 +1064,16 @@ "INPUT_USER_DEACTIVATED": "INPUT_USER_DEACTIVATED", "USERS_TOO_FEW": "USERS_TOO_FEW" }, + "messages.setHistoryTTL": { + "CHAT_NOT_MODIFIED": "CHAT_NOT_MODIFIED", + "TTL_PERIOD_INVALID": "TTL_PERIOD_INVALID" + }, + "messages.getMessagesReadParticipants": { + "CHAT_TOO_BIG": "CHAT_TOO_BIG" + }, "auth.recoverPassword": { - "CODE_EMPTY": "CODE_EMPTY" + "CODE_EMPTY": "CODE_EMPTY", + "NEW_SETTINGS_INVALID": "NEW_SETTINGS_INVALID" }, "account.confirmPhone": { "CODE_HASH_INVALID": "CODE_HASH_INVALID", @@ -1066,7 +1142,8 @@ "DATA_INVALID": "DATA_INVALID", "ENCRYPTION_DECLINED": "ENCRYPTION_DECLINED", "ENCRYPTION_ID_INVALID": "ENCRYPTION_ID_INVALID", - "MSG_WAIT_FAILED": "MSG_WAIT_FAILED" + "MSG_WAIT_FAILED": "MSG_WAIT_FAILED", + "USER_IS_BLOCKED": "USER_IS_BLOCKED" }, "messages.sendEncryptedFile": { "DATA_TOO_LONG": "DATA_TOO_LONG", @@ -1082,6 +1159,13 @@ "DH_G_A_INVALID": "DH_G_A_INVALID", "USER_ID_INVALID": "USER_ID_INVALID" }, + "account.sendVerifyEmailCode": { + "EMAIL_INVALID": "EMAIL_INVALID" + }, + "account.verifyEmail": { + "EMAIL_INVALID": "EMAIL_INVALID", + "EMAIL_VERIFY_EXPIRED": "EMAIL_VERIFY_EXPIRED" + }, "account.updatePasswordSettings": { "EMAIL_UNCONFIRMED": "EMAIL_UNCONFIRMED", "EMAIL_UNCONFIRMED_X": "EMAIL_UNCONFIRMED_X", @@ -1092,8 +1176,16 @@ "SRP_ID_INVALID": "SRP_ID_INVALID", "SRP_PASSWORD_CHANGED": "SRP_PASSWORD_CHANGED" }, - "account.verifyEmail": { - "EMAIL_VERIFY_EXPIRED": "EMAIL_VERIFY_EXPIRED" + "messages.setChatTheme": { + "EMOJI_INVALID": "EMOJI_INVALID", + "EMOJI_NOT_MODIFIED": "EMOJI_NOT_MODIFIED" + }, + "messages.getStickers": { + "EMOTICON_EMPTY": "EMOTICON_EMPTY" + }, + "messages.getStickerSet": { + "EMOTICON_STICKERPACK_MISSING": "EMOTICON_STICKERPACK_MISSING", + "STICKERSET_INVALID": "STICKERSET_INVALID" }, "auth.bindTempAuthKey": { "ENCRYPTED_MESSAGE_INVALID": "ENCRYPTED_MESSAGE_INVALID", @@ -1120,15 +1212,6 @@ "FILE_PARTS_INVALID": "FILE_PARTS_INVALID", "INPUT_FETCH_FAIL": "INPUT_FETCH_FAIL" }, - "photos.uploadProfilePhoto": { - "FILE_PARTS_INVALID": "FILE_PARTS_INVALID", - "IMAGE_PROCESS_FAILED": "IMAGE_PROCESS_FAILED", - "PHOTO_CROP_FILE_MISSING": "PHOTO_CROP_FILE_MISSING", - "PHOTO_CROP_SIZE_SMALL": "PHOTO_CROP_SIZE_SMALL", - "PHOTO_EXT_INVALID": "PHOTO_EXT_INVALID", - "PHOTO_FILE_MISSING": "PHOTO_FILE_MISSING", - "VIDEO_FILE_INVALID": "VIDEO_FILE_INVALID" - }, "messages.updateDialogFilter": { "FILTER_ID_INVALID": "FILTER_ID_INVALID", "FILTER_INCLUDE_EMPTY": "FILTER_INCLUDE_EMPTY", @@ -1144,6 +1227,9 @@ "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID", "PHONE_NUMBER_OCCUPIED": "PHONE_NUMBER_OCCUPIED" }, + "folders.deleteFolder": { + "FOLDER_ID_EMPTY": "FOLDER_ID_EMPTY" + }, "folders.editPeerFolders": { "FOLDER_ID_INVALID": "FOLDER_ID_INVALID" }, @@ -1160,7 +1246,8 @@ "SEARCH_QUERY_EMPTY": "SEARCH_QUERY_EMPTY" }, "contacts.getLocated": { - "GEO_POINT_INVALID": "GEO_POINT_INVALID" + "GEO_POINT_INVALID": "GEO_POINT_INVALID", + "USERPIC_UPLOAD_REQUIRED": "USERPIC_UPLOAD_REQUIRED" }, "messages.saveGif": { "GIF_ID_INVALID": "GIF_ID_INVALID" @@ -1170,6 +1257,15 @@ "GRAPH_INVALID_RELOAD": "GRAPH_INVALID_RELOAD", "GRAPH_OUTDATED_RELOAD": "GRAPH_OUTDATED_RELOAD" }, + "phone.discardGroupCallRequest": { + "GROUPCALL_ALREADY_DISCARDED": "GROUPCALL_ALREADY_DISCARDED" + }, + "phone.toggleGroupCallSettings": { + "GROUPCALL_NOT_MODIFIED": "GROUPCALL_NOT_MODIFIED" + }, + "phone.joinGroupCall": { + "GROUPCALL_SSRC_DUPLICATE_MUCH": "GROUPCALL_SSRC_DUPLICATE_MUCH" + }, "account.resetAuthorization": { "HASH_INVALID": "HASH_INVALID" }, @@ -1179,6 +1275,13 @@ "account.sendConfirmPhoneCode": { "HASH_INVALID": "HASH_INVALID" }, + "messages.initHistoryImport": { + "IMPORT_FILE_INVALID": "IMPORT_FILE_INVALID", + "IMPORT_FORMAT_UNRECOGNIZED": "IMPORT_FORMAT_UNRECOGNIZED" + }, + "messages.startHistoryImport": { + "IMPORT_ID_INVALID": "IMPORT_ID_INVALID" + }, "invokeWithTakeout": { "INPUT_FETCH_FAIL": "INPUT_FETCH_FAIL" }, @@ -1219,6 +1322,10 @@ "upload.getWebFile": { "LOCATION_INVALID": "LOCATION_INVALID" }, + "messages.receivedQueue": { + "MAX_QTS_INVALID": "MAX_QTS_INVALID", + "MSG_WAIT_FAILED": "MSG_WAIT_FAILED" + }, "channels.editLocation": { "MEGAGROUP_REQUIRED": "MEGAGROUP_REQUIRED" }, @@ -1277,6 +1384,10 @@ "METHOD_INVALID": "METHOD_INVALID", "USER_BOT_INVALID": "USER_BOT_INVALID" }, + "messages.searchGifs": { + "METHOD_INVALID": "METHOD_INVALID", + "SEARCH_QUERY_EMPTY": "SEARCH_QUERY_EMPTY" + }, "messages.getCommonChats": { "MSG_ID_INVALID": "MSG_ID_INVALID", "USER_ID_INVALID": "USER_ID_INVALID" @@ -1299,11 +1410,12 @@ "messages.readEncryptedHistory": { "MSG_WAIT_FAILED": "MSG_WAIT_FAILED" }, - "messages.receivedQueue": { - "MSG_WAIT_FAILED": "MSG_WAIT_FAILED" + "channels.convertToGigagroup": { + "PARTICIPANTS_TOO_FEW": "PARTICIPANTS_TOO_FEW" }, "auth.requestPasswordRecovery": { - "PASSWORD_EMPTY": "PASSWORD_EMPTY" + "PASSWORD_EMPTY": "PASSWORD_EMPTY", + "PASSWORD_RECOVERY_NA": "PASSWORD_RECOVERY_NA" }, "account.getPasswordSettings": { "PASSWORD_HASH_INVALID": "PASSWORD_HASH_INVALID" @@ -1317,6 +1429,12 @@ "SRP_ID_INVALID": "SRP_ID_INVALID", "SRP_PASSWORD_CHANGED": "SRP_PASSWORD_CHANGED" }, + "auth.checkRecoveryPassword": { + "PASSWORD_RECOVERY_EXPIRED": "PASSWORD_RECOVERY_EXPIRED" + }, + "account.saveSecureValue": { + "PASSWORD_REQUIRED": "PASSWORD_REQUIRED" + }, "account.getNotifySettings": { "PEER_ID_INVALID": "PEER_ID_INVALID" }, @@ -1374,14 +1492,15 @@ "PHONE_CODE_HASH_EMPTY": "PHONE_CODE_HASH_EMPTY", "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID" }, + "account.sendChangePhoneCode": { + "PHONE_NUMBER_BANNED": "PHONE_NUMBER_BANNED", + "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID", + "PHONE_NUMBER_OCCUPIED": "PHONE_NUMBER_OCCUPIED" + }, "auth.checkPhone": { "PHONE_NUMBER_BANNED": "PHONE_NUMBER_BANNED", "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID" }, - "account.sendChangePhoneCode": { - "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID", - "PHONE_NUMBER_OCCUPIED": "PHONE_NUMBER_OCCUPIED" - }, "account.sendVerifyPhoneCode": { "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID" }, @@ -1390,8 +1509,12 @@ }, "account.setPrivacy": { "PRIVACY_KEY_INVALID": "PRIVACY_KEY_INVALID", + "PRIVACY_TOO_LONG": "PRIVACY_TOO_LONG", "PRIVACY_VALUE_INVALID": "PRIVACY_VALUE_INVALID" }, + "account.getAuthorizationForm": { + "PUBLIC_KEY_REQUIRED": "PUBLIC_KEY_REQUIRED" + }, "bots.answerWebhookJSONQuery": { "QUERY_ID_INVALID": "QUERY_ID_INVALID", "USER_BOT_INVALID": "USER_BOT_INVALID" @@ -1403,22 +1526,28 @@ "QUERY_TOO_SHORT": "QUERY_TOO_SHORT", "SEARCH_QUERY_EMPTY": "SEARCH_QUERY_EMPTY" }, + "account.declinePasswordReset": { + "RESET_REQUEST_MISSING": "RESET_REQUEST_MISSING" + }, "upload.reuploadCdnFile": { "RSA_DECRYPT_FAILED": "RSA_DECRYPT_FAILED" }, - "messages.searchGifs": { - "SEARCH_QUERY_EMPTY": "SEARCH_QUERY_EMPTY" - }, "messages.getDocumentByHash": { "SHA256_HASH_INVALID": "SHA256_HASH_INVALID" }, + "stickers.checkShortName": { + "SHORT_NAME_INVALID": "SHORT_NAME_INVALID", + "SHORT_NAME_OCCUPIED": "SHORT_NAME_OCCUPIED" + }, "messages.faveSticker": { "STICKER_ID_INVALID": "STICKER_ID_INVALID" }, "messages.saveRecentSticker": { "STICKER_ID_INVALID": "STICKER_ID_INVALID" }, - "messages.getStickerSet": { + "stickers.setStickerSetThumb": { + "STICKER_THUMB_PNG_NOPNG": "STICKER_THUMB_PNG_NOPNG", + "STICKER_THUMB_TGS_NOTGS": "STICKER_THUMB_TGS_NOTGS", "STICKERSET_INVALID": "STICKERSET_INVALID" }, "messages.installStickerSet": { @@ -1427,8 +1556,8 @@ "messages.uninstallStickerSet": { "STICKERSET_INVALID": "STICKERSET_INVALID" }, - "stickers.setStickerSetThumb": { - "STICKERSET_INVALID": "STICKERSET_INVALID" + "contacts.getSaved": { + "TAKEOUT_REQUIRED": "TAKEOUT_REQUIRED" }, "account.uploadTheme": { "THEME_FILE_INVALID": "THEME_FILE_INVALID" @@ -1437,6 +1566,15 @@ "THEME_FORMAT_INVALID": "THEME_FORMAT_INVALID", "THEME_INVALID": "THEME_INVALID" }, + "account.updateTheme": { + "THEME_INVALID": "THEME_INVALID" + }, + "account.createTheme": { + "THEME_MIME_INVALID": "THEME_MIME_INVALID" + }, + "stickers.suggestShortName": { + "TITLE_INVALID": "TITLE_INVALID" + }, "account.registerDevice": { "TOKEN_INVALID": "TOKEN_INVALID", "WEBPUSH_AUTH_INVALID": "WEBPUSH_AUTH_INVALID", @@ -1452,6 +1590,9 @@ "contacts.getTopPeers": { "TYPES_EMPTY": "TYPES_EMPTY" }, + "channels.viewSponsoredMessage": { + "UNKNOWN_ERROR": "UNKNOWN_ERROR" + }, "req_DH_params": { "UNKNOWN_ERROR": "UNKNOWN_ERROR" }, @@ -1464,9 +1605,21 @@ "users.setSecureValueErrors": { "USER_ID_INVALID": "USER_ID_INVALID" }, + "help.editUserInfo": { + "USER_INVALID": "USER_INVALID" + }, + "help.getSupportName": { + "USER_INVALID": "USER_INVALID" + }, + "help.getUserInfo": { + "USER_INVALID": "USER_INVALID" + }, "messages.checkHistoryImportPeer": { "USER_NOT_MUTUAL_CONTACT": "USER_NOT_MUTUAL_CONTACT" }, + "phone.editGroupCallParticipant": { + "USER_VOLUME_INVALID": "USER_VOLUME_INVALID" + }, "account.checkUsername": { "USERNAME_INVALID": "USERNAME_INVALID" }, @@ -1476,8 +1629,18 @@ "USERNAME_OCCUPIED": "USERNAME_OCCUPIED" }, "account.uploadWallPaper": { + "WALLPAPER_FILE_INVALID": "WALLPAPER_FILE_INVALID", "WALLPAPER_MIME_INVALID": "WALLPAPER_MIME_INVALID" }, + "account.getWallPaper": { + "WALLPAPER_INVALID": "WALLPAPER_INVALID" + }, + "account.installWallPaper": { + "WALLPAPER_INVALID": "WALLPAPER_INVALID" + }, + "account.saveWallPaper": { + "WALLPAPER_INVALID": "WALLPAPER_INVALID" + }, "messages.getWebPage": { "WC_CONVERT_URL_INVALID": "WC_CONVERT_URL_INVALID" } @@ -2084,7 +2247,8 @@ "FRESH_CHANGE_ADMINS_FORBIDDEN": "FRESH_CHANGE_ADMINS_FORBIDDEN" }, "account.sendChangePhoneCode": { - "FRESH_CHANGE_PHONE_FORBIDDEN": "FRESH_CHANGE_PHONE_FORBIDDEN" + "FRESH_CHANGE_PHONE_FORBIDDEN": "FRESH_CHANGE_PHONE_FORBIDDEN", + "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID" }, "account.resetAuthorization": { "FRESH_RESET_AUTHORISATION_FORBIDDEN": "FRESH_RESET_AUTHORISATION_FORBIDDEN" @@ -2092,12 +2256,28 @@ "auth.resetAuthorizations": { "FRESH_RESET_AUTHORISATION_FORBIDDEN": "FRESH_RESET_AUTHORISATION_FORBIDDEN" }, + "account.changePhone": { + "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID" + }, + "auth.cancelCode": { + "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID" + }, "auth.checkPhone": { "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID" }, "auth.resendCode": { + "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID", "SEND_CODE_UNAVAILABLE": "SEND_CODE_UNAVAILABLE" }, + "auth.signIn": { + "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID" + }, + "auth.signUp": { + "PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID" + }, + "channels.setStickers": { + "STICKERSET_OWNER_ANONYMOUS": "STICKERSET_OWNER_ANONYMOUS" + }, "contacts.getLocated": { "USERPIC_PRIVACY_REQUIRED": "USERPIC_PRIVACY_REQUIRED", "USERPIC_UPLOAD_REQUIRED": "USERPIC_UPLOAD_REQUIRED" @@ -2244,6 +2424,7 @@ "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN", "RIGHT_FORBIDDEN": "RIGHT_FORBIDDEN", "USER_CHANNELS_TOO_MUCH": "USER_CHANNELS_TOO_MUCH", + "USER_NOT_MUTUAL_CONTACT": "USER_NOT_MUTUAL_CONTACT", "USER_PRIVACY_RESTRICTED": "USER_PRIVACY_RESTRICTED", "USER_RESTRICTED": "USER_RESTRICTED" }, @@ -2262,7 +2443,8 @@ "CHAT_SEND_MEDIA_FORBIDDEN": "CHAT_SEND_MEDIA_FORBIDDEN", "CHAT_SEND_POLL_FORBIDDEN": "CHAT_SEND_POLL_FORBIDDEN", "CHAT_SEND_STICKERS_FORBIDDEN": "CHAT_SEND_STICKERS_FORBIDDEN", - "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN" + "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN", + "USER_IS_BLOCKED": "USER_IS_BLOCKED" }, "messages.sendInlineBotResult": { "CHAT_SEND_GAME_FORBIDDEN": "CHAT_SEND_GAME_FORBIDDEN", @@ -2277,7 +2459,8 @@ "CHAT_SEND_MEDIA_FORBIDDEN": "CHAT_SEND_MEDIA_FORBIDDEN", "CHAT_SEND_POLL_FORBIDDEN": "CHAT_SEND_POLL_FORBIDDEN", "CHAT_SEND_STICKERS_FORBIDDEN": "CHAT_SEND_STICKERS_FORBIDDEN", - "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN" + "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN", + "USER_IS_BLOCKED": "USER_IS_BLOCKED" }, "channels.deleteChannel": { "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN" @@ -2303,6 +2486,7 @@ "channels.inviteToChannel": { "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN", "USER_CHANNELS_TOO_MUCH": "USER_CHANNELS_TOO_MUCH", + "USER_NOT_MUTUAL_CONTACT": "USER_NOT_MUTUAL_CONTACT", "USER_PRIVACY_RESTRICTED": "USER_PRIVACY_RESTRICTED" }, "channels.updateUsername": { @@ -2326,10 +2510,12 @@ "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN" }, "messages.sendMessage": { - "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN" + "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN", + "USER_IS_BLOCKED": "USER_IS_BLOCKED" }, "messages.setTyping": { - "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN" + "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN", + "USER_IS_BLOCKED": "USER_IS_BLOCKED" }, "messages.updatePinnedMessage": { "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN" @@ -2340,6 +2526,9 @@ "updates.getDifference": { "CHAT_WRITE_FORBIDDEN": "CHAT_WRITE_FORBIDDEN" }, + "phone.inviteToGroupCall": { + "GROUPCALL_FORBIDDEN": "GROUPCALL_FORBIDDEN" + }, "messages.getMessageEditData": { "MESSAGE_AUTHOR_REQUIRED": "MESSAGE_AUTHOR_REQUIRED" }, @@ -2349,6 +2538,9 @@ "messages.deleteMessages": { "MESSAGE_DELETE_FORBIDDEN": "MESSAGE_DELETE_FORBIDDEN" }, + "phone.joinGroupCallPresentation": { + "PARTICIPANT_JOIN_MISSING": "PARTICIPANT_JOIN_MISSING" + }, "account.setContentSettings": { "SENSITIVE_CHANGE_FORBIDDEN": "SENSITIVE_CHANGE_FORBIDDEN" }, @@ -2361,6 +2553,12 @@ "contacts.getSaved": { "TAKEOUT_REQUIRED": "TAKEOUT_REQUIRED" }, + "bots.answerWebhookJSONQuery": { + "USER_BOT_INVALID": "USER_BOT_INVALID" + }, + "bots.sendCustomRequest": { + "USER_BOT_INVALID": "USER_BOT_INVALID" + }, "messages.setInlineBotResults": { "USER_BOT_INVALID": "USER_BOT_INVALID" }, @@ -2701,6 +2899,7 @@ "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_EMOJI_NOT_ALLOWED": "An admin rank cannot contain emojis", "ADMIN_RANK_INVALID": "The specified admin rank is invalid.", "ADMINS_TOO_MUCH": "There are too many admins", "ALBUM_PHOTOS_TOO_MANY": "Too many ", @@ -2710,6 +2909,7 @@ "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_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": "An auth key with the same ID was already generated", @@ -2717,20 +2917,29 @@ "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_ALREADY_ACCEPTED": "The specified auth token was already accepted", "AUTH_TOKEN_EXPIRED": "The authorization token has expired", + "AUTH_TOKEN_INVALID": "The specified auth token is invalid", "AUTH_TOKEN_INVALIDX": "The specified auth token is invalid", + "AUTOARCHIVE_NOT_AVAILABLE": "The autoarchive setting is not available at this time: please check the value of the [autoarchive_setting_available field in client config »](https:\/\/core.telegram.org\/api\/config#client-configuration) before calling this method.", + "BANK_CARD_NUMBER_INVALID": "The specified card number is invalid", "BANNED_RIGHTS_INVALID": "You provided some invalid flags in the banned rights", "BOT_CHANNELS_NA": "Bots can't edit admin privileges", + "BOT_COMMAND_DESCRIPTION_INVALID": "The specified command description is invalid", + "BOT_COMMAND_INVALID": "The specified command is invalid", "BOT_DOMAIN_INVALID": "Bot domain invalid", "BOT_GROUPS_BLOCKED": "This bot can't be added to groups", "BOT_INLINE_DISABLED": "This bot can't be used in inline mode", "BOT_INVALID": "This is not a valid bot", "BOT_METHOD_INVALID": "This method cannot be run by a bot", "BOT_MISSING": "This method can only be run by a bot", + "BOT_ONESIDE_NOT_AVAIL": "", + "BOT_PAYMENTS_DISABLED": "Please enable bot payments in botfather before calling this method.", + "BOT_POLLS_DISABLED": "", "BOT_RESPONSE_TIMEOUT": "A timeout occurred while fetching data from the bot", "BOT_SCORE_NOT_MODIFIED": "The score wasn't modified", "BOTS_TOO_MUCH": "There are too many bots in this chat\/channel", - "BROADCAST_FORBIDDEN": "", + "BROADCAST_FORBIDDEN": "Participants of polls in channels should stay anonymous.", "BROADCAST_ID_INVALID": "Broadcast ID invalid", "BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "You can't forward polls with public voters", "BROADCAST_REQUIRED": "This method can only be called on a channel, please use stats.getMegagroupStats for supergroups", @@ -2773,6 +2982,7 @@ "CHAT_SEND_POLL_FORBIDDEN": "You can't send polls in this chat", "CHAT_SEND_STICKERS_FORBIDDEN": "You can't send stickers in this chat.", "CHAT_TITLE_EMPTY": "No chat title provided", + "CHAT_TOO_BIG": "", "CHAT_WRITE_FORBIDDEN": "You can't write in this chat", "CHP_CALL_FAIL": "Internal failure", "CODE_EMPTY": "The provided code is empty", @@ -2790,16 +3000,24 @@ "CONTACT_ID_INVALID": "The provided contact ID is invalid", "CONTACT_NAME_EMPTY": "Contact name empty", "CONTACT_REQ_MISSING": "Missing contact request", + "CURRENCY_TOTAL_AMOUNT_INVALID": "", "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", "EMAIL_HASH_EXPIRED": "Email hash expired", + "EMAIL_INVALID": "The specified email is invalid", "EMAIL_UNCONFIRMED": "Email unconfirmed", "EMAIL_UNCONFIRMED_X": "The provided email isn't confirmed, X is the length of the verification code that was just sent to the email.", "EMAIL_VERIFY_EXPIRED": "The verification email has expired", + "EMOJI_INVALID": "The specified theme emoji is valid", + "EMOJI_NOT_MODIFIED": "The theme wasn't changed", + "EMOTICON_EMPTY": "The emoji is empty", + "EMOTICON_INVALID": "The specified emoji is invalid", + "EMOTICON_STICKERPACK_MISSING": "", "ENCRYPTED_MESSAGE_INVALID": "Encrypted message invalid", "ENCRYPTION_ALREADY_ACCEPTED": "Secret chat already accepted", "ENCRYPTION_ALREADY_DECLINED": "The secret chat was already declined", @@ -2814,6 +3032,7 @@ "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_CONTENT_TYPE_INVALID": "File content-type is invalid", "FILE_EMTPY": "An empty file was provided", "FILE_ID_INVALID": "The provided file id is invalid", "FILE_PART_EMPTY": "The provided file part is empty", @@ -2823,24 +3042,34 @@ "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_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 https:\/\/core.telegram.org\/api\/file_reference", + "FILE_REFERENCE_INVALID": "The specified [file reference](https:\/\/core.telegram.org\/api\/file_reference) is invalid", + "FILE_TITLE_EMPTY": "An empty file title was specified", "FILEREF_UPGRADE_NEEDED": "The client has to be updated in order to support [file references](https:\/\/core.telegram.org\/api\/file_reference)", "FILTER_ID_INVALID": "The specified filter ID is invalid", "FILTER_INCLUDE_EMPTY": "The include_peers vector of the filter is empty", "FILTER_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_EMPTY": "An empty folder ID was specified", "FOLDER_ID_INVALID": "Invalid folder ID", "FRESH_CHANGE_ADMINS_FORBIDDEN": "You were just elected admin, you can't add or modify other admins yet", - "FRESH_CHANGE_PHONE_FORBIDDEN": "", + "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": "", "GEO_POINT_INVALID": "Invalid geoposition provided", "GIF_CONTENT_TYPE_INVALID": "GIF content-type invalid", "GIF_ID_INVALID": "The provided GIF ID is invalid", "GRAPH_EXPIRED_RELOAD": "This graph has expired, please obtain a new graph token", "GRAPH_INVALID_RELOAD": "Invalid graph token provided, please reload the stats and provide the updated token", "GRAPH_OUTDATED_RELOAD": "The graph is outdated, please get a new async token using stats.getBroadcastStats", + "GROUPCALL_ALREADY_DISCARDED": "The group call was already discarded", + "GROUPCALL_FORBIDDEN": "", + "GROUPCALL_NOT_MODIFIED": "Group call settings weren't modified", + "GROUPCALL_SSRC_DUPLICATE_MUCH": "", "GROUPED_ID_OCCUPY_FAILED": "Internal error", "GROUPED_ID_OCCUPY_FAULED": "Internal error", "GROUPED_MEDIA_INVALID": "Invalid grouped media", @@ -2848,6 +3077,9 @@ "HISTORY_GET_FAILED": "Fetching of history failed", "IMAGE_ENGINE_DOWN": "Image engine down", "IMAGE_PROCESS_FAILED": "Failure while processing image", + "IMPORT_FILE_INVALID": "The specified chat export file is invalid", + "IMPORT_FORMAT_UNRECOGNIZED": "The specified chat export file was exported from an unsupported chat app", + "IMPORT_ID_INVALID": "The specified import ID is invalid", "INLINE_BOT_REQUIRED": "Only the inline bot can edit message", "INLINE_RESULT_EXPIRED": "The inline query expired", "INPUT_FETCH_ERROR": "An error occurred while deserializing TL parameters", @@ -2872,6 +3104,7 @@ "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_CODE_INVALID": "The specified language code is invalid", "LANG_PACK_INVALID": "The provided language pack is invalid", "LASTNAME_INVALID": "The last name is invalid", "LIMIT_INVALID": "The provided limit is invalid", @@ -2879,13 +3112,16 @@ "LOCATION_INVALID": "The provided location is invalid", "LOG_WRAP_FAIL": "Internal error", "MAX_ID_INVALID": "The provided max ID is invalid", + "MAX_QTS_INVALID": "The specified max_qts is invalid", "MD5_CHECKSUM_INVALID": "The MD5 checksums do not match", "MEDIA_CAPTION_TOO_LONG": "The caption is too long", "MEDIA_EMPTY": "The provided media object is invalid", - "MEDIA_GROUPED_INVALID": "", + "MEDIA_GROUPED_INVALID": "You tried to send media of different types in an album.", "MEDIA_INVALID": "Media invalid", + "MEDIA_NEW_INVALID": "The new media is invalid", "MEDIA_PREV_INVALID": "Previous media invalid", "MEGAGROUP_ID_INVALID": "Invalid supergroup ID", + "MEGAGROUP_PREHISTORY_HIDDEN": "", "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)", @@ -2913,6 +3149,7 @@ "NEED_MEMBER_INVALID": "The provided member is invalid", "NEW_SALT_INVALID": "The new salt is invalid", "NEW_SETTINGS_INVALID": "The new settings are invalid", + "NEXT_OFFSET_INVALID": "The specified offset is longer than 64 bytes.", "No workers running": "Internal error", "OFFSET_INVALID": "The provided offset is invalid", "OFFSET_PEER_ID_INVALID": "The provided offset peer is invalid", @@ -2924,12 +3161,17 @@ "PACK_TITLE_INVALID": "The stickerpack title is invalid", "PARTICIPANT_CALL_FAILED": "Failure while making call", "PARTICIPANT_ID_INVALID": "The specified participant ID is invalid", + "PARTICIPANT_JOIN_MISSING": "", "PARTICIPANT_VERSION_OUTDATED": "The other participant does not use an up to date telegram client with support for calls", "PARTICIPANTS_TOO_FEW": "Not enough participants", "PASSWORD_EMPTY": "The provided password is empty", "PASSWORD_HASH_INVALID": "The provided password hash is invalid", "PASSWORD_MISSING": "You must enable 2FA in order to transfer ownership of a channel", + "PASSWORD_RECOVERY_EXPIRED": "The recovery code has expired", + "PASSWORD_RECOVERY_NA": "", + "PASSWORD_REQUIRED": "", "PASSWORD_TOO_FRESH_X": "The password was modified less than 24 hours ago, try again in X seconds", + "PAYMENT_PROVIDER_INVALID": "The specified payment provider is invalid", "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", @@ -2969,13 +3211,17 @@ "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_TOO_LONG": "", "PRIVACY_VALUE_INVALID": "The specified privacy rule combination is invalid", "PTS_CHANGE_EMPTY": "No PTS change", + "PUBLIC_KEY_REQUIRED": "A public key is required", "QUERY_ID_EMPTY": "The query ID is empty", "QUERY_ID_INVALID": "The query ID is invalid", "QUERY_TOO_SHORT": "The query string is too short", "QUIZ_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": "", + "QUIZ_MULTIPLE_INVALID": "", "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", @@ -2985,6 +3231,8 @@ "REG_ID_GENERATE_FAILED": "Failure while generating registration ID", "REPLY_MARKUP_BUY_EMPTY": "Reply markup for buy button empty", "REPLY_MARKUP_INVALID": "The provided reply markup is invalid", + "REPLY_MARKUP_TOO_LONG": "The specified reply_markup is too long", + "RESET_REQUEST_MISSING": "No password reset is in progress", "RESULT_ID_DUPLICATE": "You provided a duplicate result ID", "RESULT_ID_EMPTY": "Result ID empty", "RESULT_TYPE_INVALID": "Result type invalid", @@ -2998,10 +3246,11 @@ "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": "", "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_CODE_UNAVAILABLE": "Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend)", "SEND_MESSAGE_MEDIA_INVALID": "Invalid media provided", "SEND_MESSAGE_TYPE_INVALID": "The message type is invalid", "SENSITIVE_CHANGE_FORBIDDEN": "You can't change your sensitive content settings.", @@ -3009,6 +3258,8 @@ "SESSION_TOO_FRESH_X": "This session was created less than 24 hours ago, try again in X 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", "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.", @@ -3019,15 +3270,20 @@ "START_PARAM_EMPTY": "The start parameter is empty", "START_PARAM_INVALID": "Start parameter invalid", "START_PARAM_TOO_LONG": "Start parameter is too long", + "STICKER_DOCUMENT_INVALID": "The specified sticker document is invalid", "STICKER_EMOJI_INVALID": "Sticker emoji invalid", "STICKER_FILE_INVALID": "Sticker file invalid", "STICKER_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": "", + "STICKER_TGS_NODOC": "Incorrect document type for sticker.", + "STICKER_TGS_NOTGS": "", + "STICKER_THUMB_PNG_NOPNG": "", + "STICKER_THUMB_TGS_NOTGS": "", "STICKERS_EMPTY": "No sticker provided", "STICKERSET_INVALID": "The provided sticker set is invalid", + "STICKERSET_OWNER_ANONYMOUS": "", "STORAGE_CHECK_FAILED": "Server storage check failed", "STORE_INVALID_OBJECT_TYPE": "Internal error", "STORE_INVALID_SCALAR_TYPE": "Tried storing an invalid scalar type", @@ -3037,12 +3293,15 @@ "THEME_FILE_INVALID": "Invalid theme file provided", "THEME_FORMAT_INVALID": "Invalid theme format provided", "THEME_INVALID": "Invalid theme provided", + "THEME_MIME_INVALID": "The theme's MIME type is invalid", "Timeout": "Timeout while fetching data", + "TITLE_INVALID": "The specified stickerpack title is invalid", "TMP_PASSWORD_DISABLED": "The temporary password is disabled", "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", + "TTL_PERIOD_INVALID": "The specified TTL period is invalid", "TYPE_CONSTRUCTOR_INVALID": "The type constructor is invalid", "TYPES_EMPTY": "No top peer type was provided", "UNKNOWN_ERROR": "Internal error", @@ -3073,6 +3332,7 @@ "USER_NOT_PARTICIPANT": "You're not a member of this supergroup\/channel", "USER_PRIVACY_RESTRICTED": "The user's privacy settings do not allow you to do this", "USER_RESTRICTED": "You're spamreported, you can't create channels or chats.", + "USER_VOLUME_INVALID": "The specified user volume is invalid", "USERNAME_INVALID": "The provided username is not valid", "USERNAME_NOT_MODIFIED": "The username was not modified", "USERNAME_NOT_OCCUPIED": "The provided username is not occupied", @@ -3082,14 +3342,18 @@ "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_CONTENT_TYPE_INVALID": "", "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_FILE_INVALID": "The specified wallpaper file is invalid", + "WALLPAPER_INVALID": "The specified wallpaper is invalid", "WALLPAPER_MIME_INVALID": "The specified wallpaper MIME type is invalid", "WC_CONVERT_URL_INVALID": "WC convert URL invalid", "WEBDOCUMENT_INVALID": "Invalid webdocument URL provided", "WEBDOCUMENT_MIME_INVALID": "Invalid webdocument mime type provided", "WEBDOCUMENT_SIZE_TOO_BIG": "Webdocument is too big!", + "WEBDOCUMENT_URL_INVALID": "The specified webdocument URL is invalid", "WEBPAGE_CURL_FAILED": "Failure while fetching the webpage with cURL", "WEBPAGE_MEDIA_EMPTY": "Webpage media empty", "WEBPUSH_AUTH_INVALID": "The specified web push authentication secret is invalid.", diff --git a/v4.json b/v4.json index 30a3b25..0f621a1 100644 --- a/v4.json +++ b/v4.json @@ -26,6 +26,9 @@ "ACCESS_TOKEN_INVALID": [ "auth.importBotAuthorization" ], + "ADMIN_RANK_EMOJI_NOT_ALLOWED": [ + "channels.editAdmin" + ], "ADMIN_RANK_INVALID": [ "channels.editAdmin" ], @@ -33,7 +36,8 @@ "channels.editAdmin" ], "ALBUM_PHOTOS_TOO_MANY": [ - "photos.updateProfilePhoto" + "photos.updateProfilePhoto", + "photos.uploadProfilePhoto" ], "API_ID_INVALID": [ "auth.exportLoginToken", @@ -47,6 +51,9 @@ "ARTICLE_TITLE_EMPTY": [ "messages.setInlineBotResults" ], + "AUDIO_CONTENT_URL_EMPTY": [ + "messages.setInlineBotResults" + ], "AUDIO_TITLE_EMPTY": [ "messages.setInlineBotResults" ], @@ -54,19 +61,37 @@ "auth.importAuthorization", "invokeWithLayer" ], + "AUTH_TOKEN_ALREADY_ACCEPTED": [ + "auth.importLoginToken" + ], "AUTH_TOKEN_EXPIRED": [ "auth.importLoginToken" ], + "AUTH_TOKEN_INVALID": [ + "auth.importLoginToken" + ], "AUTH_TOKEN_INVALIDX": [ "auth.acceptLoginToken", "auth.importLoginToken" ], + "AUTOARCHIVE_NOT_AVAILABLE": [ + "account.setGlobalPrivacySettings" + ], + "BANK_CARD_NUMBER_INVALID": [ + "payments.getBankCardData" + ], "BANNED_RIGHTS_INVALID": [ "messages.editChatDefaultBannedRights" ], "BOT_CHANNELS_NA": [ "channels.editAdmin" ], + "BOT_COMMAND_DESCRIPTION_INVALID": [ + "bots.setBotCommands" + ], + "BOT_COMMAND_INVALID": [ + "bots.setBotCommands" + ], "BOT_DOMAIN_INVALID": [ "messages.sendMessage" ], @@ -89,6 +114,15 @@ "stickers.createStickerSet", "stickers.removeStickerFromSet" ], + "BOT_ONESIDE_NOT_AVAIL": [ + "messages.updatePinnedMessage" + ], + "BOT_PAYMENTS_DISABLED": [ + "messages.sendMedia" + ], + "BOT_POLLS_DISABLED": [ + "messages.sendMedia" + ], "BOT_RESPONSE_TIMEOUT": [ "messages.getBotCallbackAnswer", "messages.getInlineBotResults" @@ -336,6 +370,7 @@ "messages.getMessageEditData", "messages.getScheduledHistory", "messages.getScheduledMessages", + "messages.migrateChat", "messages.search", "messages.sendInlineBotResult", "messages.sendMedia", @@ -406,6 +441,7 @@ "messages.editChatDefaultBannedRights", "messages.editChatPhoto", "messages.editChatTitle", + "messages.setHistoryTTL", "messages.toggleChatAdmins", "messages.updatePinnedMessage" ], @@ -416,12 +452,18 @@ "messages.sendMessage", "messages.uploadMedia" ], + "CHAT_SEND_INLINE_FORBIDDEN": [ + "messages.sendInlineBotResult" + ], "CHAT_TITLE_EMPTY": [ "channels.createChannel", "channels.editTitle", "messages.createChat", "messages.editChatTitle" ], + "CHAT_TOO_BIG": [ + "messages.getMessagesReadParticipants" + ], "CODE_EMPTY": [ "auth.recoverPassword" ], @@ -490,6 +532,9 @@ "CONTACT_REQ_MISSING": [ "contacts.acceptContact" ], + "CURRENCY_TOTAL_AMOUNT_INVALID": [ + "messages.sendMedia" + ], "DATA_INVALID": [ "help.getConfig", "messages.getBotCallbackAnswer", @@ -511,9 +556,16 @@ "DH_G_A_INVALID": [ "messages.requestEncryption" ], + "DOCUMENT_INVALID": [ + "messages.setInlineBotResults" + ], "EMAIL_HASH_EXPIRED": [ "account.confirmPasswordEmail" ], + "EMAIL_INVALID": [ + "account.sendVerifyEmailCode", + "account.verifyEmail" + ], "EMAIL_UNCONFIRMED": [ "account.updatePasswordSettings" ], @@ -523,6 +575,21 @@ "EMAIL_VERIFY_EXPIRED": [ "account.verifyEmail" ], + "EMOJI_INVALID": [ + "messages.setChatTheme" + ], + "EMOJI_NOT_MODIFIED": [ + "messages.setChatTheme" + ], + "EMOTICON_EMPTY": [ + "messages.getStickers" + ], + "EMOTICON_INVALID": [ + "messages.sendMedia" + ], + "EMOTICON_STICKERPACK_MISSING": [ + "messages.getStickerSet" + ], "ENCRYPTED_MESSAGE_INVALID": [ "auth.bindTempAuthKey", "msgs_ack" @@ -560,6 +627,9 @@ "EXTERNAL_URL_INVALID": [ "messages.sendMedia" ], + "FILE_CONTENT_TYPE_INVALID": [ + "messages.setInlineBotResults" + ], "FILE_EMTPY": [ "messages.sendEncryptedFile" ], @@ -593,9 +663,19 @@ "photos.uploadProfilePhoto", "upload.saveBigFilePart" ], + "FILE_REFERENCE_EMPTY": [ + "messages.sendMedia" + ], "FILE_REFERENCE_EXPIRED": [ + "messages.sendMedia", "upload.getFile" ], + "FILE_REFERENCE_INVALID": [ + "channels.editPhoto" + ], + "FILE_TITLE_EMPTY": [ + "messages.setInlineBotResults" + ], "FILTER_ID_INVALID": [ "messages.updateDialogFilter" ], @@ -609,16 +689,28 @@ "account.updateProfile", "auth.signUp" ], + "FOLDER_ID_EMPTY": [ + "folders.deleteFolder" + ], "FOLDER_ID_INVALID": [ "folders.editPeerFolders", "messages.getDialogs", "messages.getPinnedDialogs", "messages.searchGlobal" ], + "FRESH_CHANGE_ADMINS_FORBIDDEN": [ + "channels.editAdmin" + ], "FROM_MESSAGE_BOT_DISABLED": [ "messages.sendMessage", "updates.getChannelDifference" ], + "FROM_PEER_INVALID": [ + "messages.search" + ], + "GAME_BOT_INVALID": [ + "messages.sendMedia" + ], "GEO_POINT_INVALID": [ "contacts.getLocated" ], @@ -637,6 +729,15 @@ "GRAPH_OUTDATED_RELOAD": [ "stats.loadAsyncGraph" ], + "GROUPCALL_ALREADY_DISCARDED": [ + "phone.discardGroupCallRequest" + ], + "GROUPCALL_NOT_MODIFIED": [ + "phone.toggleGroupCallSettings" + ], + "GROUPCALL_SSRC_DUPLICATE_MUCH": [ + "phone.joinGroupCall" + ], "GROUPED_MEDIA_INVALID": [ "messages.forwardMessages" ], @@ -651,6 +752,15 @@ "photos.updateProfilePhoto", "photos.uploadProfilePhoto" ], + "IMPORT_FILE_INVALID": [ + "messages.initHistoryImport" + ], + "IMPORT_FORMAT_UNRECOGNIZED": [ + "messages.initHistoryImport" + ], + "IMPORT_ID_INVALID": [ + "messages.startHistoryImport" + ], "INLINE_RESULT_EXPIRED": [ "messages.sendInlineBotResult" ], @@ -752,6 +862,9 @@ "messages.checkChatInvite", "messages.importChatInvite" ], + "LANG_CODE_INVALID": [ + "bots.setBotCommands" + ], "LANG_PACK_INVALID": [ "langpack.getDifference", "langpack.getLangPack", @@ -773,6 +886,9 @@ "MAX_ID_INVALID": [ "photos.getUserPhotos" ], + "MAX_QTS_INVALID": [ + "messages.receivedQueue" + ], "MD5_CHECKSUM_INVALID": [ "messages.sendEncryptedFile", "messages.sendMedia" @@ -796,12 +912,18 @@ "messages.sendMultiMedia", "messages.uploadMedia" ], + "MEDIA_NEW_INVALID": [ + "messages.editMessage" + ], "MEDIA_PREV_INVALID": [ "messages.editMessage" ], "MEGAGROUP_ID_INVALID": [ "channels.setDiscussionGroup" ], + "MEGAGROUP_PREHISTORY_HIDDEN": [ + "channels.setDiscussionGroup" + ], "MEGAGROUP_REQUIRED": [ "channels.editLocation", "stats.getMegagroupStats" @@ -859,7 +981,8 @@ "messages.setInlineBotResults" ], "METHOD_INVALID": [ - "bots.sendCustomRequest" + "bots.sendCustomRequest", + "messages.searchGifs" ], "MSG_ID_INVALID": [ "account.updateNotifySettings", @@ -929,7 +1052,11 @@ "account.updatePasswordSettings" ], "NEW_SETTINGS_INVALID": [ - "account.updatePasswordSettings" + "account.updatePasswordSettings", + "auth.recoverPassword" + ], + "NEXT_OFFSET_INVALID": [ + "messages.setInlineBotResults" ], "OFFSET_INVALID": [ "upload.getFile" @@ -960,6 +1087,7 @@ "phone.requestCall" ], "PARTICIPANTS_TOO_FEW": [ + "channels.convertToGigagroup", "channels.setStickers" ], "PASSWORD_EMPTY": [ @@ -975,9 +1103,21 @@ "PASSWORD_MISSING": [ "channels.editCreator" ], + "PASSWORD_RECOVERY_EXPIRED": [ + "auth.checkRecoveryPassword" + ], + "PASSWORD_RECOVERY_NA": [ + "auth.requestPasswordRecovery" + ], + "PASSWORD_REQUIRED": [ + "account.saveSecureValue" + ], "PASSWORD_TOO_FRESH_%d": [ "channels.editCreator" ], + "PAYMENT_PROVIDER_INVALID": [ + "messages.sendMedia" + ], "PEER_ID_INVALID": [ "account.getNotifySettings", "account.reportPeer", @@ -1081,6 +1221,7 @@ "auth.sendCode" ], "PHONE_NUMBER_BANNED": [ + "account.sendChangePhoneCode", "auth.checkPhone", "auth.sendCode" ], @@ -1175,7 +1316,8 @@ "messages.sendMedia" ], "POLL_OPTION_INVALID": [ - "messages.sendMedia" + "messages.sendMedia", + "messages.sendMessage" ], "POLL_QUESTION_INVALID": [ "messages.sendMedia" @@ -1184,9 +1326,15 @@ "account.getPrivacy", "account.setPrivacy" ], + "PRIVACY_TOO_LONG": [ + "account.setPrivacy" + ], "PRIVACY_VALUE_INVALID": [ "account.setPrivacy" ], + "PUBLIC_KEY_REQUIRED": [ + "account.getAuthorizationForm" + ], "QUERY_ID_EMPTY": [ "messages.sendInlineBotResult" ], @@ -1205,6 +1353,12 @@ "QUIZ_CORRECT_ANSWERS_EMPTY": [ "messages.sendMedia" ], + "QUIZ_CORRECT_ANSWERS_TOO_MUCH": [ + "messages.sendMedia" + ], + "QUIZ_MULTIPLE_INVALID": [ + "messages.sendMedia" + ], "RANDOM_ID_EMPTY": [ "messages.sendMultiMedia" ], @@ -1229,6 +1383,12 @@ "messages.sendMessage", "messages.setInlineBotResults" ], + "REPLY_MARKUP_TOO_LONG": [ + "messages.sendMessage" + ], + "RESET_REQUEST_MISSING": [ + "account.declinePasswordReset" + ], "RESULT_ID_DUPLICATE": [ "messages.setInlineBotResults" ], @@ -1253,13 +1413,22 @@ "messages.sendMessage" ], "SCHEDULE_DATE_INVALID": [ - "messages.editMessage" + "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" @@ -1288,6 +1457,12 @@ "SHA256_HASH_INVALID": [ "messages.getDocumentByHash" ], + "SHORT_NAME_INVALID": [ + "stickers.checkShortName" + ], + "SHORT_NAME_OCCUPIED": [ + "stickers.checkShortName" + ], "SHORTNAME_OCCUPY_FAILED": [ "stickers.createStickerSet" ], @@ -1299,7 +1474,8 @@ ], "SRP_ID_INVALID": [ "account.updatePasswordSettings", - "auth.checkPassword" + "auth.checkPassword", + "channels.editCreator" ], "SRP_PASSWORD_CHANGED": [ "account.updatePasswordSettings", @@ -1315,6 +1491,9 @@ "START_PARAM_TOO_LONG": [ "messages.startBot" ], + "STICKER_DOCUMENT_INVALID": [ + "messages.setInlineBotResults" + ], "STICKER_EMOJI_INVALID": [ "stickers.createStickerSet" ], @@ -1333,11 +1512,24 @@ "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" + ], "STICKERS_EMPTY": [ "stickers.createStickerSet" ], @@ -1348,6 +1540,9 @@ "stickers.addStickerToSet", "stickers.setStickerSetThumb" ], + "TAKEOUT_REQUIRED": [ + "contacts.getSaved" + ], "TEMP_AUTH_KEY_EMPTY": [ "auth.bindTempAuthKey" ], @@ -1358,7 +1553,14 @@ "account.getTheme" ], "THEME_INVALID": [ - "account.getTheme" + "account.getTheme", + "account.updateTheme" + ], + "THEME_MIME_INVALID": [ + "account.createTheme" + ], + "TITLE_INVALID": [ + "stickers.suggestShortName" ], "TMP_PASSWORD_DISABLED": [ "account.getTmpPassword" @@ -1373,10 +1575,14 @@ "TTL_MEDIA_INVALID": [ "messages.sendMedia" ], + "TTL_PERIOD_INVALID": [ + "messages.setHistoryTTL" + ], "TYPES_EMPTY": [ "contacts.getTopPeers" ], "UNKNOWN_ERROR": [ + "channels.viewSponsoredMessage", "req_DH_params", "req_pq_multi", "set_client_DH_params" @@ -1419,7 +1625,8 @@ ], "USER_BOT_INVALID": [ "bots.answerWebhookJSONQuery", - "bots.sendCustomRequest" + "bots.sendCustomRequest", + "messages.setInlineBotResults" ], "USER_BOT_REQUIRED": [ "messages.getGameHighScores", @@ -1457,14 +1664,21 @@ "users.getFullUser", "users.setSecureValueErrors" ], + "USER_INVALID": [ + "help.editUserInfo", + "help.getSupportName", + "help.getUserInfo" + ], "USER_IS_BLOCKED": [ "messages.addChatUser", "messages.forwardMessages", + "messages.sendEncryptedService", "messages.sendMedia", "messages.sendMessage", "messages.setTyping", "msgs_ack", - "msgs_state_req" + "msgs_state_req", + "phone.requestCall" ], "USER_IS_BOT": [ "messages.forwardMessages", @@ -1478,6 +1692,7 @@ "USER_NOT_MUTUAL_CONTACT": [ "channels.editAdmin", "channels.inviteToChannel", + "messages.addChatUser", "messages.checkHistoryImportPeer" ], "USER_NOT_PARTICIPANT": [ @@ -1486,6 +1701,9 @@ "messages.deleteChatUser", "messages.editChatAdmin" ], + "USER_VOLUME_INVALID": [ + "phone.editGroupCallParticipant" + ], "USERNAME_INVALID": [ "account.checkUsername", "account.updateUsername", @@ -1505,6 +1723,9 @@ "account.updateUsername", "channels.updateUsername" ], + "USERPIC_UPLOAD_REQUIRED": [ + "contacts.getLocated" + ], "USERS_TOO_FEW": [ "messages.createChat" ], @@ -1515,12 +1736,23 @@ "messages.addChatUser", "messages.importChatInvite" ], + "VIDEO_CONTENT_TYPE_INVALID": [ + "messages.sendMedia" + ], "VIDEO_FILE_INVALID": [ "photos.uploadProfilePhoto" ], "VIDEO_TITLE_EMPTY": [ "messages.setInlineBotResults" ], + "WALLPAPER_FILE_INVALID": [ + "account.uploadWallPaper" + ], + "WALLPAPER_INVALID": [ + "account.getWallPaper", + "account.installWallPaper", + "account.saveWallPaper" + ], "WALLPAPER_MIME_INVALID": [ "account.uploadWallPaper" ], @@ -1536,6 +1768,9 @@ "WEBDOCUMENT_SIZE_TOO_BIG": [ "messages.setInlineBotResults" ], + "WEBDOCUMENT_URL_INVALID": [ + "messages.setInlineBotResults" + ], "WEBPAGE_CURL_FAILED": [ "messages.sendInlineBotResult", "messages.sendMedia", @@ -1926,8 +2161,14 @@ "auth.resetAuthorizations" ], "PHONE_NUMBER_INVALID": [ + "account.changePhone", + "account.sendChangePhoneCode", + "auth.cancelCode", "auth.checkPhone", - "auth.sendCode" + "auth.resendCode", + "auth.sendCode", + "auth.signIn", + "auth.signUp" ], "PHONE_PASSWORD_FLOOD": [ "auth.sendCode" @@ -1935,6 +2176,9 @@ "SEND_CODE_UNAVAILABLE": [ "auth.resendCode" ], + "STICKERSET_OWNER_ANONYMOUS": [ + "channels.setStickers" + ], "USER_RESTRICTED": [ "channels.createChannel" ], @@ -2065,6 +2309,9 @@ "updates.getChannelDifference", "updates.getDifference" ], + "GROUPCALL_FORBIDDEN": [ + "phone.inviteToGroupCall" + ], "INLINE_BOT_REQUIRED": [ "messages.editMessage" ], @@ -2076,6 +2323,9 @@ "channels.deleteMessages", "messages.deleteMessages" ], + "PARTICIPANT_JOIN_MISSING": [ + "phone.joinGroupCallPresentation" + ], "POLL_VOTE_REQUIRED": [ "messages.getPollVotes" ], @@ -2091,6 +2341,8 @@ "contacts.getSaved" ], "USER_BOT_INVALID": [ + "bots.answerWebhookJSONQuery", + "bots.sendCustomRequest", "messages.setInlineBotResults" ], "USER_CHANNELS_TOO_MUCH": [ @@ -2105,11 +2357,17 @@ "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": [ @@ -2253,6 +2511,7 @@ "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_EMOJI_NOT_ALLOWED": "An admin rank cannot contain emojis", "ADMIN_RANK_INVALID": "The specified admin rank is invalid.", "ADMINS_TOO_MUCH": "There are too many admins", "ALBUM_PHOTOS_TOO_MANY": "Too many ", @@ -2262,6 +2521,7 @@ "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_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": "An auth key with the same ID was already generated", @@ -2269,20 +2529,29 @@ "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_ALREADY_ACCEPTED": "The specified auth token was already accepted", "AUTH_TOKEN_EXPIRED": "The authorization token has expired", + "AUTH_TOKEN_INVALID": "The specified auth token is invalid", "AUTH_TOKEN_INVALIDX": "The specified auth token is invalid", + "AUTOARCHIVE_NOT_AVAILABLE": "The autoarchive setting is not available at this time: please check the value of the [autoarchive_setting_available field in client config »](https:\/\/core.telegram.org\/api\/config#client-configuration) before calling this method.", + "BANK_CARD_NUMBER_INVALID": "The specified card number is invalid", "BANNED_RIGHTS_INVALID": "You provided some invalid flags in the banned rights", "BOT_CHANNELS_NA": "Bots can't edit admin privileges", + "BOT_COMMAND_DESCRIPTION_INVALID": "The specified command description is invalid", + "BOT_COMMAND_INVALID": "The specified command is invalid", "BOT_DOMAIN_INVALID": "Bot domain invalid", "BOT_GROUPS_BLOCKED": "This bot can't be added to groups", "BOT_INLINE_DISABLED": "This bot can't be used in inline mode", "BOT_INVALID": "This is not a valid bot", "BOT_METHOD_INVALID": "This method cannot be run by a bot", "BOT_MISSING": "This method can only be run by a bot", + "BOT_ONESIDE_NOT_AVAIL": "", + "BOT_PAYMENTS_DISABLED": "Please enable bot payments in botfather before calling this method.", + "BOT_POLLS_DISABLED": "", "BOT_RESPONSE_TIMEOUT": "A timeout occurred while fetching data from the bot", "BOT_SCORE_NOT_MODIFIED": "The score wasn't modified", "BOTS_TOO_MUCH": "There are too many bots in this chat\/channel", - "BROADCAST_FORBIDDEN": "", + "BROADCAST_FORBIDDEN": "Participants of polls in channels should stay anonymous.", "BROADCAST_ID_INVALID": "Broadcast ID invalid", "BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "You can't forward polls with public voters", "BROADCAST_REQUIRED": "This method can only be called on a channel, please use stats.getMegagroupStats for supergroups", @@ -2325,6 +2594,7 @@ "CHAT_SEND_POLL_FORBIDDEN": "You can't send polls in this chat", "CHAT_SEND_STICKERS_FORBIDDEN": "You can't send stickers in this chat.", "CHAT_TITLE_EMPTY": "No chat title provided", + "CHAT_TOO_BIG": "", "CHAT_WRITE_FORBIDDEN": "You can't write in this chat", "CHP_CALL_FAIL": "Internal failure", "CODE_EMPTY": "The provided code is empty", @@ -2342,16 +2612,24 @@ "CONTACT_ID_INVALID": "The provided contact ID is invalid", "CONTACT_NAME_EMPTY": "Contact name empty", "CONTACT_REQ_MISSING": "Missing contact request", + "CURRENCY_TOTAL_AMOUNT_INVALID": "", "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", "EMAIL_HASH_EXPIRED": "Email hash expired", + "EMAIL_INVALID": "The specified email is invalid", "EMAIL_UNCONFIRMED": "Email unconfirmed", "EMAIL_UNCONFIRMED_%d": "The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email.", "EMAIL_VERIFY_EXPIRED": "The verification email has expired", + "EMOJI_INVALID": "The specified theme emoji is valid", + "EMOJI_NOT_MODIFIED": "The theme wasn't changed", + "EMOTICON_EMPTY": "The emoji is empty", + "EMOTICON_INVALID": "The specified emoji is invalid", + "EMOTICON_STICKERPACK_MISSING": "", "ENCRYPTED_MESSAGE_INVALID": "Encrypted message invalid", "ENCRYPTION_ALREADY_ACCEPTED": "Secret chat already accepted", "ENCRYPTION_ALREADY_DECLINED": "The secret chat was already declined", @@ -2366,6 +2644,7 @@ "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_CONTENT_TYPE_INVALID": "File content-type is invalid", "FILE_EMTPY": "An empty file was provided", "FILE_ID_INVALID": "The provided file id is invalid", "FILE_PART_EMPTY": "The provided file part is empty", @@ -2375,24 +2654,34 @@ "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_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 https:\/\/core.telegram.org\/api\/file_reference", + "FILE_REFERENCE_INVALID": "The specified [file reference](https:\/\/core.telegram.org\/api\/file_reference) is invalid", + "FILE_TITLE_EMPTY": "An empty file title was specified", "FILEREF_UPGRADE_NEEDED": "The client has to be updated in order to support [file references](https:\/\/core.telegram.org\/api\/file_reference)", "FILTER_ID_INVALID": "The specified filter ID is invalid", "FILTER_INCLUDE_EMPTY": "The include_peers vector of the filter is empty", "FILTER_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_EMPTY": "An empty folder ID was specified", "FOLDER_ID_INVALID": "Invalid folder ID", "FRESH_CHANGE_ADMINS_FORBIDDEN": "You were just elected admin, you can't add or modify other admins yet", - "FRESH_CHANGE_PHONE_FORBIDDEN": "", + "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": "", "GEO_POINT_INVALID": "Invalid geoposition provided", "GIF_CONTENT_TYPE_INVALID": "GIF content-type invalid", "GIF_ID_INVALID": "The provided GIF ID is invalid", "GRAPH_EXPIRED_RELOAD": "This graph has expired, please obtain a new graph token", "GRAPH_INVALID_RELOAD": "Invalid graph token provided, please reload the stats and provide the updated token", "GRAPH_OUTDATED_RELOAD": "The graph is outdated, please get a new async token using stats.getBroadcastStats", + "GROUPCALL_ALREADY_DISCARDED": "The group call was already discarded", + "GROUPCALL_FORBIDDEN": "", + "GROUPCALL_NOT_MODIFIED": "Group call settings weren't modified", + "GROUPCALL_SSRC_DUPLICATE_MUCH": "", "GROUPED_ID_OCCUPY_FAILED": "Internal error", "GROUPED_ID_OCCUPY_FAULED": "Internal error", "GROUPED_MEDIA_INVALID": "Invalid grouped media", @@ -2400,6 +2689,9 @@ "HISTORY_GET_FAILED": "Fetching of history failed", "IMAGE_ENGINE_DOWN": "Image engine down", "IMAGE_PROCESS_FAILED": "Failure while processing image", + "IMPORT_FILE_INVALID": "The specified chat export file is invalid", + "IMPORT_FORMAT_UNRECOGNIZED": "The specified chat export file was exported from an unsupported chat app", + "IMPORT_ID_INVALID": "The specified import ID is invalid", "INLINE_BOT_REQUIRED": "Only the inline bot can edit message", "INLINE_RESULT_EXPIRED": "The inline query expired", "INPUT_FETCH_ERROR": "An error occurred while deserializing TL parameters", @@ -2424,6 +2716,7 @@ "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_CODE_INVALID": "The specified language code is invalid", "LANG_PACK_INVALID": "The provided language pack is invalid", "LASTNAME_INVALID": "The last name is invalid", "LIMIT_INVALID": "The provided limit is invalid", @@ -2431,13 +2724,16 @@ "LOCATION_INVALID": "The provided location is invalid", "LOG_WRAP_FAIL": "Internal error", "MAX_ID_INVALID": "The provided max ID is invalid", + "MAX_QTS_INVALID": "The specified max_qts is invalid", "MD5_CHECKSUM_INVALID": "The MD5 checksums do not match", "MEDIA_CAPTION_TOO_LONG": "The caption is too long", "MEDIA_EMPTY": "The provided media object is invalid", - "MEDIA_GROUPED_INVALID": "", + "MEDIA_GROUPED_INVALID": "You tried to send media of different types in an album.", "MEDIA_INVALID": "Media invalid", + "MEDIA_NEW_INVALID": "The new media is invalid", "MEDIA_PREV_INVALID": "Previous media invalid", "MEGAGROUP_ID_INVALID": "Invalid supergroup ID", + "MEGAGROUP_PREHISTORY_HIDDEN": "", "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)", @@ -2465,6 +2761,7 @@ "NEED_MEMBER_INVALID": "The provided member is invalid", "NEW_SALT_INVALID": "The new salt is invalid", "NEW_SETTINGS_INVALID": "The new settings are invalid", + "NEXT_OFFSET_INVALID": "The specified offset is longer than 64 bytes.", "No workers running": "Internal error", "OFFSET_INVALID": "The provided offset is invalid", "OFFSET_PEER_ID_INVALID": "The provided offset peer is invalid", @@ -2476,12 +2773,17 @@ "PACK_TITLE_INVALID": "The stickerpack title is invalid", "PARTICIPANT_CALL_FAILED": "Failure while making call", "PARTICIPANT_ID_INVALID": "The specified participant ID is invalid", + "PARTICIPANT_JOIN_MISSING": "", "PARTICIPANT_VERSION_OUTDATED": "The other participant does not use an up to date telegram client with support for calls", "PARTICIPANTS_TOO_FEW": "Not enough participants", "PASSWORD_EMPTY": "The provided password is empty", "PASSWORD_HASH_INVALID": "The provided password hash is invalid", "PASSWORD_MISSING": "You must enable 2FA in order to transfer ownership of a channel", + "PASSWORD_RECOVERY_EXPIRED": "The recovery code has expired", + "PASSWORD_RECOVERY_NA": "", + "PASSWORD_REQUIRED": "", "PASSWORD_TOO_FRESH_%d": "The password was modified less than 24 hours ago, try again in %d seconds", + "PAYMENT_PROVIDER_INVALID": "The specified payment provider is invalid", "PEER_FLOOD": "Too many requests", "PEER_ID_INVALID": "The provided peer id is invalid", "PEER_ID_NOT_SUPPORTED": "The provided peer ID is not supported", @@ -2521,13 +2823,17 @@ "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_TOO_LONG": "", "PRIVACY_VALUE_INVALID": "The specified privacy rule combination is invalid", "PTS_CHANGE_EMPTY": "No PTS change", + "PUBLIC_KEY_REQUIRED": "A public key is required", "QUERY_ID_EMPTY": "The query ID is empty", "QUERY_ID_INVALID": "The query ID is invalid", "QUERY_TOO_SHORT": "The query string is too short", "QUIZ_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": "", + "QUIZ_MULTIPLE_INVALID": "", "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", @@ -2537,6 +2843,8 @@ "REG_ID_GENERATE_FAILED": "Failure while generating registration ID", "REPLY_MARKUP_BUY_EMPTY": "Reply markup for buy button empty", "REPLY_MARKUP_INVALID": "The provided reply markup is invalid", + "REPLY_MARKUP_TOO_LONG": "The specified reply_markup is too long", + "RESET_REQUEST_MISSING": "No password reset is in progress", "RESULT_ID_DUPLICATE": "You provided a duplicate result ID", "RESULT_ID_EMPTY": "Result ID empty", "RESULT_TYPE_INVALID": "Result type invalid", @@ -2550,10 +2858,11 @@ "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": "", "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_CODE_UNAVAILABLE": "Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend)", "SEND_MESSAGE_MEDIA_INVALID": "Invalid media provided", "SEND_MESSAGE_TYPE_INVALID": "The message type is invalid", "SENSITIVE_CHANGE_FORBIDDEN": "You can't change your sensitive content settings.", @@ -2561,6 +2870,8 @@ "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", "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.", @@ -2571,15 +2882,20 @@ "START_PARAM_EMPTY": "The start parameter is empty", "START_PARAM_INVALID": "Start parameter invalid", "START_PARAM_TOO_LONG": "Start parameter is too long", + "STICKER_DOCUMENT_INVALID": "The specified sticker document is invalid", "STICKER_EMOJI_INVALID": "Sticker emoji invalid", "STICKER_FILE_INVALID": "Sticker file invalid", "STICKER_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": "", + "STICKER_TGS_NODOC": "Incorrect document type for sticker.", + "STICKER_TGS_NOTGS": "", + "STICKER_THUMB_PNG_NOPNG": "", + "STICKER_THUMB_TGS_NOTGS": "", "STICKERS_EMPTY": "No sticker provided", "STICKERSET_INVALID": "The provided sticker set is invalid", + "STICKERSET_OWNER_ANONYMOUS": "", "STORAGE_CHECK_FAILED": "Server storage check failed", "STORE_INVALID_OBJECT_TYPE": "Internal error", "STORE_INVALID_SCALAR_TYPE": "Tried storing an invalid scalar type", @@ -2589,12 +2905,15 @@ "THEME_FILE_INVALID": "Invalid theme file provided", "THEME_FORMAT_INVALID": "Invalid theme format provided", "THEME_INVALID": "Invalid theme provided", + "THEME_MIME_INVALID": "The theme's MIME type is invalid", "Timeout": "Timeout while fetching data", + "TITLE_INVALID": "The specified stickerpack title is invalid", "TMP_PASSWORD_DISABLED": "The temporary password is disabled", "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", + "TTL_PERIOD_INVALID": "The specified TTL period is invalid", "TYPE_CONSTRUCTOR_INVALID": "The type constructor is invalid", "TYPES_EMPTY": "No top peer type was provided", "UNKNOWN_ERROR": "Internal error", @@ -2625,6 +2944,7 @@ "USER_NOT_PARTICIPANT": "You're not a member of this supergroup\/channel", "USER_PRIVACY_RESTRICTED": "The user's privacy settings do not allow you to do this", "USER_RESTRICTED": "You're spamreported, you can't create channels or chats.", + "USER_VOLUME_INVALID": "The specified user volume is invalid", "USERNAME_INVALID": "The provided username is not valid", "USERNAME_NOT_MODIFIED": "The username was not modified", "USERNAME_NOT_OCCUPIED": "The provided username is not occupied", @@ -2634,14 +2954,18 @@ "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_CONTENT_TYPE_INVALID": "", "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_FILE_INVALID": "The specified wallpaper file is invalid", + "WALLPAPER_INVALID": "The specified wallpaper is invalid", "WALLPAPER_MIME_INVALID": "The specified wallpaper MIME type is invalid", "WC_CONVERT_URL_INVALID": "WC convert URL invalid", "WEBDOCUMENT_INVALID": "Invalid webdocument URL provided", "WEBDOCUMENT_MIME_INVALID": "Invalid webdocument mime type provided", "WEBDOCUMENT_SIZE_TOO_BIG": "Webdocument is too big!", + "WEBDOCUMENT_URL_INVALID": "The specified webdocument URL is invalid", "WEBPAGE_CURL_FAILED": "Failure while fetching the webpage with cURL", "WEBPAGE_MEDIA_EMPTY": "Webpage media empty", "WEBPUSH_AUTH_INVALID": "The specified web push authentication secret is invalid.",