mirror of
https://github.com/danog/rpc-db.git
synced 2024-11-26 12:04:45 +01:00
1 line
215 KiB
JSON
1 line
215 KiB
JSON
{"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":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"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.createChannel":[{"error_code":400,"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":"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)"}],"upload.reuploadCdnFile":[{"error_code":400,"error_message":"AES_DECRYPT_FAILED","error_description":""},{"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 specified file token is invalid"},{"error_code":400,"error_message":"RSA_DECRYPT_FAILED","error_description":"Internal RSA decryption failed"}],"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":""},{"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":"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 »](\/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":"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":"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."}],"payments.getBankCardData":[{"error_code":400,"error_message":"BANK_CARD_NUMBER_INVALID","error_description":"The specified card number 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":"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"}],"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."}],"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 be able to post stories."},{"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#stories-sent-weekly-limit-default): you should buy a [Premium](\/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."}],"messages.getBotApp":[{"error_code":400,"error_message":"BOT_APP_INVALID","error_description":"The specified bot app is invalid"}],"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](\/api\/entities#entity-length) is invalid, see [here »](\/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":"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"}],"messages.sendMessage":[{"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":"BUTTON_USER_PRIVACY_RESTRICTED","error_description":"The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](\/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 »](\/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](\/api\/entities#entity-length) is invalid, see [here »](\/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":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_TO_INVALID","error_description":"The specified `reply_to` field is invalid"},{"error_code":400,"error_message":"REPLY_TO_USER_INVALID","error_description":""},{"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":""},{"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"}],"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"}],"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.invokeWebViewCustomMethod":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"}],"bots.reorderUsernames":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"}],"bots.toggleUsername":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"}],"messages.getAttachMenuBot":[{"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"}],"stickers.addStickerToSet":[{"error_code":400,"error_message":"BOT_MISSING","error_description":"Only bots can call this method, please use [@stickers](https:\/\/t.me\/stickers) if you're a user"},{"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.changeSticker":[{"error_code":400,"error_message":"BOT_MISSING","error_description":"Only bots can call this method, please use [@stickers](https:\/\/t.me\/stickers) if you're a user"},{"error_code":400,"error_message":"STICKER_INVALID","error_description":"The provided sticker is invalid"}],"stickers.deleteStickerSet":[{"error_code":400,"error_message":"BOT_MISSING","error_description":"Only bots can call this method, please use [@stickers](https:\/\/t.me\/stickers) if you're a user"},{"error_code":400,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"}],"stickers.removeStickerFromSet":[{"error_code":400,"error_message":"BOT_MISSING","error_description":"Only bots can call this method, please use [@stickers](https:\/\/t.me\/stickers) if you're a user"},{"error_code":400,"error_message":"STICKER_INVALID","error_description":"The provided sticker is invalid"}],"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.sendMedia":[{"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_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 »](\/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_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":"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](\/api\/entities#entity-length) is invalid, see [here »](\/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":"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":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_INVALID","error_description":"The provided reply markup is invalid"},{"error_code":400,"error_message":"REPLY_MARKUP_TOO_LONG","error_description":"The specified reply_markup is too long"},{"error_code":400,"error_message":"SCHEDULE_BOT_NOT_ALLOWED","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":"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":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"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":"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 »](\/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":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":"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"}],"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](\/api\/entities#entity-length) is invalid, see [here »](\/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"}],"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.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 specified file token is invalid"},{"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":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"}],"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":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":"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.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.editBanned":[{"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"}],"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":"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.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.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":"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.reorderUsernames":[{"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.setStickers":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel 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.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_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.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_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.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"}],"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"}],"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 »](\/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_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](\/api\/entities#entity-length) is invalid, see [here »](\/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":"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.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"}],"msg_container":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"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"}],"msg_resend_req":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":-500,"error_message":"Invalid msg_resend_req query","error_description":"Invalid msg_resend_req query"},{"error_code":-500,"error_message":"Invalid msgs_state_req query","error_description":"Invalid msgs_state_req query"}],"msgs_state_req":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"FILE_PART_EMPTY","error_description":"The provided file part is empty"},{"error_code":-500,"error_message":"Invalid msgs_state_req query","error_description":"Invalid msgs_state_req query"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"},{"error_code":400,"error_message":"USER_IS_BLOCKED","error_description":"You were blocked by this user"}],"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.getStoriesByID":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel 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":""},{"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.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":"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 in order to transfer ownership of a channel"},{"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"}],"channels.getSendAs":[{"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.toggleUsername":[{"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":"USERNAME_INVALID","error_description":"The provided username is not valid"},{"error_code":400,"error_message":"USERNAMES_ACTIVE_TOO_MUCH","error_description":"The maximum number of active usernames was reached"}],"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"}],"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.getMessagesReactions":[{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"}],"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.sendMultiMedia":[{"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](\/api\/entities#entity-length) is invalid, see [here »](\/api\/entities#entity-length) for info on how to properly compute the entity offset\/length"},{"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":"RANDOM_ID_EMPTY","error_description":"Random ID empty"},{"error_code":400,"error_message":"SCHEDULE_DATE_TOO_LATE","error_description":"You can't schedule a message this far in the future"},{"error_code":400,"error_message":"SCHEDULE_TOO_MUCH","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.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"}],"stories.getPeerStories":[{"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"}],"users.getFullUser":[{"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"}],"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"}],"channels.editLocation":[{"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":""},{"error_code":400,"error_message":"MEGAGROUP_REQUIRED","error_description":"You can only use this method on a supergroup"}],"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.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.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."}],"messages.uploadImportedMedia":[{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"}],"phone.getGroupCallStreamRtmpUrl":[{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"}],"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"}],"channels.toggleForum":[{"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."}],"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.editChatTitle":[{"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.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.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":""},{"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"}],"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)"}],"channels.toggleAntiSpam":[{"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":"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"}],"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":"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"}],"account.updateStatus":[{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":406,"error_message":"UPDATE_APP_REQUIRED","error_description":"Please update to the latest version of MadelineProto"}],"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"}],"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"}],"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"}],"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"}],"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."}],"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."}],"help.acceptTermsOfService":[{"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_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_VERIFY_EXPIRED","error_description":"The verification email has expired"}],"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"}],"msgs_ack":[{"error_code":400,"error_message":"ENCRYPTED_MESSAGE_INVALID","error_description":"Encrypted message invalid"},{"error_code":-500,"error_message":"Invalid msgs_ack query","error_description":"Invalid msgs_ack query"},{"error_code":400,"error_message":"USER_IS_BLOCKED","error_description":"You were blocked by this user"}],"help.editUserInfo":[{"error_code":400,"error_message":"ENTITY_BOUNDS_INVALID","error_description":"A specified [entity offset or length](\/api\/entities#entity-length) is invalid, see [here »](\/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](\/api\/entities#entity-length) is invalid, see [here »](\/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](\/api\/entities#entity-length) is invalid, see [here »](\/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"}],"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"}],"chatlists.deleteExportedInvite":[{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"}],"chatlists.editExportedInvite":[{"error_code":400,"error_message":"FILTER_ID_INVALID","error_description":"The specified filter ID is invalid"}],"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 »](\/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":"INPUT_CHATLIST_INVALID","error_description":"The specified folder 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"}],"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":"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"}],"contacts.getLocated":[{"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"}],"messages.saveGif":[{"error_code":400,"error_message":"GIF_ID_INVALID","error_description":"The provided GIF ID 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.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)"}],"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":"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":"USER_VOLUME_INVALID","error_description":"The specified user volume is invalid"}],"phone.editGroupCallTitle":[{"error_code":403,"error_message":"GROUPCALL_FORBIDDEN","error_description":"The group call has already ended"}],"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_NOT_MODIFIED","error_description":"Group call settings weren't modified"}],"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.checkGroupCall":[{"error_code":400,"error_message":"GROUPCALL_JOIN_MISSING","error_description":"You haven't joined this group call."}],"phone.toggleGroupCallSettings":[{"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.sendStory":[{"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":""},{"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#stories-sent-weekly-limit-default): you should buy a [Premium](\/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":""}],"messages.initHistoryImport":[{"error_code":400,"error_message":"IMPORT_FILE_INVALID","error_description":"The specified chat export file is invalid"},{"error_code":400,"error_message":"IMPORT_FORMAT_UNRECOGNIZED","error_description":"The specified chat export file was exported from an unsupported chat app"},{"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.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":"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"}],"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":"STORY_ID_INVALID","error_description":""},{"error_code":400,"error_message":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"req_pq_multi":[{"error_code":-500,"error_message":"Invalid msgs_state_req query","error_description":"Invalid msgs_state_req query"},{"error_code":400,"error_message":"MSG_ID_INVALID","error_description":"Invalid message ID provided"}],"1817183516":[{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"}],"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"}],"bots.getBotInfo":[{"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.resetBotCommands":[{"error_code":400,"error_message":"LANG_CODE_INVALID","error_description":"The specified language code is invalid"}],"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"}],"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"}],"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.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"}],"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.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.getPaymentForm":[{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message id is invalid"}],"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"}],"payments.validateRequestedInfo":[{"error_code":400,"error_message":"MESSAGE_ID_INVALID","error_description":"The provided message 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"}],"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":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"messages.readEncryptedHistory":[{"error_code":400,"error_message":"MSG_WAIT_FAILED","error_description":"A waiting call returned an error"}],"account.reorderUsernames":[{"error_code":400,"error_message":"ORDER_INVALID","error_description":"The specified username order is invalid"}],"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"}],"phone.joinGroupCallPresentation":[{"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)."}],"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"}],"auth.checkRecoveryPassword":[{"error_code":400,"error_message":"PASSWORD_RECOVERY_EXPIRED","error_description":"The recovery code has expired"}],"account.saveSecureValue":[{"error_code":400,"error_message":"PASSWORD_REQUIRED","error_description":"A [2FA password](https:\/\/core.telegram.org\/api\/srp) must be configured to use Telegram Passport"}],"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"}],"contacts.resetTopPeerRating":[{"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.getStatsURL":[{"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.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"}],"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"}],"phone.getGroupCallJoinAs":[{"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"}],"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":"USER_PUBLIC_MISSING","error_description":""}],"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.getStoryViewsList":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer 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."}],"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"}],"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.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.requestFirebaseSms":[{"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."}],"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"}],"phone.exportGroupCallInvite":[{"error_code":403,"error_message":"PUBLIC_CHANNEL_MISSING","error_description":"You can only export group call invite links for public chats or channels"}],"account.getAuthorizationForm":[{"error_code":400,"error_message":"PUBLIC_KEY_REQUIRED","error_description":"A public key is required"}],"messages.sendWebViewResultMessage":[{"error_code":400,"error_message":"QUERY_ID_INVALID","error_description":"The query ID is invalid"}],"messages.setBotShippingResults":[{"error_code":400,"error_message":"QUERY_ID_INVALID","error_description":"The query ID is invalid"}],"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"}],"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"}],"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.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.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.changeStickerPosition":[{"error_code":400,"error_message":"STICKER_INVALID","error_description":"The provided sticker 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.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."}],"account.finishTakeoutSession":[{"error_code":403,"error_message":"TAKEOUT_REQUIRED","error_description":"A takeout session has to be initialized, first"}],"channels.getLeftChannels":[{"error_code":403,"error_message":"TAKEOUT_REQUIRED","error_description":"A takeout session has to be initialized, first"}],"contacts.getSaved":[{"error_code":400,"error_message":"TAKEOUT_REQUIRED","error_description":"A takeout session has to be initialized, first"},{"error_code":403,"error_message":"TAKEOUT_REQUIRED","error_description":"A takeout session has to be initialized, first"}],"account.uploadTheme":[{"error_code":400,"error_message":"THEME_FILE_INVALID","error_description":"Invalid theme file provided"}],"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.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"}],"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."}],"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"}],"photos.uploadContactProfilePhoto":[{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"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"}],"-130635115":[{"error_code":400,"error_message":"USER_NOT_PARTICIPANT","error_description":"You're not a member of this supergroup\/channel"}],"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":"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"}]}} |