{"ok":true,"result":{"account.deleteAccount":[{"error_code":420,"error_message":"2FA_CONFIRM_WAIT_%d","error_description":"Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds."}],"account.updateProfile":[{"error_code":400,"error_message":"ABOUT_TOO_LONG","error_description":"About string too long"},{"error_code":400,"error_message":"FIRSTNAME_INVALID","error_description":"The first name is invalid"}],"auth.importBotAuthorization":[{"error_code":400,"error_message":"ACCESS_TOKEN_EXPIRED","error_description":"Access token expired"},{"error_code":400,"error_message":"ACCESS_TOKEN_INVALID","error_description":"Access token invalid"},{"error_code":400,"error_message":"API_ID_INVALID","error_description":"API ID invalid"},{"error_code":400,"error_message":"API_ID_PUBLISHED_FLOOD","error_description":"This API id was published somewhere, you can't use it now"}],"channels.reportSponsoredMessage":[{"error_code":400,"error_message":"AD_EXPIRED","error_description":"The ad has expired (too old or not found)."},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"channels.createChannel":[{"error_code":400,"error_message":"ADDRESS_INVALID","error_description":"The specified geopoint address is invalid"},{"error_code":420,"error_message":"ADDRESS_INVALID","error_description":"The specified geopoint address is invalid"},{"error_code":400,"error_message":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","error_description":"The user has reached the limit of public geogroups"},{"error_code":400,"error_message":"CHANNELS_TOO_MUCH","error_description":"You have joined too many channels\/supergroups"},{"error_code":400,"error_message":"CHAT_ABOUT_TOO_LONG","error_description":"Chat about too long"},{"error_code":400,"error_message":"CHAT_TITLE_EMPTY","error_description":"No chat title provided"},{"error_code":400,"error_message":"TTL_PERIOD_INVALID","error_description":"The specified TTL period is invalid"},{"error_code":403,"error_message":"USER_RESTRICTED","error_description":"You're spamreported, you can't create channels or chats."},{"error_code":406,"error_message":"USER_RESTRICTED","error_description":"You're spamreported, you can't create channels or chats."}],"messages.deleteRevokedExportedChatInvites":[{"error_code":400,"error_message":"ADMIN_ID_INVALID","error_description":"The specified admin ID is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getExportedChatInvites":[{"error_code":400,"error_message":"ADMIN_ID_INVALID","error_description":"The specified admin ID is invalid"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":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_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"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","error_description":"The specified admin rank is invalid."},{"error_code":400,"error_message":"ADMINS_TOO_MUCH","error_description":"There are too many admins"},{"error_code":400,"error_message":"BOT_CHANNELS_NA","error_description":"Bots can't edit admin privileges"},{"error_code":400,"error_message":"BOT_GROUPS_BLOCKED","error_description":"This bot can't be added to groups"},{"error_code":400,"error_message":"BOTS_TOO_MUCH","error_description":"There are too many bots in this chat\/channel"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":403,"error_message":"CHAT_ADMIN_INVITE_REQUIRED","error_description":"You do not have the rights to do this"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":403,"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","error_description":"You were just elected admin, you can't add or modify other admins yet"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":403,"error_message":"RIGHT_FORBIDDEN","error_description":"Your admin rights do not allow you to do this"},{"error_code":400,"error_message":"USER_BLOCKED","error_description":"User blocked"},{"error_code":403,"error_message":"USER_CHANNELS_TOO_MUCH","error_description":"One of the users you tried to add is already in too many channels\/supergroups"},{"error_code":400,"error_message":"USER_CREATOR","error_description":"For channels.editAdmin: you've tried to edit the admin rights of the owner, but you're not the owner; for channels.leaveChannel: you can't leave this channel, because you're its creator."},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"},{"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","error_description":"The provided user is not a mutual contact"},{"error_code":403,"error_message":"USER_PRIVACY_RESTRICTED","error_description":"The user's privacy settings do not allow you to do this"},{"error_code":403,"error_message":"USER_RESTRICTED","error_description":"You're spamreported, you can't create channels or chats."},{"error_code":400,"error_message":"USERS_TOO_MUCH","error_description":"The maximum number of users has been exceeded (to create a chat, for example)"}],"messages.sendMessage":[{"error_code":400,"error_message":"ADMIN_RIGHTS_EMPTY","error_description":"The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0)."},{"error_code":400,"error_message":"BOT_DOMAIN_INVALID","error_description":"Bot domain invalid"},{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"BUSINESS_PEER_INVALID","error_description":"Messages can't be set to the specified peer through the current [business connection](https:\/\/core.telegram.org\/api\/business#connected-bots)."},{"error_code":400,"error_message":"BUTTON_DATA_INVALID","error_description":"The data of one or more of the buttons you provided is invalid"},{"error_code":400,"error_message":"BUTTON_TYPE_INVALID","error_description":"The type of one or more of the buttons you provided is invalid"},{"error_code":400,"error_message":"BUTTON_URL_INVALID","error_description":"Button URL invalid"},{"error_code":400,"error_message":"BUTTON_USER_INVALID","error_description":"The `user_id` passed to inputKeyboardButtonUserProfile is invalid!"},{"error_code":400,"error_message":"BUTTON_USER_PRIVACY_RESTRICTED","error_description":"The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](https:\/\/core.telegram.org\/constructor\/inputKeyboardButtonUserProfile) button do not allow creating such a button"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":403,"error_message":"CHAT_GUEST_SEND_FORBIDDEN","error_description":"You join the discussion group before commenting, see [here »](https:\/\/core.telegram.org\/api\/discussion#requiring-users-to-join-the-group) for more info."},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_RESTRICTED","error_description":"You can't send messages in this chat, you were restricted"},{"error_code":403,"error_message":"CHAT_SEND_PLAIN_FORBIDDEN","error_description":"You can't send non-media (text) messages in this chat"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"DOCUMENT_INVALID","error_description":"The specified document is invalid"},{"error_code":400,"error_message":"ENCRYPTION_DECLINED","error_description":"The secret chat was declined"},{"error_code":400,"error_message":"ENTITIES_TOO_LONG","error_description":"You provided too many styled message entities"},{"error_code":400,"error_message":"ENTITY_BOUNDS_INVALID","error_description":"A specified [entity offset or length](https:\/\/core.telegram.org\/api\/entities#entity-length) is invalid, see [here »](https:\/\/core.telegram.org\/api\/entities#entity-length) for info on how to properly compute the entity offset\/length"},{"error_code":400,"error_message":"ENTITY_MENTION_USER_INVALID","error_description":"You mentioned an invalid user"},{"error_code":400,"error_message":"FROM_MESSAGE_BOT_DISABLED","error_description":"Bots can't use fromMessage min constructors"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MESSAGE_EMPTY","error_description":"The provided message is empty"},{"error_code":400,"error_message":"MESSAGE_TOO_LONG","error_description":"The provided message is too long"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":406,"error_message":"PAYMENT_UNSUPPORTED","error_description":"A detailed description of the error will be received separately as described [here »](https:\/\/core.telegram.org\/api\/errors#406-not-acceptable)"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"PINNED_DIALOGS_TOO_MUCH","error_description":"Too many pinned dialogs"},{"error_code":400,"error_message":"POLL_OPTION_INVALID","error_description":"Invalid poll option provided"},{"error_code":403,"error_message":"PRIVACY_PREMIUM_REQUIRED","error_description":"You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user."},{"error_code":406,"error_message":"PRIVACY_PREMIUM_REQUIRED","error_description":"You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user."},{"error_code":400,"error_message":"QUICK_REPLIES_TOO_MUCH","error_description":"A maximum of [appConfig.`quick_replies_limit`](https:\/\/core.telegram.org\/api\/config#quick-replies-limit) shortcuts may be created, the limit was reached."},{"error_code":400,"error_message":"QUOTE_TEXT_INVALID","error_description":"The specified `reply_to`.`quote_text` field is invalid."},{"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":"REPLY_MESSAGE_ID_INVALID","error_description":"The specified reply-to message ID is invalid"},{"error_code":400,"error_message":"REPLY_MESSAGES_TOO_MUCH","error_description":"Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https:\/\/core.telegram.org\/api\/config#quick-reply-messages-limit) messages, the limit was reached."},{"error_code":400,"error_message":"REPLY_TO_INVALID","error_description":"The specified `reply_to` field is invalid"},{"error_code":400,"error_message":"REPLY_TO_USER_INVALID","error_description":"The replied-to user is invalid"},{"error_code":400,"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_STATUS_PRIVATE","error_description":"Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings."},{"error_code":400,"error_message":"SCHEDULE_TOO_MUCH","error_description":"There are too many scheduled messages"},{"error_code":400,"error_message":"SEND_AS_PEER_INVALID","error_description":"You can't send messages as the specified peer"},{"error_code":420,"error_message":"SLOWMODE_WAIT_%d","error_description":"Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat."},{"error_code":400,"error_message":"STORY_ID_INVALID","error_description":"The specified story ID is invalid"},{"error_code":400,"error_message":"TOPIC_CLOSED","error_description":"This topic was closed, you can't send messages to it anymore"},{"error_code":406,"error_message":"TOPIC_CLOSED","error_description":"This topic was closed, you can't send messages to it anymore"},{"error_code":400,"error_message":"TOPIC_DELETED","error_description":"The specified topic was deleted"},{"error_code":406,"error_message":"TOPIC_DELETED","error_description":"The specified topic was deleted"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"},{"error_code":400,"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":"WC_CONVERT_URL_INVALID","error_description":"WC convert URL invalid"},{"error_code":400,"error_message":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"photos.updateProfilePhoto":[{"error_code":400,"error_message":"ALBUM_PHOTOS_TOO_MANY","error_description":"You have uploaded too many profile photos, delete some before retrying."},{"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":"LOCATION_INVALID","error_description":"The provided location is invalid"},{"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_ID_INVALID","error_description":"Photo ID invalid"}],"photos.uploadProfilePhoto":[{"error_code":400,"error_message":"ALBUM_PHOTOS_TOO_MANY","error_description":"You have uploaded too many profile photos, delete some before retrying."},{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"EMOJI_MARKUP_INVALID","error_description":"The specified `video_emoji_markup` was invalid"},{"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":400,"error_message":"PHOTO_INVALID","error_description":"Photo invalid"},{"error_code":400,"error_message":"STICKER_MIME_INVALID","error_description":"The specified sticker MIME type is invalid"},{"error_code":400,"error_message":"VIDEO_FILE_INVALID","error_description":"The specified video file is invalid"}],"messages.sendReaction":[{"error_code":403,"error_message":"ANONYMOUS_REACTIONS_DISABLED","error_description":"Sorry, anonymous administrators cannot leave reactions or participate in polls."},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"CUSTOM_REACTIONS_TOO_MANY","error_description":"Too many custom reactions were specified."},{"error_code":400,"error_message":"DOCUMENT_INVALID","error_description":"The specified document is invalid"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"MESSAGE_NOT_MODIFIED","error_description":"The provided message data is identical to the previous message data, the message wasn't modified"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."},{"error_code":400,"error_message":"REACTION_EMPTY","error_description":"Empty reaction provided"},{"error_code":400,"error_message":"REACTION_INVALID","error_description":"The specified reaction is invalid"},{"error_code":400,"error_message":"REACTIONS_TOO_MANY","error_description":"The message already has exactly `reactions_uniq_max` reaction emojis, you can't react with a new emoji, see [the docs for more info »](https:\/\/core.telegram.org\/api\/config#client-configuration)"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"}],"auth.exportLoginToken":[{"error_code":400,"error_message":"API_ID_INVALID","error_description":"API ID invalid"},{"error_code":400,"error_message":"API_ID_PUBLISHED_FLOOD","error_description":"This API id was published somewhere, you can't use it now"}],"auth.importWebTokenAuthorization":[{"error_code":400,"error_message":"API_ID_INVALID","error_description":"API ID invalid"}],"auth.sendCode":[{"error_code":400,"error_message":"API_ID_INVALID","error_description":"API ID invalid"},{"error_code":400,"error_message":"API_ID_PUBLISHED_FLOOD","error_description":"This API id was published somewhere, you can't use it now"},{"error_code":400,"error_message":"PHONE_NUMBER_APP_SIGNUP_FORBIDDEN","error_description":"You can't sign up using this app"},{"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_FLOOD","error_description":"You asked for the code too many times."},{"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"},{"error_code":406,"error_message":"PHONE_PASSWORD_FLOOD","error_description":"You have tried logging in too many times"},{"error_code":400,"error_message":"PHONE_PASSWORD_PROTECTED","error_description":"This phone is password protected"},{"error_code":400,"error_message":"SMS_CODE_CREATE_FAILED","error_description":"An error occurred while creating the SMS code"},{"error_code":406,"error_message":"UPDATE_APP_TO_LOGIN","error_description":"Please update to the latest version of MadelineProto to login."}],"messages.setInlineBotResults":[{"error_code":400,"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","error_description":"An empty audio title was provided."},{"error_code":400,"error_message":"BUTTON_DATA_INVALID","error_description":"The data of one or more of the buttons you provided is invalid"},{"error_code":400,"error_message":"BUTTON_TYPE_INVALID","error_description":"The type of one or more of the buttons you provided is invalid"},{"error_code":400,"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","error_description":"GIF content-type invalid"},{"error_code":400,"error_message":"MESSAGE_EMPTY","error_description":"The provided message is empty"},{"error_code":400,"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","error_description":"Photo mime-type invalid"},{"error_code":400,"error_message":"PHOTO_CONTENT_URL_EMPTY","error_description":"Photo URL invalid"},{"error_code":400,"error_message":"PHOTO_INVALID","error_description":"Photo invalid"},{"error_code":400,"error_message":"PHOTO_THUMB_URL_EMPTY","error_description":"Photo thumbnail URL is empty"},{"error_code":400,"error_message":"QUERY_ID_INVALID","error_description":"The query ID is invalid"},{"error_code":400,"error_message":"REPLY_MARKUP_INVALID","error_description":"The provided reply markup is invalid"},{"error_code":400,"error_message":"RESULT_ID_DUPLICATE","error_description":"You provided a duplicate result ID"},{"error_code":400,"error_message":"RESULT_ID_INVALID","error_description":"One of the specified result IDs is invalid"},{"error_code":400,"error_message":"RESULT_TYPE_INVALID","error_description":"Result type invalid"},{"error_code":400,"error_message":"RESULTS_TOO_MUCH","error_description":"Too many results were provided"},{"error_code":400,"error_message":"SEND_MESSAGE_MEDIA_INVALID","error_description":"Invalid media provided"},{"error_code":400,"error_message":"SEND_MESSAGE_TYPE_INVALID","error_description":"The message type is invalid"},{"error_code":400,"error_message":"START_PARAM_EMPTY","error_description":"The start parameter is empty"},{"error_code":400,"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":"SWITCH_PM_TEXT_EMPTY","error_description":"The switch_pm.text field was empty"},{"error_code":400,"error_message":"SWITCH_WEBVIEW_URL_INVALID","error_description":"The URL specified in switch_webview.url is invalid!"},{"error_code":400,"error_message":"URL_INVALID","error_description":"Invalid URL provided"},{"error_code":400,"error_message":"USER_BOT_INVALID","error_description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."},{"error_code":403,"error_message":"USER_BOT_INVALID","error_description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"},{"error_code":400,"error_message":"VIDEO_TITLE_EMPTY","error_description":"The specified video title is empty"},{"error_code":400,"error_message":"WEBDOCUMENT_INVALID","error_description":"Invalid webdocument URL provided"},{"error_code":400,"error_message":"WEBDOCUMENT_MIME_INVALID","error_description":"Invalid webdocument mime type provided"},{"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":[{"error_code":400,"error_message":"AUTH_BYTES_INVALID","error_description":"The provided authorization is invalid"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"invokeWithLayer":[{"error_code":400,"error_message":"AUTH_BYTES_INVALID","error_description":"The provided authorization is invalid"},{"error_code":400,"error_message":"CDN_METHOD_INVALID","error_description":"You can't call this method in a CDN DC"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"CONNECTION_API_ID_INVALID","error_description":"The provided API id is invalid"},{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":406,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"}],"auth.acceptLoginToken":[{"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_EXCEPTION","error_description":"An error occurred while importing the auth token"},{"error_code":400,"error_message":"AUTH_TOKEN_EXPIRED","error_description":"The authorization token has expired"},{"error_code":400,"error_message":"AUTH_TOKEN_INVALIDX","error_description":"The specified auth token is invalid"}],"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","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."},{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"payments.sendStarsForm":[{"error_code":400,"error_message":"BALANCE_TOO_LOW","error_description":"The transaction cannot be completed because the current [Telegram Stars balance](https:\/\/core.telegram.org\/api\/stars) is too low."},{"error_code":400,"error_message":"FORM_EXPIRED","error_description":"The form was generated more than 10 minutes ago and has expired, please re-generate it using [payments.getPaymentForm](https:\/\/core.telegram.org\/method\/payments.getPaymentForm) and pass the new `form_id`."},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"payments.getBankCardData":[{"error_code":400,"error_message":"BANK_CARD_NUMBER_INVALID","error_description":"The specified card number is invalid"}],"channels.editBanned":[{"error_code":406,"error_message":"BANNED_RIGHTS_INVALID","error_description":"You provided some invalid flags in the banned rights"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PARTICIPANT_ID_INVALID","error_description":"The specified participant ID is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_ADMIN_INVALID","error_description":"You're not an admin"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"messages.editChatDefaultBannedRights":[{"error_code":400,"error_message":"BANNED_RIGHTS_INVALID","error_description":"You provided some invalid flags in the banned rights"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"UNTIL_DATE_INVALID","error_description":"Invalid until date provided"}],"account.updateBirthday":[{"error_code":400,"error_message":"BIRTHDAY_INVALID","error_description":"An invalid age was specified, must be between 0 and 150 years."}],"stories.applyBoost":[{"error_code":400,"error_message":"BOOST_NOT_MODIFIED","error_description":"You're already [boosting](https:\/\/core.telegram.org\/api\/boost) the specified channel."},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"stories.canApplyBoost":[{"error_code":400,"error_message":"BOOST_NOT_MODIFIED","error_description":"You're already [boosting](https:\/\/core.telegram.org\/api\/boost) the specified channel."},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"payments.getPaymentForm":[{"error_code":400,"error_message":"BOOST_PEER_INVALID","error_description":"The specified `boost_peer` is invalid"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"SLUG_INVALID","error_description":"The specified invoice slug is invalid"},{"error_code":400,"error_message":"UNTIL_DATE_INVALID","error_description":"Invalid until date provided"}],"premium.applyBoost":[{"error_code":400,"error_message":"BOOSTS_EMPTY","error_description":"No boost slots were specified"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"SLOTS_EMPTY","error_description":"The specified slot list is empty"}],"channels.updateColor":[{"error_code":400,"error_message":"BOOSTS_REQUIRED","error_description":"The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to perform this action."},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"stories.canSendStory":[{"error_code":400,"error_message":"BOOSTS_REQUIRED","error_description":"The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to perform this action."},{"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":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."},{"error_code":400,"error_message":"STORIES_TOO_MUCH","error_description":"You have hit the maximum active stories limit as specified by the [`story_expiring_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#story-expiring-limit-default): you should buy a [Premium](https:\/\/core.telegram.org\/api\/premium) subscription, delete an active story, or wait for the oldest story to expire."},{"error_code":400,"error_message":"STORY_SEND_FLOOD_MONTHLY_%d","error_description":"You've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story."},{"error_code":400,"error_message":"STORY_SEND_FLOOD_WEEKLY_%d","error_description":"You've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story."}],"stories.sendStory":[{"error_code":400,"error_message":"BOOSTS_REQUIRED","error_description":"The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to perform this action."},{"error_code":400,"error_message":"IMAGE_PROCESS_FAILED","error_description":"Failure while processing image"},{"error_code":400,"error_message":"MEDIA_EMPTY","error_description":"The provided media object is invalid"},{"error_code":400,"error_message":"MEDIA_FILE_INVALID","error_description":"The specified media file is invalid"},{"error_code":400,"error_message":"MEDIA_TYPE_INVALID","error_description":"The specified media type cannot be used in stories"},{"error_code":400,"error_message":"MEDIA_VIDEO_STORY_MISSING","error_description":"A non-story video cannot be repubblished as a story (emitted when trying to resend a non-story video as a story using inputDocument)."},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."},{"error_code":400,"error_message":"STORIES_TOO_MUCH","error_description":"You have hit the maximum active stories limit as specified by the [`story_expiring_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#story-expiring-limit-default): you should buy a [Premium](https:\/\/core.telegram.org\/api\/premium) subscription, delete an active story, or wait for the oldest story to expire."},{"error_code":400,"error_message":"STORY_PERIOD_INVALID","error_description":"The specified story period is invalid for this account."},{"error_code":400,"error_message":"VENUE_ID_INVALID","error_description":"The specified venue ID is invalid"}],"account.disablePeerConnectedBot":[{"error_code":400,"error_message":"BOT_ALREADY_DISABLED","error_description":"The connected business bot was already disabled for the specified peer."},{"error_code":400,"error_message":"BOT_NOT_CONNECTED_YET","error_description":"No [business bot](https:\/\/core.telegram.org\/api\/business#connected-bots) is connected to the currently logged in user."},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getBotApp":[{"error_code":400,"error_message":"BOT_APP_BOT_INVALID","error_description":"The bot_id passed in the inputBotAppShortName constructor is invalid."},{"error_code":400,"error_message":"BOT_APP_INVALID","error_description":"The specified bot app is invalid"},{"error_code":400,"error_message":"BOT_APP_SHORTNAME_INVALID","error_description":"The specified bot app short name is invalid"}],"messages.requestAppWebView":[{"error_code":400,"error_message":"BOT_APP_INVALID","error_description":"The specified bot app is invalid"},{"error_code":400,"error_message":"BOT_APP_SHORTNAME_INVALID","error_description":"The specified bot app short name is invalid"}],"account.updateConnectedBot":[{"error_code":400,"error_message":"BOT_BUSINESS_MISSING","error_description":"The specified bot is not a business bot (the [user](https:\/\/core.telegram.org\/constructor\/user).`bot_business` flag is not set)."},{"error_code":400,"error_message":"BUSINESS_RECIPIENTS_EMPTY","error_description":"You didn't set any flag in inputBusinessBotRecipients, thus the bot cannot work with *any* peer."},{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"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"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"messages.editMessage":[{"error_code":400,"error_message":"BOT_DOMAIN_INVALID","error_description":"Bot domain invalid"},{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"BUTTON_DATA_INVALID","error_description":"The data of one or more of the buttons you provided is invalid"},{"error_code":400,"error_message":"BUTTON_TYPE_INVALID","error_description":"The type of one or more of the buttons you provided is invalid"},{"error_code":400,"error_message":"BUTTON_URL_INVALID","error_description":"Button URL invalid"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_FORWARDS_RESTRICTED","error_description":"You can't forward messages from a protected chat"},{"error_code":403,"error_message":"CHAT_SEND_GIFS_FORBIDDEN","error_description":"You can't send gifs in this chat"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"DOCUMENT_INVALID","error_description":"The specified document is invalid"},{"error_code":400,"error_message":"ENTITIES_TOO_LONG","error_description":"You provided too many styled message entities"},{"error_code":400,"error_message":"ENTITY_BOUNDS_INVALID","error_description":"A specified [entity offset or length](https:\/\/core.telegram.org\/api\/entities#entity-length) is invalid, see [here »](https:\/\/core.telegram.org\/api\/entities#entity-length) for info on how to properly compute the entity offset\/length"},{"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":403,"error_message":"INLINE_BOT_REQUIRED","error_description":"Only the inline bot can edit message"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MEDIA_CAPTION_TOO_LONG","error_description":"The caption is too long"},{"error_code":400,"error_message":"MEDIA_EMPTY","error_description":"The provided media object is invalid"},{"error_code":400,"error_message":"MEDIA_GROUPED_INVALID","error_description":"You tried to send media of different types in an album."},{"error_code":400,"error_message":"MEDIA_INVALID","error_description":"Media invalid"},{"error_code":400,"error_message":"MEDIA_NEW_INVALID","error_description":"The new media is invalid"},{"error_code":400,"error_message":"MEDIA_PREV_INVALID","error_description":"Previous media invalid"},{"error_code":400,"error_message":"MEDIA_TTL_INVALID","error_description":"The specified media TTL is invalid"},{"error_code":403,"error_message":"MESSAGE_AUTHOR_REQUIRED","error_description":"Message author required"},{"error_code":400,"error_message":"MESSAGE_EDIT_TIME_EXPIRED","error_description":"You can't edit this message anymore, too much time has passed since its creation."},{"error_code":400,"error_message":"MESSAGE_EMPTY","error_description":"The provided message is empty"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"MESSAGE_NOT_MODIFIED","error_description":"The provided message data is identical to the previous message data, the message wasn't modified"},{"error_code":400,"error_message":"MESSAGE_TOO_LONG","error_description":"The provided message is too long"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"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_DATE_INVALID","error_description":"Invalid schedule date provided"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"},{"error_code":400,"error_message":"WEBPAGE_NOT_FOUND","error_description":"A preview for the specified webpage `url` could not be generated"}],"messages.sendMedia":[{"error_code":400,"error_message":"BOT_GAMES_DISABLED","error_description":"Games can't be sent to channels."},{"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":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","error_description":"You can't forward polls with public voters"},{"error_code":400,"error_message":"BUTTON_DATA_INVALID","error_description":"The data of one or more of the buttons you provided is invalid"},{"error_code":400,"error_message":"BUTTON_POS_INVALID","error_description":"The position of one of the keyboard buttons is invalid (i.e. a Game or Pay button not in the first position, and so on...)"},{"error_code":400,"error_message":"BUTTON_TYPE_INVALID","error_description":"The type of one or more of the buttons you provided is invalid"},{"error_code":400,"error_message":"BUTTON_URL_INVALID","error_description":"Button URL invalid"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_FORWARDS_RESTRICTED","error_description":"You can't forward messages from a protected chat"},{"error_code":403,"error_message":"CHAT_GUEST_SEND_FORBIDDEN","error_description":"You join the discussion group before commenting, see [here »](https:\/\/core.telegram.org\/api\/discussion#requiring-users-to-join-the-group) for more info."},{"error_code":400,"error_message":"CHAT_RESTRICTED","error_description":"You can't send messages in this chat, you were restricted"},{"error_code":403,"error_message":"CHAT_SEND_AUDIOS_FORBIDDEN","error_description":"You can't send audio messages in this chat"},{"error_code":403,"error_message":"CHAT_SEND_DOCS_FORBIDDEN","error_description":"You can't send documents in this chat"},{"error_code":403,"error_message":"CHAT_SEND_GIFS_FORBIDDEN","error_description":"You can't send gifs in this chat"},{"error_code":403,"error_message":"CHAT_SEND_MEDIA_FORBIDDEN","error_description":"You can't send media in this chat"},{"error_code":403,"error_message":"CHAT_SEND_PHOTOS_FORBIDDEN","error_description":"You can't send photos in this chat"},{"error_code":403,"error_message":"CHAT_SEND_PLAIN_FORBIDDEN","error_description":"You can't send non-media (text) messages in this chat"},{"error_code":403,"error_message":"CHAT_SEND_POLL_FORBIDDEN","error_description":"You can't send polls in this chat"},{"error_code":403,"error_message":"CHAT_SEND_ROUNDVIDEOS_FORBIDDEN","error_description":"You can't send round videos to this chat"},{"error_code":403,"error_message":"CHAT_SEND_STICKERS_FORBIDDEN","error_description":"You can't send stickers in this chat."},{"error_code":403,"error_message":"CHAT_SEND_VIDEOS_FORBIDDEN","error_description":"You can't send videos in this chat"},{"error_code":403,"error_message":"CHAT_SEND_VOICES_FORBIDDEN","error_description":"You can't send voice recordings in this chat"},{"error_code":403,"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":"The total amount of all prices is invalid"},{"error_code":400,"error_message":"DOCUMENT_INVALID","error_description":"The specified document is invalid"},{"error_code":400,"error_message":"EMOTICON_INVALID","error_description":"The specified emoji is invalid"},{"error_code":400,"error_message":"ENTITY_BOUNDS_INVALID","error_description":"A specified [entity offset or length](https:\/\/core.telegram.org\/api\/entities#entity-length) is invalid, see [here »](https:\/\/core.telegram.org\/api\/entities#entity-length) for info on how to properly compute the entity offset\/length"},{"error_code":400,"error_message":"EXTERNAL_URL_INVALID","error_description":"External URL invalid"},{"error_code":400,"error_message":"FILE_PART_LENGTH_INVALID","error_description":"The length of a file part is invalid"},{"error_code":400,"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 [the documentation](https:\/\/core.telegram.org\/api\/file_reference)."},{"error_code":400,"error_message":"GAME_BOT_INVALID","error_description":"Bots can't send another bot's game."},{"error_code":400,"error_message":"IMAGE_PROCESS_FAILED","error_description":"Failure while processing image"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MD5_CHECKSUM_INVALID","error_description":"The MD5 checksums do not match"},{"error_code":400,"error_message":"MEDIA_CAPTION_TOO_LONG","error_description":"The caption is too long"},{"error_code":400,"error_message":"MEDIA_EMPTY","error_description":"The provided media object is invalid"},{"error_code":400,"error_message":"MEDIA_INVALID","error_description":"Media invalid"},{"error_code":400,"error_message":"MESSAGE_EMPTY","error_description":"The provided message is empty"},{"error_code":400,"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","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"PHOTO_EXT_INVALID","error_description":"The extension of the photo is invalid"},{"error_code":400,"error_message":"PHOTO_INVALID_DIMENSIONS","error_description":"The photo dimensions are invalid"},{"error_code":400,"error_message":"PHOTO_SAVE_FILE_INVALID","error_description":"Internal issues, try again later"},{"error_code":400,"error_message":"POLL_ANSWER_INVALID","error_description":"One of the poll answers is not acceptable"},{"error_code":400,"error_message":"POLL_ANSWERS_INVALID","error_description":"Invalid poll answers were provided"},{"error_code":400,"error_message":"POLL_OPTION_DUPLICATE","error_description":"Duplicate poll options provided"},{"error_code":400,"error_message":"POLL_OPTION_INVALID","error_description":"Invalid poll option provided"},{"error_code":400,"error_message":"POLL_QUESTION_INVALID","error_description":"One of the poll questions is not acceptable"},{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."},{"error_code":403,"error_message":"PRIVACY_PREMIUM_REQUIRED","error_description":"You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user."},{"error_code":400,"error_message":"QUICK_REPLIES_TOO_MUCH","error_description":"A maximum of [appConfig.`quick_replies_limit`](https:\/\/core.telegram.org\/api\/config#quick-replies-limit) shortcuts may be created, the limit was reached."},{"error_code":400,"error_message":"QUIZ_CORRECT_ANSWER_INVALID","error_description":"An invalid value was provided to the correct_answers field"},{"error_code":400,"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":"You specified too many correct answers in a quiz, quizzes can only have one right answer!"},{"error_code":400,"error_message":"QUIZ_MULTIPLE_INVALID","error_description":"Quizzes can't have the multiple_choice flag set!"},{"error_code":400,"error_message":"REPLY_MARKUP_BUY_EMPTY","error_description":"Reply markup for buy button empty"},{"error_code":400,"error_message":"REPLY_MARKUP_GAME_EMPTY","error_description":"A game message is being edited, but the newly provided keyboard doesn't have a keyboardButtonGame button."},{"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":"REPLY_MESSAGES_TOO_MUCH","error_description":"Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https:\/\/core.telegram.org\/api\/config#quick-reply-messages-limit) messages, the limit was reached."},{"error_code":400,"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","error_description":"There are too many scheduled messages"},{"error_code":400,"error_message":"SEND_AS_PEER_INVALID","error_description":"You can't send messages as the specified peer"},{"error_code":420,"error_message":"SLOWMODE_WAIT_%d","error_description":"Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat."},{"error_code":400,"error_message":"STORY_ID_INVALID","error_description":"The specified story ID is invalid"},{"error_code":400,"error_message":"TOPIC_CLOSED","error_description":"This topic was closed, you can't send messages to it anymore"},{"error_code":406,"error_message":"TOPIC_CLOSED","error_description":"This topic was closed, you can't send messages to it anymore"},{"error_code":400,"error_message":"TOPIC_DELETED","error_description":"The specified topic was deleted"},{"error_code":406,"error_message":"TOPIC_DELETED","error_description":"The specified topic was deleted"},{"error_code":400,"error_message":"TTL_MEDIA_INVALID","error_description":"Invalid media Time To Live was provided"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"},{"error_code":400,"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":"The video's content type is invalid"},{"error_code":400,"error_message":"VOICE_MESSAGES_FORBIDDEN","error_description":"This user's privacy settings forbid you from sending voice messages"},{"error_code":400,"error_message":"WEBDOCUMENT_MIME_INVALID","error_description":"Invalid webdocument mime type provided"},{"error_code":400,"error_message":"WEBPAGE_CURL_FAILED","error_description":"Failure while fetching the webpage with cURL"},{"error_code":400,"error_message":"WEBPAGE_MEDIA_EMPTY","error_description":"Webpage media empty"},{"error_code":400,"error_message":"WEBPAGE_NOT_FOUND","error_description":"A preview for the specified webpage `url` could not be generated"},{"error_code":400,"error_message":"WEBPAGE_URL_INVALID","error_description":"The specified webpage `url` is invalid"},{"error_code":400,"error_message":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"channels.inviteToChannel":[{"error_code":400,"error_message":"BOT_GROUPS_BLOCKED","error_description":"This bot can't be added to groups"},{"error_code":400,"error_message":"BOTS_TOO_MUCH","error_description":"There are too many bots in this chat\/channel"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_INVALID","error_description":"Invalid chat"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"},{"error_code":400,"error_message":"USER_BLOCKED","error_description":"User blocked"},{"error_code":400,"error_message":"USER_BOT","error_description":"Bots can only be admins in channels."},{"error_code":400,"error_message":"USER_CHANNELS_TOO_MUCH","error_description":"One of the users you tried to add is already in too many channels\/supergroups"},{"error_code":403,"error_message":"USER_CHANNELS_TOO_MUCH","error_description":"One of the users you tried to add is already in too many channels\/supergroups"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"},{"error_code":400,"error_message":"USER_KICKED","error_description":"This user was kicked from this supergroup\/channel"},{"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","error_description":"The provided user is not a mutual contact"},{"error_code":403,"error_message":"USER_PRIVACY_RESTRICTED","error_description":"The user's privacy settings do not allow you to do this"},{"error_code":400,"error_message":"USERS_TOO_MUCH","error_description":"The maximum number of users has been exceeded (to create a chat, for example)"}],"messages.addChatUser":[{"error_code":400,"error_message":"BOT_GROUPS_BLOCKED","error_description":"This bot can't be added to groups"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_ALREADY_PARTICIPANT","error_description":"The user is already in the group"},{"error_code":400,"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":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","error_description":"The provided user is not a mutual contact"},{"error_code":403,"error_message":"USER_PRIVACY_RESTRICTED","error_description":"The user's privacy settings do not allow you to do this"},{"error_code":400,"error_message":"USERS_TOO_MUCH","error_description":"The maximum number of users has been exceeded (to create a chat, for example)"},{"error_code":400,"error_message":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"messages.getInlineBotResults":[{"error_code":400,"error_message":"BOT_INLINE_DISABLED","error_description":"This bot can't be used in inline mode"},{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"BOT_RESPONSE_TIMEOUT","error_description":"A timeout occurred while fetching data from the bot"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"account.acceptAuthorization":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"PUBLIC_KEY_REQUIRED","error_description":"A public key is required"}],"account.getAuthorizationForm":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"PUBLIC_KEY_REQUIRED","error_description":"A public key is required"}],"bots.allowSendMessage":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"}],"bots.canSendMessage":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"}],"bots.getBotInfo":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"LANG_CODE_INVALID","error_description":"The specified language code is invalid"},{"error_code":400,"error_message":"USER_BOT_INVALID","error_description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."}],"bots.invokeWebViewCustomMethod":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"DATA_JSON_INVALID","error_description":"The provided JSON data is invalid"}],"bots.reorderUsernames":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"USERNAME_NOT_MODIFIED","error_description":"The username was not modified"}],"bots.toggleUsername":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"USERNAME_NOT_MODIFIED","error_description":"The username was not modified"}],"messages.getAttachMenuBot":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"}],"messages.prolongWebView":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"}],"messages.requestSimpleWebView":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"URL_INVALID","error_description":"Invalid URL provided"}],"messages.requestWebView":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"error_code":400,"error_message":"BOT_WEBVIEW_DISABLED","error_description":"A webview cannot be opened in the specified conditions: emitted for example if `from_bot_menu` or `url` are set and `peer` is not the chat with the bot."},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":403,"error_message":"PRIVACY_PREMIUM_REQUIRED","error_description":"You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user."},{"error_code":400,"error_message":"SEND_AS_PEER_INVALID","error_description":"You can't send messages as the specified peer"},{"error_code":400,"error_message":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"messages.sendWebViewData":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"}],"messages.startBot":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"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_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"START_PARAM_EMPTY","error_description":"The start parameter is empty"},{"error_code":400,"error_message":"START_PARAM_INVALID","error_description":"Start parameter invalid"},{"error_code":400,"error_message":"START_PARAM_TOO_LONG","error_description":"Start parameter is too long"}],"messages.toggleBotInAttachMenu":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"}],"messages.updatePinnedMessage":[{"error_code":400,"error_message":"BOT_ONESIDE_NOT_AVAIL","error_description":"Bots can't pin messages in PM just for themselves"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"PIN_RESTRICTED","error_description":"You can't pin messages"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"}],"messages.getBotCallbackAnswer":[{"error_code":400,"error_message":"BOT_RESPONSE_TIMEOUT","error_description":"A timeout occurred while fetching data from the bot"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"DATA_INVALID","error_description":"Encrypted data invalid"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PASSWORD_MISSING","error_description":"You must [enable 2FA](https:\/\/core.telegram.org\/api\/srp) before executing this operation"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"messages.setGameScore":[{"error_code":400,"error_message":"BOT_SCORE_NOT_MODIFIED","error_description":"The score wasn't modified"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"SCORE_INVALID","error_description":"The specified game score is invalid"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"messages.getMessageReactionsList":[{"error_code":403,"error_message":"BROADCAST_FORBIDDEN","error_description":"Channel poll voters and reactions cannot be fetched to prevent deanonymization."},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"messages.getPollVotes":[{"error_code":403,"error_message":"BROADCAST_FORBIDDEN","error_description":"Channel poll voters and reactions cannot be fetched to prevent deanonymization."},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":403,"error_message":"POLL_VOTE_REQUIRED","error_description":"Cast a vote in the poll before calling this method"}],"channels.setDiscussionGroup":[{"error_code":400,"error_message":"BROADCAST_ID_INVALID","error_description":"Broadcast ID invalid"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"LINK_NOT_MODIFIED","error_description":"Discussion link not modified"},{"error_code":400,"error_message":"MEGAGROUP_ID_INVALID","error_description":"Invalid supergroup ID"},{"error_code":400,"error_message":"MEGAGROUP_PREHISTORY_HIDDEN","error_description":"Group with hidden history for new members can't be set as discussion groups"}],"messages.forwardMessages":[{"error_code":400,"error_message":"BROADCAST_PUBLIC_VOTERS_FORBIDDEN","error_description":"You can't forward polls with public voters"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_FORWARDS_RESTRICTED","error_description":"You can't forward messages from a protected chat"},{"error_code":406,"error_message":"CHAT_FORWARDS_RESTRICTED","error_description":"You can't forward messages from a protected chat"},{"error_code":403,"error_message":"CHAT_GUEST_SEND_FORBIDDEN","error_description":"You join the discussion group before commenting, see [here »](https:\/\/core.telegram.org\/api\/discussion#requiring-users-to-join-the-group) for more info."},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_RESTRICTED","error_description":"You can't send messages in this chat, you were restricted"},{"error_code":403,"error_message":"CHAT_SEND_AUDIOS_FORBIDDEN","error_description":"You can't send audio messages in this chat"},{"error_code":403,"error_message":"CHAT_SEND_DOCS_FORBIDDEN","error_description":"You can't send documents in this chat"},{"error_code":403,"error_message":"CHAT_SEND_GAME_FORBIDDEN","error_description":"You can't send a game to this chat."},{"error_code":403,"error_message":"CHAT_SEND_GIFS_FORBIDDEN","error_description":"You can't send gifs in this chat"},{"error_code":403,"error_message":"CHAT_SEND_MEDIA_FORBIDDEN","error_description":"You can't send media in this chat"},{"error_code":403,"error_message":"CHAT_SEND_PHOTOS_FORBIDDEN","error_description":"You can't send photos in this chat"},{"error_code":403,"error_message":"CHAT_SEND_PLAIN_FORBIDDEN","error_description":"You can't send non-media (text) messages in this chat"},{"error_code":403,"error_message":"CHAT_SEND_POLL_FORBIDDEN","error_description":"You can't send polls in this chat"},{"error_code":403,"error_message":"CHAT_SEND_STICKERS_FORBIDDEN","error_description":"You can't send stickers in this chat."},{"error_code":403,"error_message":"CHAT_SEND_VIDEOS_FORBIDDEN","error_description":"You can't send videos in this chat"},{"error_code":403,"error_message":"CHAT_SEND_VOICES_FORBIDDEN","error_description":"You can't send voice recordings in this chat"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"GROUPED_MEDIA_INVALID","error_description":"Invalid grouped media"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MEDIA_EMPTY","error_description":"The provided media object is invalid"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"MESSAGE_IDS_EMPTY","error_description":"No message ids were provided"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":406,"error_message":"PAYMENT_UNSUPPORTED","error_description":"A detailed description of the error will be received separately as described [here »](https:\/\/core.telegram.org\/api\/errors#406-not-acceptable)"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."},{"error_code":403,"error_message":"PRIVACY_PREMIUM_REQUIRED","error_description":"You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user."},{"error_code":406,"error_message":"PRIVACY_PREMIUM_REQUIRED","error_description":"You need a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to send a message to this user."},{"error_code":400,"error_message":"QUICK_REPLIES_TOO_MUCH","error_description":"A maximum of [appConfig.`quick_replies_limit`](https:\/\/core.telegram.org\/api\/config#quick-replies-limit) shortcuts may be created, the limit was reached."},{"error_code":400,"error_message":"QUIZ_ANSWER_MISSING","error_description":"You can forward a quiz while hiding the original author only after choosing an option in the quiz"},{"error_code":400,"error_message":"RANDOM_ID_INVALID","error_description":"A provided random ID is invalid"},{"error_code":400,"error_message":"REPLY_MESSAGES_TOO_MUCH","error_description":"Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https:\/\/core.telegram.org\/api\/config#quick-reply-messages-limit) messages, the limit was reached."},{"error_code":400,"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","error_description":"There are too many scheduled messages"},{"error_code":400,"error_message":"SEND_AS_PEER_INVALID","error_description":"You can't send messages as the specified peer"},{"error_code":400,"error_message":"SLOWMODE_MULTI_MSGS_DISABLED","error_description":"Slowmode is enabled, you cannot forward multiple messages to this group."},{"error_code":420,"error_message":"SLOWMODE_WAIT_%d","error_description":"Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat."},{"error_code":400,"error_message":"TOPIC_CLOSED","error_description":"This topic was closed, you can't send messages to it anymore"},{"error_code":406,"error_message":"TOPIC_CLOSED","error_description":"This topic was closed, you can't send messages to it anymore"},{"error_code":400,"error_message":"TOPIC_DELETED","error_description":"The specified topic was deleted"},{"error_code":406,"error_message":"TOPIC_DELETED","error_description":"The specified topic was deleted"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"},{"error_code":400,"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":403,"error_message":"VOICE_MESSAGES_FORBIDDEN","error_description":"This user's privacy settings forbid you from sending voice messages"},{"error_code":400,"error_message":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"stats.getBroadcastStats":[{"error_code":400,"error_message":"BROADCAST_REQUIRED","error_description":"This method can only be called on a channel, please use stats.getMegagroupStats for supergroups"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":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","error_description":"You must be an admin in this chat to do this"}],"contacts.getLocated":[{"error_code":406,"error_message":"BUSINESS_ADDRESS_ACTIVE","error_description":"The user is currently advertising a [Business Location](https:\/\/core.telegram.org\/api\/business#location), the location may only be changed (or removed) using [account.updateBusinessLocation »](https:\/\/core.telegram.org\/method\/account.updateBusinessLocation). "},{"error_code":400,"error_message":"GEO_POINT_INVALID","error_description":"Invalid geoposition provided"},{"error_code":406,"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","error_description":"You must have a profile picture to publish your geolocation"}],"account.updateBusinessWorkHours":[{"error_code":400,"error_message":"BUSINESS_WORK_HOURS_EMPTY","error_description":"No work hours were specified"},{"error_code":400,"error_message":"BUSINESS_WORK_HOURS_PERIOD_INVALID","error_description":"The specified work hours are invalid, see [here »](https:\/\/core.telegram.org\/api\/business#opening-hours) for the exact requirements"},{"error_code":400,"error_message":"TIMEZONE_INVALID","error_description":"The specified timezone does not exist"}],"messages.editInlineBotMessage":[{"error_code":400,"error_message":"BUTTON_DATA_INVALID","error_description":"The data of one or more of the buttons you provided is invalid"},{"error_code":400,"error_message":"ENTITY_BOUNDS_INVALID","error_description":"A specified [entity offset or length](https:\/\/core.telegram.org\/api\/entities#entity-length) is invalid, see [here »](https:\/\/core.telegram.org\/api\/entities#entity-length) for info on how to properly compute the entity offset\/length"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"MESSAGE_NOT_MODIFIED","error_description":"The provided message data is identical to the previous message data, the message wasn't modified"}],"bots.setBotMenuButton":[{"error_code":400,"error_message":"BUTTON_TEXT_INVALID","error_description":"The specified button text is invalid"},{"error_code":400,"error_message":"BUTTON_URL_INVALID","error_description":"Button URL invalid"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"test.test":[{"error_code":400,"error_message":"BUTTON_URL_INVALID","error_description":"Button URL invalid"}],"phone.acceptCall":[{"error_code":400,"error_message":"CALL_ALREADY_ACCEPTED","error_description":"The call was already accepted"},{"error_code":400,"error_message":"CALL_ALREADY_DECLINED","error_description":"The call was already declined"},{"error_code":400,"error_message":"CALL_PEER_INVALID","error_description":"The provided call peer object is invalid"},{"error_code":406,"error_message":"CALL_PROTOCOL_COMPAT_LAYER_INVALID","error_description":"The other side of the call does not support any of the VoIP protocols supported by the local client, as specified by the `protocol.layer` and `protocol.library_versions` fields."},{"error_code":400,"error_message":"CALL_PROTOCOL_FLAGS_INVALID","error_description":"Call protocol flags invalid"}],"phone.discardCall":[{"error_code":400,"error_message":"CALL_ALREADY_ACCEPTED","error_description":"The call was already accepted"},{"error_code":400,"error_message":"CALL_OCCUPY_FAILED","error_description":"The call failed because the user is already making another call"},{"error_code":400,"error_message":"CALL_PEER_INVALID","error_description":"The provided call peer object is invalid"}],"phone.confirmCall":[{"error_code":400,"error_message":"CALL_ALREADY_DECLINED","error_description":"The call was already declined"},{"error_code":400,"error_message":"CALL_PEER_INVALID","error_description":"The provided call peer object is invalid"}],"phone.receivedCall":[{"error_code":400,"error_message":"CALL_ALREADY_DECLINED","error_description":"The call was already declined"},{"error_code":400,"error_message":"CALL_PEER_INVALID","error_description":"The provided call peer object is invalid"}],"phone.saveCallDebug":[{"error_code":400,"error_message":"CALL_PEER_INVALID","error_description":"The provided call peer object is invalid"},{"error_code":400,"error_message":"DATA_JSON_INVALID","error_description":"The provided JSON data is invalid"}],"phone.saveCallLog":[{"error_code":400,"error_message":"CALL_PEER_INVALID","error_description":"The provided call peer object is invalid"}],"phone.sendSignalingData":[{"error_code":400,"error_message":"CALL_PEER_INVALID","error_description":"The provided call peer object is invalid"}],"phone.setCallRating":[{"error_code":400,"error_message":"CALL_PEER_INVALID","error_description":"The provided call peer object is invalid"}],"phone.requestCall":[{"error_code":400,"error_message":"CALL_PROTOCOL_FLAGS_INVALID","error_description":"Call protocol flags invalid"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"PARTICIPANT_VERSION_OUTDATED","error_description":"The other participant does not use an up to date telegram client with support for calls"},{"error_code":400,"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","error_description":"You were blocked by this user"},{"error_code":403,"error_message":"USER_PRIVACY_RESTRICTED","error_description":"The user's privacy settings do not allow you to do this"}],"updates.getDifference":[{"error_code":400,"error_message":"CDN_METHOD_INVALID","error_description":"You can't call this method in a CDN DC"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"DATE_EMPTY","error_description":"Date empty"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PERSISTENT_TIMESTAMP_EMPTY","error_description":"Persistent timestamp empty"},{"error_code":400,"error_message":"PERSISTENT_TIMESTAMP_INVALID","error_description":"Persistent timestamp invalid"},{"error_code":400,"error_message":"USER_NOT_PARTICIPANT","error_description":"You're not a member of this supergroup\/channel"},{"error_code":400,"error_message":"USERNAME_INVALID","error_description":"The provided username is not valid"}],"upload.getCdnFileHashes":[{"error_code":400,"error_message":"CDN_METHOD_INVALID","error_description":"You can't call this method in a CDN DC"},{"error_code":400,"error_message":"FILE_TOKEN_INVALID","error_description":"The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile."},{"error_code":400,"error_message":"RSA_DECRYPT_FAILED","error_description":"Internal RSA decryption failed"}],"upload.getFile":[{"error_code":400,"error_message":"CDN_METHOD_INVALID","error_description":"You can't call this method in a CDN DC"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"FILE_ID_INVALID","error_description":"The provided file id is invalid"},{"error_code":400,"error_message":"FILE_REFERENCE_*","error_description":"The file reference expired, it [must be refreshed](https:\/\/core.telegram.org\/api\/file_reference)."},{"error_code":400,"error_message":"FILE_REFERENCE_EXPIRED","error_description":"File reference expired, it must be refetched as described in [the documentation](https:\/\/core.telegram.org\/api\/file_reference)."},{"error_code":406,"error_message":"FILEREF_UPGRADE_NEEDED","error_description":"The client has to be updated in order to support [file references](https:\/\/core.telegram.org\/api\/file_reference)"},{"error_code":420,"error_message":"FLOOD_PREMIUM_WAIT_%d","error_description":"Please wait %d seconds before repeating the action, or purchase a [Telegram Premium subscription](https:\/\/core.telegram.org\/api\/premium) to remove this rate limit."},{"error_code":400,"error_message":"LIMIT_INVALID","error_description":"The provided limit is invalid"},{"error_code":400,"error_message":"LOCATION_INVALID","error_description":"The provided location is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"OFFSET_INVALID","error_description":"The provided offset is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"upload.reuploadCdnFile":[{"error_code":400,"error_message":"CDN_METHOD_INVALID","error_description":"You can't call this method in a CDN DC"},{"error_code":400,"error_message":"FILE_TOKEN_INVALID","error_description":"The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile."},{"error_code":400,"error_message":"LOCATION_INVALID","error_description":"The provided location is invalid"},{"error_code":400,"error_message":"REQUEST_TOKEN_INVALID","error_description":"The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile."},{"error_code":400,"error_message":"RSA_DECRYPT_FAILED","error_description":"Internal RSA decryption failed"}],"channels.createForumTopic":[{"error_code":400,"error_message":"CHANNEL_FORUM_MISSING","error_description":"This supergroup is not a forum"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."},{"error_code":400,"error_message":"TOPIC_TITLE_EMPTY","error_description":"The specified topic title is empty."}],"channels.editForumTopic":[{"error_code":400,"error_message":"CHANNEL_FORUM_MISSING","error_description":"This supergroup is not a forum"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":403,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"DOCUMENT_INVALID","error_description":"The specified document is invalid"},{"error_code":400,"error_message":"GENERAL_MODIFY_ICON_FORBIDDEN","error_description":"You can't modify the icon of the \"General\" topic"},{"error_code":400,"error_message":"TOPIC_CLOSE_SEPARATELY","error_description":"The `close` flag cannot be provided together with any of the other flags"},{"error_code":400,"error_message":"TOPIC_HIDE_SEPARATELY","error_description":"The `hide` flag cannot be provided together with any of the other flags"},{"error_code":400,"error_message":"TOPIC_ID_INVALID","error_description":"The specified topic ID is invalid"},{"error_code":400,"error_message":"TOPIC_NOT_MODIFIED","error_description":"The updated topic info is equal to the current topic info, nothing was changed"}],"channels.getForumTopics":[{"error_code":400,"error_message":"CHANNEL_FORUM_MISSING","error_description":"This supergroup is not a forum"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"}],"channels.getForumTopicsByID":[{"error_code":400,"error_message":"CHANNEL_FORUM_MISSING","error_description":"This supergroup is not a forum"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"TOPICS_EMPTY","error_description":"You specified no topic IDs."}],"channels.convertToGigagroup":[{"error_code":400,"error_message":"CHANNEL_ID_INVALID","error_description":"The specified supergroup ID is invalid"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"FORUM_ENABLED","error_description":"You can't execute the specified action because the group is a [forum](https:\/\/core.telegram.org\/api\/forum), disable forum functionality to continue."},{"error_code":400,"error_message":"PARTICIPANTS_TOO_FEW","error_description":"Not enough participants"}],"account.updateNotifySettings":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"SETTINGS_INVALID","error_description":"Invalid settings were provided"}],"channels.checkUsername":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","error_description":"You're admin of too many public channels, make some channels private to change the username of this channel"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USERNAME_INVALID","error_description":"The provided username is not valid"},{"error_code":400,"error_message":"USERNAME_OCCUPIED","error_description":"The provided username is already occupied"},{"error_code":400,"error_message":"USERNAME_PURCHASE_AVAILABLE","error_description":"The specified username can be purchased on https:\/\/fragment.com"}],"channels.clickSponsoredMessage":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"channels.deactivateAllUsernames":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"channels.deleteChannel":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHANNEL_TOO_LARGE","error_description":"Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change)"},{"error_code":406,"error_message":"CHANNEL_TOO_LARGE","error_description":"Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change)"},{"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":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"}],"channels.deleteHistory":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PARICIPANT_MISSING","error_description":"The current user is not in the channel"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHANNEL_TOO_BIG","error_description":"This channel has too many participants (>1000) to be deleted."},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"}],"channels.deleteMessages":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":403,"error_message":"MESSAGE_DELETE_FORBIDDEN","error_description":"You can't delete one of the messages you tried to delete, most likely because it is a service message."},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"channels.deleteParticipantHistory":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":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_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PARTICIPANT_ID_INVALID","error_description":"The specified participant ID is invalid"}],"channels.deleteTopicHistory":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"TOPIC_ID_INVALID","error_description":"The specified topic ID is invalid"}],"channels.deleteUserHistory":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":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","error_description":"You must be an admin in this chat to do this"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"channels.editAbout":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ABOUT_NOT_MODIFIED","error_description":"About text has not changed"},{"error_code":400,"error_message":"CHAT_ABOUT_TOO_LONG","error_description":"Chat about too long"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"}],"channels.editLocation":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"MEGAGROUP_GEO_REQUIRED","error_description":"This method can only be invoked on a geogroup."},{"error_code":400,"error_message":"MEGAGROUP_REQUIRED","error_description":"You can only use this method on a supergroup"}],"channels.editPhoto":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"FILE_PARTS_INVALID","error_description":"The number of file parts is invalid"},{"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":"IMAGE_PROCESS_FAILED","error_description":"Failure while processing image"},{"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_INVALID","error_description":"Photo invalid"},{"error_code":400,"error_message":"STICKER_MIME_INVALID","error_description":"The specified sticker MIME type is invalid"}],"channels.editTitle":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"CHAT_TITLE_EMPTY","error_description":"No chat title provided"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"}],"channels.exportInvite":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"}],"channels.exportMessageLink":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"channels.getAdminLog":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"channels.getChannelRecommendations":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"}],"channels.getChannels":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"}],"channels.getFullChannel":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":403,"error_message":"CHANNEL_PUBLIC_GROUP_NA","error_description":"channel\/supergroup not available"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"channels.getMessages":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MESSAGE_IDS_EMPTY","error_description":"No message ids were provided"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"}],"channels.getParticipant":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PARTICIPANT_ID_INVALID","error_description":"The specified participant ID is invalid"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"},{"error_code":400,"error_message":"USER_NOT_PARTICIPANT","error_description":"You're not a member of this supergroup\/channel"}],"channels.getParticipants":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"channels.getSendAs":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"channels.getSponsoredMessages":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"channels.joinChannel":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHANNELS_TOO_MUCH","error_description":"You have joined too many channels\/supergroups"},{"error_code":400,"error_message":"CHAT_INVALID","error_description":"Invalid chat"},{"error_code":400,"error_message":"INVITE_HASH_EMPTY","error_description":"The invite hash is empty"},{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":406,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":400,"error_message":"INVITE_HASH_INVALID","error_description":"The invite hash is invalid"},{"error_code":400,"error_message":"INVITE_REQUEST_SENT","error_description":"You have successfully requested to join this chat or channel"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_ALREADY_PARTICIPANT","error_description":"The user is already in the group"},{"error_code":400,"error_message":"USER_CHANNELS_TOO_MUCH","error_description":"One of the users you tried to add is already in too many channels\/supergroups"},{"error_code":400,"error_message":"USERS_TOO_MUCH","error_description":"The maximum number of users has been exceeded (to create a chat, for example)"}],"channels.leaveChannel":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":403,"error_message":"CHANNEL_PUBLIC_GROUP_NA","error_description":"channel\/supergroup not available"},{"error_code":400,"error_message":"CHAT_INVALID","error_description":"Invalid chat"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"},{"error_code":400,"error_message":"USER_CREATOR","error_description":"For channels.editAdmin: you've tried to edit the admin rights of the owner, but you're not the owner; for channels.leaveChannel: you can't leave this channel, because you're its creator."},{"error_code":400,"error_message":"USER_NOT_PARTICIPANT","error_description":"You're not a member of this supergroup\/channel"}],"channels.readHistory":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"channels.readMessageContents":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"channels.reorderPinnedForumTopics":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"channels.reorderUsernames":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."}],"channels.reportAntiSpamFalsePositive":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"channels.reportSpam":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"channels.restrictSponsoredMessages":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"channels.setBoostsToUnblockRestrictions":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"channels.setEmojiStickers":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"channels.setStickers":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"PARTICIPANTS_TOO_FEW","error_description":"Not enough participants"},{"error_code":406,"error_message":"STICKERSET_OWNER_ANONYMOUS","error_description":"Provided stickerset can't be installed as group stickerset to prevent admin deanonymization."}],"channels.toggleAntiSpam":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."}],"channels.toggleForum":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_DISCUSSION_UNALLOWED","error_description":"You can't enable forum topics in a discussion group linked to a channel"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."}],"channels.toggleInvites":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."}],"channels.toggleJoinRequest":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"CHAT_PUBLIC_REQUIRED","error_description":"You can only enable join requests in public groups"}],"channels.toggleJoinToSend":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."}],"channels.toggleParticipantsHidden":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"PARTICIPANTS_TOO_FEW","error_description":"Not enough participants"}],"channels.togglePreHistoryHidden":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_LINK_EXISTS","error_description":"The chat is public, you can't hide the history to new users"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"FORUM_ENABLED","error_description":"You can't execute the specified action because the group is a [forum](https:\/\/core.telegram.org\/api\/forum), disable forum functionality to continue."}],"channels.toggleSignatures":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."}],"channels.toggleSlowMode":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"SECONDS_INVALID","error_description":"Invalid duration provided"}],"channels.toggleUsername":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"USERNAME_INVALID","error_description":"The provided username is not valid"},{"error_code":400,"error_message":"USERNAME_NOT_MODIFIED","error_description":"The username was not modified"},{"error_code":400,"error_message":"USERNAMES_ACTIVE_TOO_MUCH","error_description":"The maximum number of active usernames was reached"}],"channels.toggleViewForumAsMessages":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"channels.updateEmojiStatus":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"channels.updatePinnedForumTopic":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"TOPIC_ID_INVALID","error_description":"The specified topic ID is invalid"}],"channels.updatePinnedMessage":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."}],"channels.updateUsername":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","error_description":"You're admin of too many public channels, make some channels private to change the username of this channel"},{"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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"USERNAME_INVALID","error_description":"The provided username is not valid"},{"error_code":400,"error_message":"USERNAME_NOT_MODIFIED","error_description":"The username was not modified"},{"error_code":400,"error_message":"USERNAME_OCCUPIED","error_description":"The provided username is already occupied"},{"error_code":400,"error_message":"USERNAME_PURCHASE_AVAILABLE","error_description":"The specified username can be purchased on https:\/\/fragment.com"}],"channels.viewSponsoredMessage":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"}],"chatlists.editExportedInvite":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"},{"error_code":400,"error_message":"FILTER_NOT_SUPPORTED","error_description":"The specified filter cannot be used in this context"},{"error_code":400,"error_message":"INVITE_SLUG_EMPTY","error_description":"The specified invite slug is empty"},{"error_code":400,"error_message":"INVITE_SLUG_EXPIRED","error_description":"The specified chat folder link has expired."},{"error_code":400,"error_message":"PEERS_LIST_EMPTY","error_description":"The specified list of peers is empty"}],"messages.editChatAbout":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ABOUT_NOT_MODIFIED","error_description":"About text has not changed"},{"error_code":400,"error_message":"CHAT_ABOUT_TOO_LONG","error_description":"Chat about too long"},{"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":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.exportChatInvite":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"EXPIRE_DATE_INVALID","error_description":"The specified expiration date is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USAGE_LIMIT_INVALID","error_description":"The specified usage limit is invalid"}],"messages.getChatInviteImporters":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":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_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"SEARCH_WITH_LINK_NOT_SUPPORTED","error_description":"You cannot provide a search query and an invite link at the same time."}],"messages.getDiscussionMessage":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"TOPIC_ID_INVALID","error_description":"The specified topic ID is invalid"}],"messages.getHistory":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"TAKEOUT_INVALID","error_description":"The specified takeout ID is invalid"}],"messages.getMessagesReactions":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"}],"messages.getMessagesViews":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getPeerDialogs":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getPeerSettings":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getReplies":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"TOPIC_ID_INVALID","error_description":"The specified topic ID is invalid"}],"messages.getUnreadMentions":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.hideAllChatJoinRequests":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"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_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"HIDE_REQUESTER_MISSING","error_description":"The join request was missing or was already handled."},{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_CHANNELS_TOO_MUCH","error_description":"One of the users you tried to add is already in too many channels\/supergroups"}],"messages.importChatInvite":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHANNELS_TOO_MUCH","error_description":"You have joined too many channels\/supergroups"},{"error_code":400,"error_message":"CHAT_INVALID","error_description":"Invalid chat"},{"error_code":400,"error_message":"INVITE_HASH_EMPTY","error_description":"The invite hash is empty"},{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":406,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":400,"error_message":"INVITE_HASH_INVALID","error_description":"The invite hash is invalid"},{"error_code":400,"error_message":"INVITE_REQUEST_SENT","error_description":"You have successfully requested to join this chat or channel"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_ALREADY_PARTICIPANT","error_description":"The user is already in the group"},{"error_code":400,"error_message":"USER_CHANNELS_TOO_MUCH","error_description":"One of the users you tried to add is already in too many channels\/supergroups"},{"error_code":400,"error_message":"USERS_TOO_MUCH","error_description":"The maximum number of users has been exceeded (to create a chat, for example)"}],"messages.readMentions":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.report":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.search":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"FROM_PEER_INVALID","error_description":"The specified from_id is invalid"},{"error_code":400,"error_message":"INPUT_FILTER_INVALID","error_description":"The specified filter is invalid"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"PEER_ID_NOT_SUPPORTED","error_description":"The provided peer ID is not supported"},{"error_code":400,"error_message":"SEARCH_QUERY_EMPTY","error_description":"The search query is empty"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"messages.sendInlineBotResult":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":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_GUEST_SEND_FORBIDDEN","error_description":"You join the discussion group before commenting, see [here »](https:\/\/core.telegram.org\/api\/discussion#requiring-users-to-join-the-group) for more info."},{"error_code":400,"error_message":"CHAT_RESTRICTED","error_description":"You can't send messages in this chat, you were restricted"},{"error_code":403,"error_message":"CHAT_SEND_AUDIOS_FORBIDDEN","error_description":"You can't send audio messages in this chat"},{"error_code":403,"error_message":"CHAT_SEND_GAME_FORBIDDEN","error_description":"You can't send a game to this chat."},{"error_code":403,"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","error_description":"You can't send inline messages in this group"},{"error_code":403,"error_message":"CHAT_SEND_MEDIA_FORBIDDEN","error_description":"You can't send media in this chat"},{"error_code":403,"error_message":"CHAT_SEND_PHOTOS_FORBIDDEN","error_description":"You can't send photos in this chat"},{"error_code":403,"error_message":"CHAT_SEND_PLAIN_FORBIDDEN","error_description":"You can't send non-media (text) messages in this chat"},{"error_code":403,"error_message":"CHAT_SEND_STICKERS_FORBIDDEN","error_description":"You can't send stickers in this chat."},{"error_code":403,"error_message":"CHAT_SEND_VOICES_FORBIDDEN","error_description":"You can't send voice recordings in this chat"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"ENTITY_BOUNDS_INVALID","error_description":"A specified [entity offset or length](https:\/\/core.telegram.org\/api\/entities#entity-length) is invalid, see [here »](https:\/\/core.telegram.org\/api\/entities#entity-length) for info on how to properly compute the entity offset\/length"},{"error_code":400,"error_message":"INLINE_RESULT_EXPIRED","error_description":"The inline query expired"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MEDIA_EMPTY","error_description":"The provided media object is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"QUERY_ID_EMPTY","error_description":"The query ID is empty"},{"error_code":400,"error_message":"QUICK_REPLIES_TOO_MUCH","error_description":"A maximum of [appConfig.`quick_replies_limit`](https:\/\/core.telegram.org\/api\/config#quick-replies-limit) shortcuts may be created, the limit was reached."},{"error_code":400,"error_message":"REPLY_MESSAGES_TOO_MUCH","error_description":"Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https:\/\/core.telegram.org\/api\/config#quick-reply-messages-limit) messages, the limit was reached."},{"error_code":400,"error_message":"RESULT_ID_EMPTY","error_description":"Result ID empty"},{"error_code":400,"error_message":"RESULT_ID_INVALID","error_description":"One of the specified result IDs 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","error_description":"There are too many scheduled messages"},{"error_code":420,"error_message":"SLOWMODE_WAIT_%d","error_description":"Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat."},{"error_code":400,"error_message":"TOPIC_DELETED","error_description":"The specified topic was deleted"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"},{"error_code":400,"error_message":"VOICE_MESSAGES_FORBIDDEN","error_description":"This user's privacy settings forbid you from sending voice messages"},{"error_code":400,"error_message":"WEBPAGE_CURL_FAILED","error_description":"Failure while fetching the webpage with cURL"},{"error_code":400,"error_message":"WEBPAGE_MEDIA_EMPTY","error_description":"Webpage media empty"},{"error_code":400,"error_message":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"messages.sendMultiMedia":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_FORWARDS_RESTRICTED","error_description":"You can't forward messages from a protected chat"},{"error_code":403,"error_message":"CHAT_SEND_MEDIA_FORBIDDEN","error_description":"You can't send media in this chat"},{"error_code":403,"error_message":"CHAT_SEND_PHOTOS_FORBIDDEN","error_description":"You can't send photos in this chat"},{"error_code":403,"error_message":"CHAT_SEND_VIDEOS_FORBIDDEN","error_description":"You can't send videos in this chat"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"ENTITY_BOUNDS_INVALID","error_description":"A specified [entity offset or length](https:\/\/core.telegram.org\/api\/entities#entity-length) is invalid, see [here »](https:\/\/core.telegram.org\/api\/entities#entity-length) for info on how to properly compute the entity offset\/length"},{"error_code":400,"error_message":"FILE_REFERENCE_%d_EXPIRED","error_description":"File reference expired, it must be refetched as described in [the documentation](https:\/\/core.telegram.org\/api\/file_reference)"},{"error_code":400,"error_message":"FILE_REFERENCE_%d_INVALID","error_description":"File reference invalid"},{"error_code":400,"error_message":"MEDIA_CAPTION_TOO_LONG","error_description":"The caption is too long"},{"error_code":400,"error_message":"MEDIA_EMPTY","error_description":"The provided media object is invalid"},{"error_code":400,"error_message":"MEDIA_INVALID","error_description":"Media invalid"},{"error_code":400,"error_message":"MULTI_MEDIA_TOO_LONG","error_description":"Too many media files for album"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"QUICK_REPLIES_TOO_MUCH","error_description":"A maximum of [appConfig.`quick_replies_limit`](https:\/\/core.telegram.org\/api\/config#quick-replies-limit) shortcuts may be created, the limit was reached."},{"error_code":400,"error_message":"RANDOM_ID_EMPTY","error_description":"Random ID empty"},{"error_code":400,"error_message":"REPLY_MESSAGES_TOO_MUCH","error_description":"Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https:\/\/core.telegram.org\/api\/config#quick-reply-messages-limit) messages, the limit was reached."},{"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":400,"error_message":"SEND_AS_PEER_INVALID","error_description":"You can't send messages as the specified peer"},{"error_code":420,"error_message":"SLOWMODE_WAIT_%d","error_description":"Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat."},{"error_code":400,"error_message":"TOPIC_CLOSED","error_description":"This topic was closed, you can't send messages to it anymore"},{"error_code":400,"error_message":"TOPIC_DELETED","error_description":"The specified topic was deleted"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"}],"messages.sendVote":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"MESSAGE_POLL_CLOSED","error_description":"Poll closed"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"OPTION_INVALID","error_description":"Invalid option selected"},{"error_code":400,"error_message":"OPTIONS_TOO_MUCH","error_description":"Too many options provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"REVOTE_NOT_ALLOWED","error_description":"You cannot change your vote"}],"messages.setTyping":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":403,"error_message":"GROUPCALL_FORBIDDEN","error_description":"The group call has already ended"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"},{"error_code":400,"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"}],"messages.uploadMedia":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_RESTRICTED","error_description":"You can't send messages in this chat, you were restricted"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"FILE_PART_LENGTH_INVALID","error_description":"The length of a file part is invalid"},{"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":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MEDIA_INVALID","error_description":"Media invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"PHOTO_EXT_INVALID","error_description":"The extension of the photo is invalid"},{"error_code":400,"error_message":"PHOTO_INVALID_DIMENSIONS","error_description":"The photo dimensions are invalid"},{"error_code":400,"error_message":"PHOTO_SAVE_FILE_INVALID","error_description":"Internal issues, try again later"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"},{"error_code":400,"error_message":"WEBPAGE_CURL_FAILED","error_description":"Failure while fetching the webpage with cURL"}],"stats.getBroadcastRevenueStats":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"}],"stats.getBroadcastRevenueTransactions":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"stats.getMegagroupStats":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":403,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"MEGAGROUP_REQUIRED","error_description":"You can only use this method on a supergroup"}],"stats.getMessagePublicForwards":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stats.getMessageStats":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stories.getBoostersList":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stories.getPeerStories":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stories.getStoriesByID":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"STORIES_NEVER_CREATED","error_description":"This peer hasn't ever posted any stories."},{"error_code":400,"error_message":"STORY_ID_EMPTY","error_description":"You specified no story IDs."}],"stories.getStoriesViews":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"STORY_ID_EMPTY","error_description":"You specified no story IDs."}],"updates.getChannelDifference":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":403,"error_message":"CHANNEL_PUBLIC_GROUP_NA","error_description":"channel\/supergroup not available"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"FROM_MESSAGE_BOT_DISABLED","error_description":"Bots can't use fromMessage min constructors"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PERSISTENT_TIMESTAMP_EMPTY","error_description":"Persistent timestamp empty"},{"error_code":400,"error_message":"PERSISTENT_TIMESTAMP_INVALID","error_description":"Persistent timestamp invalid"},{"error_code":400,"error_message":"PINNED_DIALOGS_TOO_MUCH","error_description":"Too many pinned dialogs"},{"error_code":400,"error_message":"RANGES_INVALID","error_description":"Invalid range provided"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"}],"users.getFullUser":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"},{"error_code":400,"error_message":"USERNAME_OCCUPIED","error_description":"The provided username is already occupied"}],"users.getUsers":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"FROM_MESSAGE_BOT_DISABLED","error_description":"Bots can't use fromMessage min constructors"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_BANNED_IN_CHANNEL","error_description":"You're banned from sending messages in supergroups\/channels"}],"account.reportPeer":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"channels.editCreator":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","error_description":"You're admin of too many public channels, make some channels private to change the username of this channel"},{"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":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"PASSWORD_HASH_INVALID","error_description":"The provided password hash is invalid"},{"error_code":400,"error_message":"PASSWORD_MISSING","error_description":"You must [enable 2FA](https:\/\/core.telegram.org\/api\/srp) before executing this operation"},{"error_code":400,"error_message":"PASSWORD_TOO_FRESH_%d","error_description":"The password was modified less than 24 hours ago, try again in %d seconds"},{"error_code":400,"error_message":"SESSION_TOO_FRESH_%d","error_description":"This session was created less than 24 hours ago, try again in %d seconds"},{"error_code":400,"error_message":"SRP_ID_INVALID","error_description":"Invalid SRP ID provided"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"contacts.addContact":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CONTACT_ID_INVALID","error_description":"The provided contact ID is invalid"},{"error_code":400,"error_message":"CONTACT_NAME_EMPTY","error_description":"Contact name empty"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"contacts.block":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CONTACT_ID_INVALID","error_description":"The provided contact ID is invalid"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"contacts.unblock":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CONTACT_ID_INVALID","error_description":"The provided contact ID is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"folders.editPeerFolders":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"FOLDER_ID_INVALID","error_description":"Invalid folder ID"}],"messages.checkChatInvite":[{"error_code":406,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"INVITE_HASH_EMPTY","error_description":"The invite hash is empty"},{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":406,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":400,"error_message":"INVITE_HASH_INVALID","error_description":"The invite hash is invalid"}],"messages.deleteHistory":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_REVOKE_DATE_UNSUPPORTED","error_description":"`min_date` and `max_date` are not available for using with non-user peers."},{"error_code":400,"error_message":"MAX_DATE_INVALID","error_description":"The specified maximum date is invalid."},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"MIN_DATE_INVALID","error_description":"The specified minimum date is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.editExportedChatInvite":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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":"CHAT_INVITE_PERMANENT","error_description":"You can't set an expiration date on permanent invite links"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":403,"error_message":"EDIT_BOT_INVITE_FORBIDDEN","error_description":"Normal users can't edit invites that were created by bots"},{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USAGE_LIMIT_INVALID","error_description":"The specified usage limit is invalid"}],"messages.getExportedChatInvite":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getOnlines":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.hideChatJoinRequest":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"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_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"HIDE_REQUESTER_MISSING","error_description":"The join request was missing or was already handled."},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_ALREADY_PARTICIPANT","error_description":"The user is already in the group"},{"error_code":403,"error_message":"USER_CHANNELS_TOO_MUCH","error_description":"One of the users you tried to add is already in too many channels\/supergroups"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"messages.readHistory":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.reportSpam":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.toggleDialogPin":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"PEER_HISTORY_EMPTY","error_description":"You can't pin an empty chat with a user"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"PINNED_DIALOGS_TOO_MUCH","error_description":"Too many pinned dialogs"}],"phone.createGroupCall":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"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":"CREATE_CALL_FAILED","error_description":"An error occurred while creating the call."},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"SCHEDULE_DATE_INVALID","error_description":"Invalid schedule date provided"}],"channels.getAdminedPublicChannels":[{"error_code":400,"error_message":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","error_description":"The user has reached the limit of public geogroups"},{"error_code":400,"error_message":"CHANNELS_ADMIN_PUBLIC_TOO_MUCH","error_description":"You're admin of too many public channels, make some channels private to change the username of this channel"}],"messages.migrateChat":[{"error_code":400,"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","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"payments.refundStarsCharge":[{"error_code":400,"error_message":"CHARGE_ALREADY_REFUNDED","error_description":"The transaction was already refunded"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"messages.deleteFactCheck":[{"error_code":403,"error_message":"CHAT_ACTION_FORBIDDEN","error_description":"You cannot execute this action"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.editFactCheck":[{"error_code":403,"error_message":"CHAT_ACTION_FORBIDDEN","error_description":"You cannot execute this action"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.checkHistoryImportPeer":[{"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":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_NOT_MUTUAL_CONTACT","error_description":"The provided user is not a mutual contact"}],"messages.deleteChat":[{"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":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.deleteChatUser":[{"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":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"},{"error_code":400,"error_message":"USER_NOT_PARTICIPANT","error_description":"You're not a member of this supergroup\/channel"}],"messages.editChatTitle":[{"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":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"CHAT_TITLE_EMPTY","error_description":"No chat title provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getAdminsWithInvites":[{"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_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getMessageEditData":[{"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_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":403,"error_message":"MESSAGE_AUTHOR_REQUIRED","error_description":"Message author required"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getScheduledHistory":[{"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":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getScheduledMessages":[{"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":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.initHistoryImport":[{"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":"IMPORT_FILE_INVALID","error_description":"The specified chat export file is invalid"},{"error_code":400,"error_message":"IMPORT_FORMAT_DATE_INVALID","error_description":"The date specified in the import 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"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":406,"error_message":"PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN","error_description":"Import for this chat is already in progress, wait %d minutes before starting a new one."}],"messages.setChatAvailableReactions":[{"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":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.toggleNoForwards":[{"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":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.unpinAllMessages":[{"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":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.uploadImportedMedia":[{"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":"IMPORT_ID_INVALID","error_description":"The specified import ID is invalid"}],"phone.getGroupCallStreamRtmpUrl":[{"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":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"premium.getBoostsList":[{"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":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stories.getStoriesArchive":[{"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":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.discardEncryption":[{"error_code":400,"error_message":"CHAT_ID_EMPTY","error_description":"The provided chat ID is empty"},{"error_code":400,"error_message":"ENCRYPTION_ALREADY_ACCEPTED","error_description":"Secret chat already accepted"},{"error_code":400,"error_message":"ENCRYPTION_ALREADY_DECLINED","error_description":"The secret chat was already declined"},{"error_code":400,"error_message":"ENCRYPTION_ID_INVALID","error_description":"The provided secret chat ID is invalid"}],"messages.acceptEncryption":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"ENCRYPTION_ALREADY_ACCEPTED","error_description":"Secret chat already accepted"},{"error_code":400,"error_message":"ENCRYPTION_ALREADY_DECLINED","error_description":"The secret chat was already declined"}],"messages.editChatAdmin":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"},{"error_code":400,"error_message":"USER_NOT_PARTICIPANT","error_description":"You're not a member of this supergroup\/channel"}],"messages.editChatPhoto":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"IMAGE_PROCESS_FAILED","error_description":"Failure while processing image"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"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_INVALID","error_description":"Photo invalid"}],"messages.forwardMessage":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"messages.getChats":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getFullChat":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.readDiscussion":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.readEncryptedHistory":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"MAX_DATE_INVALID","error_description":"The specified maximum date is invalid."},{"error_code":400,"error_message":"MSG_WAIT_FAILED","error_description":"A waiting call returned an error"}],"messages.reportEncryptedSpam":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"}],"messages.sendEncrypted":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"DATA_INVALID","error_description":"Encrypted data invalid"},{"error_code":400,"error_message":"DATA_TOO_LONG","error_description":"Data too long"},{"error_code":400,"error_message":"ENCRYPTION_DECLINED","error_description":"The secret chat was declined"},{"error_code":400,"error_message":"MSG_WAIT_FAILED","error_description":"A waiting call returned an error"},{"error_code":403,"error_message":"USER_IS_BLOCKED","error_description":"You were blocked by this user"}],"messages.sendEncryptedFile":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"DATA_TOO_LONG","error_description":"Data too long"},{"error_code":400,"error_message":"ENCRYPTION_DECLINED","error_description":"The secret chat was declined"},{"error_code":400,"error_message":"FILE_EMTPY","error_description":"An empty file was provided"},{"error_code":400,"error_message":"MD5_CHECKSUM_INVALID","error_description":"The MD5 checksums do not match"},{"error_code":400,"error_message":"MSG_WAIT_FAILED","error_description":"A waiting call returned an error"}],"messages.sendEncryptedService":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"DATA_INVALID","error_description":"Encrypted data invalid"},{"error_code":400,"error_message":"ENCRYPTION_DECLINED","error_description":"The secret chat was declined"},{"error_code":400,"error_message":"ENCRYPTION_ID_INVALID","error_description":"The provided secret chat ID is invalid"},{"error_code":400,"error_message":"MSG_WAIT_FAILED","error_description":"A waiting call returned an error"},{"error_code":403,"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","error_description":"You were blocked by this user"}],"messages.setEncryptedTyping":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"}],"messages.toggleChatAdmins":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."}],"messages.updateDialogFilter":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHATLIST_EXCLUDE_INVALID","error_description":"The specified `exclude_peers` are invalid"},{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"},{"error_code":400,"error_message":"FILTER_INCLUDE_EMPTY","error_description":"The include_peers vector of the filter is empty"},{"error_code":400,"error_message":"FILTER_TITLE_EMPTY","error_description":"The title field of the filter is empty"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.uploadEncryptedFile":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"}],"messages.createChat":[{"error_code":400,"error_message":"CHAT_INVALID","error_description":"Invalid chat"},{"error_code":400,"error_message":"CHAT_TITLE_EMPTY","error_description":"No chat title provided"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"TTL_PERIOD_INVALID","error_description":"The specified TTL period is invalid"},{"error_code":403,"error_message":"USER_RESTRICTED","error_description":"You're spamreported, you can't create channels or chats."},{"error_code":406,"error_message":"USER_RESTRICTED","error_description":"You're spamreported, you can't create channels or chats."},{"error_code":400,"error_message":"USERS_TOO_FEW","error_description":"Not enough users (to create a chat, for example)"}],"messages.setHistoryTTL":[{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"No changes were made to chat information because the new information you passed is identical to the current information."},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"TTL_PERIOD_INVALID","error_description":"The specified TTL period is invalid"}],"messages.getMessageReadParticipants":[{"error_code":400,"error_message":"CHAT_TOO_BIG","error_description":"This method is not available for groups with more than `chat_read_mark_size_threshold` members, [see client configuration »](https:\/\/core.telegram.org\/api\/config#client-configuration)."},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"MSG_TOO_OLD","error_description":"[`chat_read_mark_expire_period` seconds](https:\/\/core.telegram.org\/api\/config#chat-read-mark-expire-period) have passed since the message was sent, read receipts were deleted"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getMessagesReadParticipants":[{"error_code":400,"error_message":"CHAT_TOO_BIG","error_description":"This method is not available for groups with more than `chat_read_mark_size_threshold` members, [see client configuration »](https:\/\/core.telegram.org\/api\/config#client-configuration)."},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"}],"messages.getDialogs":[{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"FOLDER_ID_INVALID","error_description":"Invalid folder ID"},{"error_code":400,"error_message":"OFFSET_PEER_ID_INVALID","error_description":"The provided offset peer is invalid"}],"account.deleteBusinessChatLink":[{"error_code":400,"error_message":"CHATLINK_SLUG_EMPTY","error_description":"The specified slug is empty"},{"error_code":400,"error_message":"CHATLINK_SLUG_EXPIRED","error_description":"The specified [business chat link](https:\/\/core.telegram.org\/api\/business#business-chat-links) has expired"}],"account.editBusinessChatLink":[{"error_code":400,"error_message":"CHATLINK_SLUG_EMPTY","error_description":"The specified slug is empty"},{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"account.resolveBusinessChatLink":[{"error_code":400,"error_message":"CHATLINK_SLUG_EMPTY","error_description":"The specified slug is empty"},{"error_code":400,"error_message":"CHATLINK_SLUG_EXPIRED","error_description":"The specified [business chat link](https:\/\/core.telegram.org\/api\/business#business-chat-links) has expired"}],"account.createBusinessChatLink":[{"error_code":400,"error_message":"CHATLINKS_TOO_MUCH","error_description":"Too many [business chat links](https:\/\/core.telegram.org\/api\/business#business-chat-links) were created, please delete some older links"},{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"auth.checkRecoveryPassword":[{"error_code":400,"error_message":"CODE_EMPTY","error_description":"The provided code is empty"},{"error_code":400,"error_message":"PASSWORD_RECOVERY_EXPIRED","error_description":"The recovery code has expired"}],"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 password settings are invalid."}],"account.confirmPhone":[{"error_code":400,"error_message":"CODE_HASH_INVALID","error_description":"Code hash invalid"},{"error_code":400,"error_message":"PHONE_CODE_EMPTY","error_description":"phone_code is missing"}],"account.confirmPasswordEmail":[{"error_code":400,"error_message":"CODE_INVALID","error_description":"Code invalid"},{"error_code":400,"error_message":"EMAIL_HASH_EXPIRED","error_description":"Email hash expired"}],"fragment.getCollectibleInfo":[{"error_code":400,"error_message":"COLLECTIBLE_INVALID","error_description":"The specified collectible is invalid"},{"error_code":400,"error_message":"COLLECTIBLE_NOT_FOUND","error_description":"The specified collectible could not be found"}],"account.updateColor":[{"error_code":400,"error_message":"COLOR_INVALID","error_description":"The specified color palette ID was invalid."},{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"help.getConfig":[{"error_code":400,"error_message":"CONNECTION_API_ID_INVALID","error_description":"The provided API id is invalid"},{"error_code":400,"error_message":"CONNECTION_APP_VERSION_EMPTY","error_description":"App version is empty"},{"error_code":400,"error_message":"CONNECTION_LAYER_INVALID","error_description":"Layer invalid"},{"error_code":400,"error_message":"DATA_INVALID","error_description":"Encrypted data invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":403,"error_message":"USER_PRIVACY_RESTRICTED","error_description":"The user's privacy settings do not allow you to do this"},{"error_code":400,"error_message":"USERNAME_INVALID","error_description":"The provided username is not valid"}],"account.getBotBusinessConnection":[{"error_code":400,"error_message":"CONNECTION_ID_INVALID","error_description":"The specified connection ID is invalid"}],"contacts.resolveUsername":[{"error_code":400,"error_message":"CONNECTION_LAYER_INVALID","error_description":"Layer invalid"},{"error_code":400,"error_message":"USERNAME_INVALID","error_description":"The provided username is not valid"},{"error_code":400,"error_message":"USERNAME_NOT_OCCUPIED","error_description":"The provided username is not occupied"}],"initConnection":[{"error_code":400,"error_message":"CONNECTION_LAYER_INVALID","error_description":"Layer invalid"}],"contacts.acceptContact":[{"error_code":400,"error_message":"CONTACT_ADD_MISSING","error_description":"Contact to add is missing"},{"error_code":400,"error_message":"CONTACT_ID_INVALID","error_description":"The provided contact ID is invalid"},{"error_code":400,"error_message":"CONTACT_REQ_MISSING","error_description":"Missing contact request"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"contacts.deleteContact":[{"error_code":400,"error_message":"CONTACT_ID_INVALID","error_description":"The provided contact ID is invalid"}],"photos.uploadContactProfilePhoto":[{"error_code":400,"error_message":"CONTACT_MISSING","error_description":"The specified user is not a contact"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"payments.exportInvoice":[{"error_code":400,"error_message":"CURRENCY_TOTAL_AMOUNT_INVALID","error_description":"The total amount of all prices is invalid"},{"error_code":400,"error_message":"INVOICE_PAYLOAD_INVALID","error_description":"The specified invoice payload is invalid."},{"error_code":400,"error_message":"MEDIA_INVALID","error_description":"Media invalid"},{"error_code":400,"error_message":"PAYMENT_PROVIDER_INVALID","error_description":"The specified payment provider is invalid"}],"bots.answerWebhookJSONQuery":[{"error_code":400,"error_message":"DATA_JSON_INVALID","error_description":"The provided JSON data is invalid"},{"error_code":400,"error_message":"QUERY_ID_INVALID","error_description":"The query ID is invalid"},{"error_code":400,"error_message":"USER_BOT_INVALID","error_description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."},{"error_code":403,"error_message":"USER_BOT_INVALID","error_description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"bots.sendCustomRequest":[{"error_code":400,"error_message":"DATA_JSON_INVALID","error_description":"The provided JSON data is invalid"},{"error_code":400,"error_message":"METHOD_INVALID","error_description":"The specified method is invalid"},{"error_code":400,"error_message":"USER_BOT_INVALID","error_description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."},{"error_code":403,"error_message":"USER_BOT_INVALID","error_description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"help.acceptTermsOfService":[{"error_code":400,"error_message":"DATA_JSON_INVALID","error_description":"The provided JSON data is invalid"}],"payments.assignPlayMarketTransaction":[{"error_code":400,"error_message":"DATA_JSON_INVALID","error_description":"The provided JSON data is invalid"}],"phone.joinGroupCall":[{"error_code":400,"error_message":"DATA_JSON_INVALID","error_description":"The provided JSON data is invalid"},{"error_code":403,"error_message":"GROUPCALL_FORBIDDEN","error_description":"The group call has already ended"},{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"},{"error_code":400,"error_message":"GROUPCALL_SSRC_DUPLICATE_MUCH","error_description":"The app needs to retry joining the group call with a new SSRC value."},{"error_code":400,"error_message":"JOIN_AS_PEER_INVALID","error_description":"The specified peer cannot be used to join a group call"}],"auth.exportAuthorization":[{"error_code":400,"error_message":"DC_ID_INVALID","error_description":"The provided DC ID is invalid"}],"messages.requestEncryption":[{"error_code":400,"error_message":"DH_G_A_INVALID","error_description":"g_a invalid"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"account.updateEmojiStatus":[{"error_code":400,"error_message":"DOCUMENT_INVALID","error_description":"The specified document is invalid"}],"upload.getWebFile":[{"error_code":400,"error_message":"DOCUMENT_INVALID","error_description":"The specified document is invalid"},{"error_code":400,"error_message":"LOCATION_INVALID","error_description":"The provided location is invalid"}],"account.cancelPasswordEmail":[{"error_code":400,"error_message":"EMAIL_HASH_EXPIRED","error_description":"Email hash expired"}],"account.resendPasswordEmail":[{"error_code":400,"error_message":"EMAIL_HASH_EXPIRED","error_description":"Email hash expired"}],"account.sendVerifyEmailCode":[{"error_code":400,"error_message":"EMAIL_INVALID","error_description":"The specified email is invalid"},{"error_code":400,"error_message":"EMAIL_NOT_ALLOWED","error_description":"The specified email cannot be used to complete the operation."},{"error_code":400,"error_message":"EMAIL_NOT_SETUP","error_description":"In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup"},{"error_code":400,"error_message":"PHONE_HASH_EXPIRED","error_description":"An invalid or expired `phone_code_hash` was provided."},{"error_code":400,"error_message":"PHONE_NUMBER_INVALID","error_description":"The phone number is invalid"}],"account.updatePasswordSettings":[{"error_code":400,"error_message":"EMAIL_INVALID","error_description":"The specified email is invalid"},{"error_code":400,"error_message":"EMAIL_UNCONFIRMED","error_description":"Email unconfirmed"},{"error_code":400,"error_message":"EMAIL_UNCONFIRMED_%d","error_description":"The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email: use [account.verifyEmail](https:\/\/core.telegram.org\/method\/account.verifyEmail) to enter the received verification code and enable the recovery email."},{"error_code":400,"error_message":"NEW_SALT_INVALID","error_description":"The new salt is invalid"},{"error_code":400,"error_message":"NEW_SETTINGS_EMPTY","error_description":"No password is set on the current account, and no new password was specified in `new_settings`."},{"error_code":400,"error_message":"NEW_SETTINGS_INVALID","error_description":"The new password settings are invalid."},{"error_code":400,"error_message":"PASSWORD_HASH_INVALID","error_description":"The provided password hash is invalid"},{"error_code":400,"error_message":"SRP_ID_INVALID","error_description":"Invalid SRP ID provided"},{"error_code":400,"error_message":"SRP_PASSWORD_CHANGED","error_description":"Password has changed"}],"account.verifyEmail":[{"error_code":400,"error_message":"EMAIL_INVALID","error_description":"The specified email is invalid"},{"error_code":400,"error_message":"EMAIL_NOT_ALLOWED","error_description":"The specified email cannot be used to complete the operation."},{"error_code":400,"error_message":"EMAIL_VERIFY_EXPIRED","error_description":"The verification email has expired"},{"error_code":400,"error_message":"PHONE_NUMBER_INVALID","error_description":"The phone number is invalid"}],"messages.setChatTheme":[{"error_code":400,"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"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getStickers":[{"error_code":400,"error_message":"EMOTICON_EMPTY","error_description":"The emoji is empty"}],"messages.searchCustomEmoji":[{"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":"inputStickerSetDice.emoji cannot be empty"},{"error_code":400,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"},{"error_code":406,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"}],"auth.bindTempAuthKey":[{"error_code":400,"error_message":"ENCRYPTED_MESSAGE_INVALID","error_description":"Encrypted message invalid"},{"error_code":400,"error_message":"TEMP_AUTH_KEY_ALREADY_BOUND","error_description":"The passed temporary key is already bound to another **perm_auth_key_id**."},{"error_code":400,"error_message":"TEMP_AUTH_KEY_EMPTY","error_description":"No temporary auth key provided"}],"help.editUserInfo":[{"error_code":400,"error_message":"ENTITY_BOUNDS_INVALID","error_description":"A specified [entity offset or length](https:\/\/core.telegram.org\/api\/entities#entity-length) is invalid, see [here »](https:\/\/core.telegram.org\/api\/entities#entity-length) for info on how to properly compute the entity offset\/length"},{"error_code":400,"error_message":"USER_INVALID","error_description":"Invalid user provided"},{"error_code":403,"error_message":"USER_INVALID","error_description":"Invalid user provided"}],"messages.getWebPagePreview":[{"error_code":400,"error_message":"ENTITY_BOUNDS_INVALID","error_description":"A specified [entity offset or length](https:\/\/core.telegram.org\/api\/entities#entity-length) is invalid, see [here »](https:\/\/core.telegram.org\/api\/entities#entity-length) for info on how to properly compute the entity offset\/length"},{"error_code":400,"error_message":"MESSAGE_EMPTY","error_description":"The provided message is empty"}],"messages.saveDraft":[{"error_code":400,"error_message":"ENTITY_BOUNDS_INVALID","error_description":"A specified [entity offset or length](https:\/\/core.telegram.org\/api\/entities#entity-length) is invalid, see [here »](https:\/\/core.telegram.org\/api\/entities#entity-length) for info on how to properly compute the entity offset\/length"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.setBotPrecheckoutResults":[{"error_code":400,"error_message":"ERROR_TEXT_EMPTY","error_description":"The provided error message is empty"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"contacts.importCard":[{"error_code":400,"error_message":"EXPORT_CARD_INVALID","error_description":"Provided card is invalid"}],"upload.saveBigFilePart":[{"error_code":400,"error_message":"FILE_PART_EMPTY","error_description":"The provided file part is empty"},{"error_code":400,"error_message":"FILE_PART_INVALID","error_description":"The file part number is invalid"},{"error_code":400,"error_message":"FILE_PART_SIZE_CHANGED","error_description":"Provided file part size has changed"},{"error_code":400,"error_message":"FILE_PART_SIZE_INVALID","error_description":"The provided file part size is invalid"},{"error_code":400,"error_message":"FILE_PART_TOO_BIG","error_description":"The uploaded file part is too big"},{"error_code":400,"error_message":"FILE_PARTS_INVALID","error_description":"The number of file parts is invalid"}],"upload.saveFilePart":[{"error_code":400,"error_message":"FILE_PART_EMPTY","error_description":"The provided file part is empty"},{"error_code":400,"error_message":"FILE_PART_INVALID","error_description":"The file part number is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"upload.getCdnFile":[{"error_code":400,"error_message":"FILE_TOKEN_INVALID","error_description":"The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile."}],"chatlists.deleteExportedInvite":[{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"},{"error_code":400,"error_message":"FILTER_NOT_SUPPORTED","error_description":"The specified filter cannot be used in this context"}],"chatlists.exportChatlistInvite":[{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"},{"error_code":400,"error_message":"FILTER_NOT_SUPPORTED","error_description":"The specified filter cannot be used in this context"},{"error_code":400,"error_message":"INVITES_TOO_MUCH","error_description":"The maximum number of per-folder invites specified by the `chatlist_invites_limit_default`\/`chatlist_invites_limit_premium` [client configuration parameters »](https:\/\/core.telegram.org\/api\/config#chatlist-invites-limit-default) was reached."},{"error_code":400,"error_message":"PEERS_LIST_EMPTY","error_description":"The specified list of peers is empty"}],"chatlists.getChatlistUpdates":[{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"},{"error_code":400,"error_message":"FILTER_NOT_SUPPORTED","error_description":"The specified filter cannot be used in this context"},{"error_code":400,"error_message":"INPUT_CHATLIST_INVALID","error_description":"The specified folder is invalid"}],"chatlists.getExportedInvites":[{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"}],"chatlists.getLeaveChatlistSuggestions":[{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"},{"error_code":400,"error_message":"FILTER_NOT_SUPPORTED","error_description":"The specified filter cannot be used in this context"}],"chatlists.hideChatlistUpdates":[{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"},{"error_code":400,"error_message":"FILTER_NOT_SUPPORTED","error_description":"The specified filter cannot be used in this context"}],"chatlists.joinChatlistUpdates":[{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"},{"error_code":400,"error_message":"FILTER_INCLUDE_EMPTY","error_description":"The include_peers vector of the filter is empty"}],"chatlists.leaveChatlist":[{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"}],"chatlists.joinChatlistInvite":[{"error_code":400,"error_message":"FILTER_INCLUDE_EMPTY","error_description":"The include_peers vector of the filter is empty"},{"error_code":400,"error_message":"INVITE_SLUG_EMPTY","error_description":"The specified invite slug is empty"},{"error_code":400,"error_message":"INVITE_SLUG_EXPIRED","error_description":"The specified chat folder link has expired."}],"messages.getSearchResultsCalendar":[{"error_code":400,"error_message":"FILTER_NOT_SUPPORTED","error_description":"The specified filter cannot be used in this context"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.searchSentMedia":[{"error_code":400,"error_message":"FILTER_NOT_SUPPORTED","error_description":"The specified filter cannot be used in this context"}],"auth.signUp":[{"error_code":400,"error_message":"FIRSTNAME_INVALID","error_description":"The first name is invalid"},{"error_code":400,"error_message":"LASTNAME_INVALID","error_description":"The last name is invalid."},{"error_code":400,"error_message":"PHONE_CODE_EMPTY","error_description":"phone_code is missing"},{"error_code":400,"error_message":"PHONE_CODE_EXPIRED","error_description":"The phone code you provided has expired"},{"error_code":400,"error_message":"PHONE_CODE_INVALID","error_description":"The provided phone code is invalid"},{"error_code":400,"error_message":"PHONE_NUMBER_FLOOD","error_description":"You asked for the code too many times."},{"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"},{"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"},{"error_code":400,"error_message":"FOLDER_ID_INVALID","error_description":"Invalid folder ID"}],"messages.getPinnedDialogs":[{"error_code":400,"error_message":"FOLDER_ID_INVALID","error_description":"Invalid folder ID"}],"messages.searchGlobal":[{"error_code":400,"error_message":"FOLDER_ID_INVALID","error_description":"Invalid folder ID"},{"error_code":400,"error_message":"INPUT_FILTER_INVALID","error_description":"The specified filter is invalid"},{"error_code":400,"error_message":"SEARCH_QUERY_EMPTY","error_description":"The search query is empty"}],"account.sendChangePhoneCode":[{"error_code":406,"error_message":"FRESH_CHANGE_PHONE_FORBIDDEN","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"},{"error_code":400,"error_message":"PHONE_NUMBER_OCCUPIED","error_description":"The phone number is already in use"}],"account.resetAuthorization":[{"error_code":406,"error_message":"FRESH_RESET_AUTHORISATION_FORBIDDEN","error_description":"You can't logout other sessions if less than 24 hours have passed since you logged on the current session"},{"error_code":400,"error_message":"HASH_INVALID","error_description":"The provided hash is invalid"}],"account.setAuthorizationTTL":[{"error_code":406,"error_message":"FRESH_RESET_AUTHORISATION_FORBIDDEN","error_description":"You can't logout other sessions if less than 24 hours have passed since you logged on the current session"},{"error_code":400,"error_message":"TTL_DAYS_INVALID","error_description":"The provided TTL is invalid"}],"auth.resetAuthorizations":[{"error_code":406,"error_message":"FRESH_RESET_AUTHORISATION_FORBIDDEN","error_description":"You can't logout other sessions if less than 24 hours have passed since you logged on the current session"}],"messages.saveGif":[{"error_code":400,"error_message":"GIF_ID_INVALID","error_description":"The provided GIF ID is invalid"}],"payments.applyGiftCode":[{"error_code":400,"error_message":"GIFT_SLUG_EXPIRED","error_description":"The specified gift slug has expired"},{"error_code":400,"error_message":"GIFT_SLUG_INVALID","error_description":"The specified slug is invalid."},{"error_code":420,"error_message":"PREMIUM_SUB_ACTIVE_UNTIL_%d","error_description":"You already have a premium subscription active until unixtime %d "}],"payments.checkGiftCode":[{"error_code":400,"error_message":"GIFT_SLUG_EXPIRED","error_description":"The specified gift slug has expired"},{"error_code":400,"error_message":"GIFT_SLUG_INVALID","error_description":"The specified slug is invalid."}],"stats.loadAsyncGraph":[{"error_code":400,"error_message":"GRAPH_EXPIRED_RELOAD","error_description":"This graph has expired, please obtain a new graph token"},{"error_code":400,"error_message":"GRAPH_INVALID_RELOAD","error_description":"Invalid graph token provided, please reload the stats and provide the updated token"},{"error_code":400,"error_message":"GRAPH_OUTDATED_RELOAD","error_description":"The graph is outdated, please get a new async token using stats.getBroadcastStats"}],"phone.discardGroupCall":[{"error_code":400,"error_message":"GROUPCALL_ALREADY_DISCARDED","error_description":"The group call was already discarded"},{"error_code":403,"error_message":"GROUPCALL_FORBIDDEN","error_description":"The group call has already ended"},{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"}],"phone.discardGroupCallRequest":[{"error_code":400,"error_message":"GROUPCALL_ALREADY_DISCARDED","error_description":"The group call was already discarded"}],"phone.startScheduledGroupCall":[{"error_code":403,"error_message":"GROUPCALL_ALREADY_STARTED","error_description":"The groupcall has already started, you can join directly using [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall)"},{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"}],"phone.toggleGroupCallStartSubscription":[{"error_code":403,"error_message":"GROUPCALL_ALREADY_STARTED","error_description":"The groupcall has already started, you can join directly using [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall)"},{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"}],"phone.editGroupCallParticipant":[{"error_code":400,"error_message":"GROUPCALL_FORBIDDEN","error_description":"The group call has already ended"},{"error_code":403,"error_message":"GROUPCALL_FORBIDDEN","error_description":"The group call has already ended"},{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"},{"error_code":400,"error_message":"PARTICIPANT_JOIN_MISSING","error_description":"Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall)."},{"error_code":400,"error_message":"RAISE_HAND_FORBIDDEN","error_description":"You cannot raise your hand"},{"error_code":400,"error_message":"USER_VOLUME_INVALID","error_description":"The specified user volume is invalid"},{"error_code":400,"error_message":"VIDEO_PAUSE_FORBIDDEN","error_description":"You cannot pause the video stream"},{"error_code":400,"error_message":"VIDEO_STOP_FORBIDDEN","error_description":"You cannot stop the video stream"}],"phone.editGroupCallTitle":[{"error_code":403,"error_message":"GROUPCALL_FORBIDDEN","error_description":"The group call has already ended"},{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"}],"phone.getGroupCall":[{"error_code":403,"error_message":"GROUPCALL_FORBIDDEN","error_description":"The group call has already ended"},{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"}],"phone.inviteToGroupCall":[{"error_code":403,"error_message":"GROUPCALL_FORBIDDEN","error_description":"The group call has already ended"},{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"},{"error_code":400,"error_message":"INVITE_FORBIDDEN_WITH_JOINAS","error_description":"If the user has anonymously joined a group call as a channel, they can't invite other users to the group call because that would cause deanonymization, because the invite would be sent using the original user ID, not the anonymized channel ID"},{"error_code":400,"error_message":"USER_ALREADY_INVITED","error_description":"You have already invited this user"}],"phone.toggleGroupCallRecord":[{"error_code":403,"error_message":"GROUPCALL_FORBIDDEN","error_description":"The group call has already ended"},{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"},{"error_code":400,"error_message":"GROUPCALL_NOT_MODIFIED","error_description":"Group call settings weren't modified"}],"phone.checkGroupCall":[{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"},{"error_code":400,"error_message":"GROUPCALL_JOIN_MISSING","error_description":"You haven't joined this group call."}],"phone.exportGroupCallInvite":[{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"},{"error_code":403,"error_message":"PUBLIC_CHANNEL_MISSING","error_description":"You can only export group call invite links for public chats or channels"}],"phone.getGroupCallStreamChannels":[{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"},{"error_code":400,"error_message":"GROUPCALL_JOIN_MISSING","error_description":"You haven't joined this group call."}],"phone.getGroupParticipants":[{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"}],"phone.joinGroupCallPresentation":[{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"},{"error_code":400,"error_message":"PARTICIPANT_JOIN_MISSING","error_description":"Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall)."},{"error_code":403,"error_message":"PARTICIPANT_JOIN_MISSING","error_description":"Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall)."}],"phone.leaveGroupCall":[{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"}],"phone.leaveGroupCallPresentation":[{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"}],"phone.toggleGroupCallSettings":[{"error_code":400,"error_message":"GROUPCALL_INVALID","error_description":"The specified group call is invalid"},{"error_code":400,"error_message":"GROUPCALL_NOT_MODIFIED","error_description":"Group call settings weren't modified"}],"account.changeAuthorizationSettings":[{"error_code":400,"error_message":"HASH_INVALID","error_description":"The provided hash is invalid"}],"account.resetWebAuthorization":[{"error_code":400,"error_message":"HASH_INVALID","error_description":"The provided hash is invalid"}],"account.sendConfirmPhoneCode":[{"error_code":400,"error_message":"HASH_INVALID","error_description":"The provided hash is invalid"}],"stories.searchPosts":[{"error_code":400,"error_message":"HASHTAG_INVALID","error_description":"The specified hashtag is invalid"}],"messages.checkHistoryImport":[{"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"}],"contacts.importContactToken":[{"error_code":400,"error_message":"IMPORT_TOKEN_INVALID","error_description":"The specified token is invalid"}],"messages.translateText":[{"error_code":400,"error_message":"INPUT_TEXT_EMPTY","error_description":"The specified text is empty"},{"error_code":400,"error_message":"INPUT_TEXT_TOO_LONG","error_description":"The specified text is too long"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"TO_LANG_INVALID","error_description":"The specified destination language is invalid"},{"error_code":400,"error_message":"TRANSLATE_REQ_QUOTA_EXCEEDED","error_description":"Translation is currently unavailable due to a temporary server-side lack of resources."}],"messages.sendScreenshotNotification":[{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"REPLY_MESSAGE_ID_INVALID","error_description":"The specified reply-to message ID is invalid"},{"error_code":400,"error_message":"STORY_ID_INVALID","error_description":"The specified story ID is invalid"},{"error_code":400,"error_message":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"messages.deleteExportedChatInvite":[{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":400,"error_message":"INVITE_REVOKED_MISSING","error_description":"The specified invite link was already revoked or is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"chatlists.checkChatlistInvite":[{"error_code":400,"error_message":"INVITE_SLUG_EMPTY","error_description":"The specified invite slug is empty"},{"error_code":400,"error_message":"INVITE_SLUG_EXPIRED","error_description":"The specified chat folder link has expired."}],"phone.saveDefaultGroupCallJoinAs":[{"error_code":400,"error_message":"JOIN_AS_PEER_INVALID","error_description":"The specified peer cannot be used to join a group call"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"bots.resetBotCommands":[{"error_code":400,"error_message":"LANG_CODE_INVALID","error_description":"The specified language code is invalid"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"langpack.getLangPack":[{"error_code":400,"error_message":"LANG_CODE_NOT_SUPPORTED","error_description":"The specified language code is not supported"},{"error_code":400,"error_message":"LANG_PACK_INVALID","error_description":"The provided language pack is invalid"},{"error_code":400,"error_message":"LANGUAGE_INVALID","error_description":"The specified lang_code is invalid."}],"langpack.getLanguage":[{"error_code":400,"error_message":"LANG_CODE_NOT_SUPPORTED","error_description":"The specified language code is not supported"},{"error_code":400,"error_message":"LANG_PACK_INVALID","error_description":"The provided language pack is invalid"}],"langpack.getStrings":[{"error_code":400,"error_message":"LANG_CODE_NOT_SUPPORTED","error_description":"The specified language code is not supported"},{"error_code":400,"error_message":"LANG_PACK_INVALID","error_description":"The provided language pack is invalid"}],"langpack.getDifference":[{"error_code":400,"error_message":"LANG_PACK_INVALID","error_description":"The provided language pack is invalid"}],"langpack.getLanguages":[{"error_code":400,"error_message":"LANG_PACK_INVALID","error_description":"The provided language pack is invalid"}],"upload.getFileHashes":[{"error_code":400,"error_message":"LOCATION_INVALID","error_description":"The provided location is invalid"}],"photos.getUserPhotos":[{"error_code":400,"error_message":"MAX_ID_INVALID","error_description":"The provided max ID is invalid"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"stories.readStories":[{"error_code":400,"error_message":"MAX_ID_INVALID","error_description":"The provided max ID is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"STORIES_NEVER_CREATED","error_description":"This peer hasn't ever posted any stories."}],"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"}],"messages.getAttachedStickers":[{"error_code":400,"error_message":"MEDIA_EMPTY","error_description":"The provided media object is invalid"}],"messages.deleteMessages":[{"error_code":403,"error_message":"MESSAGE_DELETE_FORBIDDEN","error_description":"You can't delete one of the messages you tried to delete, most likely because it is a service message."},{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"}],"messages.deleteScheduledMessages":[{"error_code":403,"error_message":"MESSAGE_DELETE_FORBIDDEN","error_description":"You can't delete one of the messages you tried to delete, most likely because it is a service message."},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"auth.sendInvites":[{"error_code":400,"error_message":"MESSAGE_EMPTY","error_description":"The provided message is empty"}],"messages.getGameHighScores":[{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"messages.getInlineGameHighScores":[{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"messages.getOutboxReadDate":[{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"MESSAGE_NOT_READ_YET","error_description":"The specified message wasn't read yet."},{"error_code":400,"error_message":"MESSAGE_TOO_OLD","error_description":"The message is too old, the requested information is not available"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":403,"error_message":"USER_PRIVACY_RESTRICTED","error_description":"The user's privacy settings do not allow you to do this"},{"error_code":403,"error_message":"YOUR_PRIVACY_RESTRICTED","error_description":"You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a [Telegram Premium](https:\/\/core.telegram.org\/api\/premium) subscription."}],"messages.getPollResults":[{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.sendScheduledMessages":[{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.setInlineGameScore":[{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"payments.getPaymentReceipt":[{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"}],"payments.sendPaymentForm":[{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"payments.validateRequestedInfo":[{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.setBotCallbackAnswer":[{"error_code":400,"error_message":"MESSAGE_TOO_LONG","error_description":"The provided message is too long"},{"error_code":400,"error_message":"QUERY_ID_INVALID","error_description":"The query ID is invalid"},{"error_code":400,"error_message":"URL_INVALID","error_description":"Invalid URL provided"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","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"}],"contacts.blockFromReplies":[{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"messages.getCommonChats":[{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"messages.reportReaction":[{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"smsjobs.isEligibleToJoin":[{"error_code":403,"error_message":"NOT_ELIGIBLE","error_description":"The current user is not eligible to join the Peer-to-Peer Login Program"}],"smsjobs.join":[{"error_code":400,"error_message":"NOT_ELIGIBLE","error_description":"The current user is not eligible to join the Peer-to-Peer Login Program"}],"smsjobs.getStatus":[{"error_code":400,"error_message":"NOT_JOINED","error_description":"The current user hasn't joined the Peer-to-Peer Login Program"}],"smsjobs.leave":[{"error_code":400,"error_message":"NOT_JOINED","error_description":"The current user hasn't joined the Peer-to-Peer Login Program"}],"smsjobs.updateSettings":[{"error_code":400,"error_message":"NOT_JOINED","error_description":"The current user hasn't joined the Peer-to-Peer Login Program"}],"account.reorderUsernames":[{"error_code":400,"error_message":"ORDER_INVALID","error_description":"The specified username order is invalid"},{"error_code":400,"error_message":"USERNAME_NOT_MODIFIED","error_description":"The username was not modified"}],"stickers.createStickerSet":[{"error_code":400,"error_message":"PACK_SHORT_NAME_INVALID","error_description":"Short pack name invalid"},{"error_code":400,"error_message":"PACK_SHORT_NAME_OCCUPIED","error_description":"A stickerpack with this name already exists"},{"error_code":400,"error_message":"PACK_TITLE_INVALID","error_description":"The stickerpack title is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"STICKER_EMOJI_INVALID","error_description":"Sticker emoji invalid"},{"error_code":400,"error_message":"STICKER_FILE_INVALID","error_description":"Sticker file invalid"},{"error_code":400,"error_message":"STICKER_GIF_DIMENSIONS","error_description":"The specified video sticker has invalid dimensions"},{"error_code":400,"error_message":"STICKER_PNG_DIMENSIONS","error_description":"Sticker png dimensions invalid"},{"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_NODOC","error_description":"You must send the animated sticker as a document."},{"error_code":400,"error_message":"STICKER_TGS_NOTGS","error_description":"Invalid TGS sticker provided."},{"error_code":400,"error_message":"STICKER_THUMB_PNG_NOPNG","error_description":"Incorrect stickerset thumb file provided, PNG \/ WEBP expected."},{"error_code":400,"error_message":"STICKER_THUMB_TGS_NOTGS","error_description":"Incorrect stickerset TGS thumb file provided."},{"error_code":400,"error_message":"STICKER_VIDEO_BIG","error_description":"The specified video sticker is too big"},{"error_code":400,"error_message":"STICKER_VIDEO_NODOC","error_description":"You must send the video sticker as a document."},{"error_code":400,"error_message":"STICKER_VIDEO_NOWEBM","error_description":"The specified video sticker is not in webm format"},{"error_code":400,"error_message":"STICKERS_EMPTY","error_description":"No sticker provided"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"account.resetPassword":[{"error_code":400,"error_message":"PASSWORD_EMPTY","error_description":"The provided password is empty"}],"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":"No email was set, can't recover password via email."}],"account.getPasswordSettings":[{"error_code":400,"error_message":"PASSWORD_HASH_INVALID","error_description":"The provided password hash is invalid"}],"account.getTmpPassword":[{"error_code":400,"error_message":"PASSWORD_HASH_INVALID","error_description":"The provided password hash is invalid"},{"error_code":400,"error_message":"TMP_PASSWORD_DISABLED","error_description":"The temporary password is disabled"}],"auth.checkPassword":[{"error_code":400,"error_message":"PASSWORD_HASH_INVALID","error_description":"The provided password hash is invalid"},{"error_code":400,"error_message":"SRP_ID_INVALID","error_description":"Invalid SRP ID provided"},{"error_code":400,"error_message":"SRP_PASSWORD_CHANGED","error_description":"Password has changed"}],"payments.getStarsRevenueWithdrawalUrl":[{"error_code":400,"error_message":"PASSWORD_HASH_INVALID","error_description":"The provided password hash is invalid"},{"error_code":400,"error_message":"PASSWORD_MISSING","error_description":"You must [enable 2FA](https:\/\/core.telegram.org\/api\/srp) before executing this operation"},{"error_code":400,"error_message":"PASSWORD_TOO_FRESH_%d","error_description":"The password was modified less than 24 hours ago, try again in %d seconds"}],"stats.getBroadcastRevenueWithdrawalUrl":[{"error_code":400,"error_message":"PASSWORD_HASH_INVALID","error_description":"The provided password hash is invalid"},{"error_code":400,"error_message":"PASSWORD_MISSING","error_description":"You must [enable 2FA](https:\/\/core.telegram.org\/api\/srp) before executing this operation"},{"error_code":400,"error_message":"PASSWORD_TOO_FRESH_%d","error_description":"The password was modified less than 24 hours ago, try again in %d seconds"}],"account.saveSecureValue":[{"error_code":400,"error_message":"PASSWORD_REQUIRED","error_description":"A [2FA password](https:\/\/core.telegram.org\/api\/srp) must be configured to use Telegram Passport"},{"error_code":400,"error_message":"SECURE_SECRET_REQUIRED","error_description":"A secure secret is required"}],"account.getNotifySettings":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"account.reportProfilePhoto":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"account.saveAutoSaveSettings":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"account.toggleConnectedBotPaused":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"contacts.resetTopPeerRating":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.deleteSavedHistory":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getFactCheck":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getSavedHistory":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getSearchCounters":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getSearchResultsPositions":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getStatsURL":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getUnreadReactions":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.hidePeerSettingsBar":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.hideReportSpam":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.markDialogUnread":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.readReactions":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.reorderPinnedDialogs":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.saveDefaultSendAs":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"SEND_AS_PEER_INVALID","error_description":"You can't send messages as the specified peer"}],"messages.sendBotRequestedPeer":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.sendQuickReplyMessages":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"messages.setChatWallPaper":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"WALLPAPER_INVALID","error_description":"The specified wallpaper is invalid"},{"error_code":400,"error_message":"WALLPAPER_NOT_FOUND","error_description":"The specified wallpaper could not be found"}],"messages.togglePeerTranslations":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.toggleSavedDialogPin":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.transcribeAudio":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."},{"error_code":400,"error_message":"TRANSCRIPTION_FAILED","error_description":"Audio transcription failed"}],"payments.getGiveawayInfo":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"payments.getStarsRevenueAdsAccountUrl":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"payments.getStarsRevenueStats":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"payments.getStarsStatus":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"payments.getStarsTransactions":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"payments.getStarsTransactionsByID":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"payments.launchPrepaidGiveaway":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"phone.getGroupCallJoinAs":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"premium.getBoostsStatus":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"premium.getUserBoosts":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stats.getStoryPublicForwards":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stats.getStoryStats":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stories.deleteStories":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"STORY_ID_EMPTY","error_description":"You specified no story IDs."}],"stories.editStory":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"STORY_NOT_MODIFIED","error_description":"The new story information you passed is equal to the previous story information, thus it wasn't modified."}],"stories.exportStoryLink":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"STORY_ID_EMPTY","error_description":"You specified no story IDs."},{"error_code":400,"error_message":"USER_PUBLIC_MISSING","error_description":"Cannot generate a link to stories posted by a peer without a username."}],"stories.getBoostsStatus":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stories.getPinnedStories":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"stories.getStoryReactionsList":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stories.getStoryViewsList":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"STORY_ID_INVALID","error_description":"The specified story ID is invalid"}],"stories.incrementStoryViews":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"STORY_ID_EMPTY","error_description":"You specified no story IDs."}],"stories.report":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stories.sendReaction":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"REACTION_INVALID","error_description":"The specified reaction is invalid"},{"error_code":400,"error_message":"STORY_ID_EMPTY","error_description":"You specified no story IDs."},{"error_code":400,"error_message":"STORY_ID_INVALID","error_description":"The specified story ID is invalid"}],"stories.togglePeerStoriesHidden":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stories.togglePinned":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stories.togglePinnedToTop":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"STORY_ID_INVALID","error_description":"The specified story ID is invalid"}],"account.changePhone":[{"error_code":400,"error_message":"PHONE_CODE_EMPTY","error_description":"phone_code is missing"},{"error_code":400,"error_message":"PHONE_CODE_EXPIRED","error_description":"The phone code you provided has expired"},{"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"},{"error_code":400,"error_message":"PHONE_NUMBER_OCCUPIED","error_description":"The phone number is already in use"}],"account.verifyPhone":[{"error_code":400,"error_message":"PHONE_CODE_EMPTY","error_description":"phone_code is missing"},{"error_code":400,"error_message":"PHONE_CODE_EXPIRED","error_description":"The phone code you provided has expired"},{"error_code":400,"error_message":"PHONE_NUMBER_INVALID","error_description":"The phone number is invalid"}],"auth.requestFirebaseSms":[{"error_code":400,"error_message":"PHONE_CODE_EMPTY","error_description":"phone_code is missing"},{"error_code":400,"error_message":"PHONE_NUMBER_INVALID","error_description":"The phone number is invalid"}],"auth.resendCode":[{"error_code":400,"error_message":"PHONE_CODE_EMPTY","error_description":"phone_code is missing"},{"error_code":400,"error_message":"PHONE_CODE_EXPIRED","error_description":"The phone code you provided has expired"},{"error_code":400,"error_message":"PHONE_CODE_HASH_EMPTY","error_description":"phone_code_hash is missing"},{"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"},{"error_code":406,"error_message":"SEND_CODE_UNAVAILABLE","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)"}],"auth.signIn":[{"error_code":400,"error_message":"PHONE_CODE_EMPTY","error_description":"phone_code is missing"},{"error_code":400,"error_message":"PHONE_CODE_EXPIRED","error_description":"The phone code you provided has expired"},{"error_code":400,"error_message":"PHONE_CODE_INVALID","error_description":"The provided phone code is invalid"},{"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"},{"error_code":400,"error_message":"PHONE_NUMBER_UNOCCUPIED","error_description":"The phone number is not yet being used"},{"error_code":406,"error_message":"UPDATE_APP_TO_LOGIN","error_description":"Please update to the latest version of MadelineProto to login."}],"auth.cancelCode":[{"error_code":400,"error_message":"PHONE_CODE_EXPIRED","error_description":"The phone code you provided has expired"},{"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"}],"contacts.resolvePhone":[{"error_code":400,"error_message":"PHONE_NOT_OCCUPIED","error_description":"No user is associated to the specified phone number"}],"auth.checkPhone":[{"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"}],"account.sendVerifyPhoneCode":[{"error_code":400,"error_message":"PHONE_NUMBER_INVALID","error_description":"The phone number is invalid"}],"auth.reportMissingCode":[{"error_code":400,"error_message":"PHONE_NUMBER_INVALID","error_description":"The phone number is invalid"}],"auth.resetLoginEmail":[{"error_code":400,"error_message":"PHONE_NUMBER_INVALID","error_description":"The phone number is invalid"},{"error_code":400,"error_message":"TASK_ALREADY_EXISTS","error_description":"An email reset was already requested."}],"messages.checkQuickReplyShortcut":[{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"messages.editQuickReplyShortcut":[{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."},{"error_code":400,"error_message":"SHORTCUT_INVALID","error_description":"The specified shortcut is invalid"}],"messages.reorderQuickReplies":[{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"messages.toggleDialogFilterTags":[{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"messages.updateSavedReactionTag":[{"error_code":403,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."},{"error_code":400,"error_message":"REACTION_INVALID","error_description":"The specified reaction is invalid"}],"stories.activateStealthMode":[{"error_code":400,"error_message":"PREMIUM_ACCOUNT_REQUIRED","error_description":"A premium account is required to execute this action."}],"account.getPrivacy":[{"error_code":400,"error_message":"PRIVACY_KEY_INVALID","error_description":"The privacy key is invalid"}],"account.setPrivacy":[{"error_code":400,"error_message":"PRIVACY_KEY_INVALID","error_description":"The privacy key is invalid"},{"error_code":400,"error_message":"PRIVACY_TOO_LONG","error_description":"Too many privacy rules were specified, the current limit is 1000"},{"error_code":400,"error_message":"PRIVACY_VALUE_INVALID","error_description":"The specified privacy rule combination is invalid"}],"messages.sendWebViewResultMessage":[{"error_code":400,"error_message":"QUERY_ID_INVALID","error_description":"The query ID is invalid"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"messages.setBotShippingResults":[{"error_code":400,"error_message":"QUERY_ID_INVALID","error_description":"The query ID is invalid"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"contacts.search":[{"error_code":400,"error_message":"QUERY_TOO_SHORT","error_description":"The query string is too short"},{"error_code":400,"error_message":"SEARCH_QUERY_EMPTY","error_description":"The search query is empty"}],"messages.getDhConfig":[{"error_code":400,"error_message":"RANDOM_LENGTH_INVALID","error_description":"Random length invalid"}],"messages.setDefaultReaction":[{"error_code":400,"error_message":"REACTION_INVALID","error_description":"The specified reaction is invalid"}],"payments.assignAppStoreTransaction":[{"error_code":400,"error_message":"RECEIPT_EMPTY","error_description":"The specified receipt is empty"}],"account.declinePasswordReset":[{"error_code":400,"error_message":"RESET_REQUEST_MISSING","error_description":"No password reset is in progress"}],"bots.setBotBroadcastDefaultAdminRights":[{"error_code":400,"error_message":"RIGHTS_NOT_MODIFIED","error_description":"The new admin rights are equal to the old rights, no change was made"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"bots.setBotGroupDefaultAdminRights":[{"error_code":400,"error_message":"RIGHTS_NOT_MODIFIED","error_description":"The new admin rights are equal to the old rights, no change was made"},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"account.saveRingtone":[{"error_code":400,"error_message":"RINGTONE_INVALID","error_description":"The specified ringtone is invalid"}],"account.uploadRingtone":[{"error_code":400,"error_message":"RINGTONE_MIME_INVALID","error_description":"The MIME type for the ringtone is invalid"}],"account.setContentSettings":[{"error_code":403,"error_message":"SENSITIVE_CHANGE_FORBIDDEN","error_description":"You can't change your sensitive content settings."}],"messages.getDocumentByHash":[{"error_code":400,"error_message":"SHA256_HASH_INVALID","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.deleteQuickReplyMessages":[{"error_code":400,"error_message":"SHORTCUT_INVALID","error_description":"The specified shortcut is invalid"}],"messages.deleteQuickReplyShortcut":[{"error_code":400,"error_message":"SHORTCUT_INVALID","error_description":"The specified shortcut is invalid"}],"messages.getQuickReplyMessages":[{"error_code":400,"error_message":"SHORTCUT_INVALID","error_description":"The specified shortcut is invalid"}],"smsjobs.finishJob":[{"error_code":400,"error_message":"SMSJOB_ID_INVALID","error_description":"The specified job ID is invalid"}],"smsjobs.getSmsJob":[{"error_code":400,"error_message":"SMSJOB_ID_INVALID","error_description":"The specified job ID is invalid"}],"messages.faveSticker":[{"error_code":400,"error_message":"STICKER_ID_INVALID","error_description":"The provided sticker ID is invalid"}],"messages.saveRecentSticker":[{"error_code":400,"error_message":"STICKER_ID_INVALID","error_description":"The provided sticker ID is invalid"}],"stickers.changeSticker":[{"error_code":400,"error_message":"STICKER_INVALID","error_description":"The provided sticker is invalid"}],"stickers.changeStickerPosition":[{"error_code":400,"error_message":"STICKER_INVALID","error_description":"The provided sticker is invalid"}],"stickers.removeStickerFromSet":[{"error_code":400,"error_message":"STICKER_INVALID","error_description":"The provided sticker is invalid"}],"stickers.replaceSticker":[{"error_code":400,"error_message":"STICKER_INVALID","error_description":"The provided sticker is invalid"}],"stickers.addStickerToSet":[{"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":"Invalid TGS sticker provided."},{"error_code":400,"error_message":"STICKERPACK_STICKERS_TOO_MUCH","error_description":"There are too many stickers in this stickerpack, you can't add any more"},{"error_code":400,"error_message":"STICKERS_TOO_MUCH","error_description":"There are too many stickers in this stickerpack, you can't add any more"},{"error_code":400,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"},{"error_code":406,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"}],"stickers.setStickerSetThumb":[{"error_code":400,"error_message":"STICKER_THUMB_PNG_NOPNG","error_description":"Incorrect stickerset thumb file provided, PNG \/ WEBP expected."},{"error_code":400,"error_message":"STICKER_THUMB_TGS_NOTGS","error_description":"Incorrect stickerset TGS thumb file provided."},{"error_code":400,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"}],"messages.installStickerSet":[{"error_code":400,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"},{"error_code":406,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"}],"messages.uninstallStickerSet":[{"error_code":400,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"},{"error_code":406,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"}],"stickers.deleteStickerSet":[{"error_code":400,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"}],"stickers.renameStickerSet":[{"error_code":400,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"}],"account.initTakeoutSession":[{"error_code":420,"error_message":"TAKEOUT_INIT_DELAY_%d","error_description":"Sorry, for security reasons, you will be able to begin downloading your data in %d seconds. We have notified all your devices about the export request to make sure it's authorized and to give you time to react if it's not."}],"contacts.getSaved":[{"error_code":400,"error_message":"TAKEOUT_INVALID","error_description":"The specified takeout ID is invalid"},{"error_code":400,"error_message":"TAKEOUT_REQUIRED","error_description":"A [takeout](https:\/\/core.telegram.org\/api\/takeout) session needs to be initialized first, [see here » for more info](https:\/\/core.telegram.org\/api\/takeout)."},{"error_code":403,"error_message":"TAKEOUT_REQUIRED","error_description":"A [takeout](https:\/\/core.telegram.org\/api\/takeout) session needs to be initialized first, [see here » for more info](https:\/\/core.telegram.org\/api\/takeout)."}],"account.finishTakeoutSession":[{"error_code":403,"error_message":"TAKEOUT_REQUIRED","error_description":"A [takeout](https:\/\/core.telegram.org\/api\/takeout) session needs to be initialized first, [see here » for more info](https:\/\/core.telegram.org\/api\/takeout)."}],"channels.getLeftChannels":[{"error_code":403,"error_message":"TAKEOUT_REQUIRED","error_description":"A [takeout](https:\/\/core.telegram.org\/api\/takeout) session needs to be initialized first, [see here » for more info](https:\/\/core.telegram.org\/api\/takeout)."}],"account.uploadTheme":[{"error_code":400,"error_message":"THEME_FILE_INVALID","error_description":"Invalid theme file provided"},{"error_code":400,"error_message":"THEME_MIME_INVALID","error_description":"The theme's MIME type is invalid"}],"account.getTheme":[{"error_code":400,"error_message":"THEME_FORMAT_INVALID","error_description":"Invalid theme format provided"},{"error_code":400,"error_message":"THEME_INVALID","error_description":"Invalid theme provided"}],"account.saveTheme":[{"error_code":400,"error_message":"THEME_INVALID","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"},{"error_code":400,"error_message":"THEME_TITLE_INVALID","error_description":"The specified theme title is invalid"}],"stickers.suggestShortName":[{"error_code":400,"error_message":"TITLE_INVALID","error_description":"The specified stickerpack title is invalid"}],"account.registerDevice":[{"error_code":400,"error_message":"TOKEN_EMPTY","error_description":"The specified token is empty"},{"error_code":400,"error_message":"TOKEN_INVALID","error_description":"The provided token is invalid"},{"error_code":400,"error_message":"TOKEN_TYPE_INVALID","error_description":"The specified token type is invalid"},{"error_code":400,"error_message":"WEBPUSH_AUTH_INVALID","error_description":"The specified web push authentication secret is invalid."},{"error_code":400,"error_message":"WEBPUSH_KEY_INVALID","error_description":"The specified web push elliptic curve Diffie-Hellman public key is invalid."},{"error_code":400,"error_message":"WEBPUSH_TOKEN_INVALID","error_description":"The specified web push token is invalid."}],"account.unregisterDevice":[{"error_code":400,"error_message":"TOKEN_INVALID","error_description":"The provided token is invalid"}],"account.setAccountTTL":[{"error_code":400,"error_message":"TTL_DAYS_INVALID","error_description":"The provided TTL is invalid"}],"messages.setDefaultHistoryTTL":[{"error_code":400,"error_message":"TTL_PERIOD_INVALID","error_description":"The specified TTL period is invalid"}],"contacts.getTopPeers":[{"error_code":400,"error_message":"TYPES_EMPTY","error_description":"No top peer type was provided"}],"bots.getBotCommands":[{"error_code":400,"error_message":"USER_BOT_INVALID","error_description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"bots.setBotInfo":[{"error_code":400,"error_message":"USER_BOT_INVALID","error_description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."}],"users.setSecureValueErrors":[{"error_code":403,"error_message":"USER_BOT_INVALID","error_description":"User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts."},{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"bots.getBotMenuButton":[{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"help.setBotUpdatesStatus":[{"error_code":400,"error_message":"USER_BOT_REQUIRED","error_description":"This method can only be called by a bot"}],"stories.getUserStories":[{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"help.getSupportName":[{"error_code":400,"error_message":"USER_INVALID","error_description":"Invalid user provided"},{"error_code":403,"error_message":"USER_INVALID","error_description":"Invalid user provided"}],"help.getUserInfo":[{"error_code":400,"error_message":"USER_INVALID","error_description":"Invalid user provided"},{"error_code":403,"error_message":"USER_INVALID","error_description":"Invalid user provided"}],"account.checkUsername":[{"error_code":400,"error_message":"USERNAME_INVALID","error_description":"The provided username is not valid"},{"error_code":400,"error_message":"USERNAME_OCCUPIED","error_description":"The provided username is already occupied"},{"error_code":400,"error_message":"USERNAME_PURCHASE_AVAILABLE","error_description":"The specified username can be purchased on https:\/\/fragment.com"}],"account.toggleUsername":[{"error_code":400,"error_message":"USERNAME_INVALID","error_description":"The provided username is not valid"},{"error_code":400,"error_message":"USERNAME_NOT_MODIFIED","error_description":"The username was not modified"},{"error_code":400,"error_message":"USERNAMES_ACTIVE_TOO_MUCH","error_description":"The maximum number of active usernames was reached"}],"account.updateUsername":[{"error_code":400,"error_message":"USERNAME_INVALID","error_description":"The provided username is not valid"},{"error_code":400,"error_message":"USERNAME_NOT_MODIFIED","error_description":"The username was not modified"},{"error_code":400,"error_message":"USERNAME_OCCUPIED","error_description":"The provided username is already occupied"},{"error_code":400,"error_message":"USERNAME_PURCHASE_AVAILABLE","error_description":"The specified username can be purchased on https:\/\/fragment.com"}],"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.getMultiWallPapers":[{"error_code":400,"error_message":"WALLPAPER_INVALID","error_description":"The specified wallpaper 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,"error_message":"WC_CONVERT_URL_INVALID","error_description":"WC convert URL invalid"}]}}