mirror of
https://github.com/danog/rpc-db.git
synced 2024-11-26 20:14:40 +01:00
1 line
70 KiB
JSON
1 line
70 KiB
JSON
{"ok":true,"result":{"account.updateProfile":[{"error_code":400,"error_message":"ABOUT_TOO_LONG","error_description":"About string too long"},{"error_code":400,"error_message":"FIRSTNAME_INVALID","error_description":"The first name is invalid"}],"auth.importBotAuthorization":[{"error_code":400,"error_message":"ACCESS_TOKEN_EXPIRED","error_description":"Access token expired"},{"error_code":400,"error_message":"ACCESS_TOKEN_INVALID","error_description":"Access token invalid"},{"error_code":400,"error_message":"API_ID_INVALID","error_description":"API ID invalid"}],"channels.editAdmin":[{"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":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"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":"RIGHT_FORBIDDEN","error_description":"Your admin rights do not allow you to do this"},{"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_PRIVACY_RESTRICTED","error_description":"The user's privacy settings do not allow you to do this"}],"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":"INPUT_REQUEST_TOO_LONG","error_description":"The request is too big"},{"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"}],"messages.setInlineBotResults":[{"error_code":400,"error_message":"ARTICLE_TITLE_EMPTY","error_description":"The title of the article is empty"},{"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":"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":"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_TYPE_INVALID","error_description":"Result type invalid"},{"error_code":400,"error_message":"SEND_MESSAGE_TYPE_INVALID","error_description":"The message type is invalid"},{"error_code":400,"error_message":"START_PARAM_INVALID","error_description":"Start parameter invalid"},{"error_code":403,"error_message":"USER_BOT_INVALID","error_description":"This method can only be called by a bot"}],"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":406,"error_message":"AUTH_KEY_DUPLICATED","error_description":"An auth key with the same ID was already generated"},{"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":"CONNECTION_DEVICE_MODEL_EMPTY","error_description":"Device model empty"},{"error_code":400,"error_message":"CONNECTION_LANG_PACK_INVALID","error_description":"Language pack invalid"},{"error_code":400,"error_message":"CONNECTION_NOT_INITED","error_description":"Connection not initialized"},{"error_code":400,"error_message":"CONNECTION_SYSTEM_EMPTY","error_description":"Connection system empty"},{"error_code":400,"error_message":"INPUT_LAYER_INVALID","error_description":"The provided layer is invalid"},{"error_code":400,"error_message":"INVITE_HASH_EXPIRED","error_description":"The invite link has expired"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"help.getCdnConfig":[{"error_code":406,"error_message":"AUTH_KEY_DUPLICATED","error_description":"An auth key with the same ID was already generated"},{"error_code":401,"error_message":"AUTH_KEY_PERM_EMPTY","error_description":"The temporary auth key must be binded to the permanent auth key to use these methods."},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"help.getConfig":[{"error_code":406,"error_message":"AUTH_KEY_DUPLICATED","error_description":"An auth key with the same ID was already generated"},{"error_code":400,"error_message":"CONNECTION_DEVICE_MODEL_EMPTY","error_description":"Device model empty"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"messages.getHistory":[{"error_code":406,"error_message":"AUTH_KEY_DUPLICATED","error_description":"An auth key with the same ID was already generated"},{"error_code":401,"error_message":"AUTH_KEY_PERM_EMPTY","error_description":"The temporary auth key must be binded to the permanent auth key to use these methods."},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"messages.sendMessage":[{"error_code":406,"error_message":"AUTH_KEY_DUPLICATED","error_description":"An auth key with the same ID was already generated"},{"error_code":400,"error_message":"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":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":"ENTITY_MENTION_USER_INVALID","error_description":"You mentioned an invalid user"},{"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":"Provided reply_to_msg_id is invalid"},{"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":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"},{"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":400,"error_message":"USER_IS_BOT","error_description":"Bots can't send messages to other bots"},{"error_code":400,"error_message":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"updates.getChannelDifference":[{"error_code":406,"error_message":"AUTH_KEY_DUPLICATED","error_description":"An auth key with the same ID was already generated"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":403,"error_message":"CHANNEL_PUBLIC_GROUP_NA","error_description":"channel\/supergroup not available"},{"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":"RANGES_INVALID","error_description":"Invalid range provided"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"updates.getDifference":[{"error_code":406,"error_message":"AUTH_KEY_DUPLICATED","error_description":"An auth key with the same ID was already generated"},{"error_code":401,"error_message":"AUTH_KEY_PERM_EMPTY","error_description":"The temporary auth key must be binded to the permanent auth key to use these methods."},{"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":"DATE_EMPTY","error_description":"Date empty"},{"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":401,"error_message":"SESSION_PASSWORD_NEEDED","error_description":"2FA is enabled, use a password to login"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"updates.getState":[{"error_code":406,"error_message":"AUTH_KEY_DUPLICATED","error_description":"An auth key with the same ID was already generated"},{"error_code":401,"error_message":"SESSION_PASSWORD_NEEDED","error_description":"2FA is enabled, use a password to login"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"users.getUsers":[{"error_code":406,"error_message":"AUTH_KEY_DUPLICATED","error_description":"An auth key with the same ID was already generated"},{"error_code":401,"error_message":"AUTH_KEY_PERM_EMPTY","error_description":"The temporary auth key must be binded to the permanent auth key to use these methods."},{"error_code":401,"error_message":"SESSION_PASSWORD_NEEDED","error_description":"2FA is enabled, use a password to login"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"contacts.resolveUsername":[{"error_code":401,"error_message":"AUTH_KEY_PERM_EMPTY","error_description":"The temporary auth key must be binded to the permanent auth key to use these methods."},{"error_code":401,"error_message":"SESSION_PASSWORD_NEEDED","error_description":"2FA is enabled, use a password to login"},{"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"}],"upload.getFile":[{"error_code":401,"error_message":"AUTH_KEY_PERM_EMPTY","error_description":"The temporary auth key must be binded to the permanent auth key to use these methods."},{"error_code":400,"error_message":"FILE_ID_INVALID","error_description":"The provided file id is invalid"},{"error_code":400,"error_message":"INPUT_FETCH_FAIL","error_description":"Failed deserializing TL payload"},{"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":"OFFSET_INVALID","error_description":"The provided offset is invalid"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"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":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"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":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":"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":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_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.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":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"messages.startBot":[{"error_code":400,"error_message":"BOT_INVALID","error_description":"This is not a valid bot"},{"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"}],"messages.uploadMedia":[{"error_code":400,"error_message":"BOT_MISSING","error_description":"This method can only be run by a bot"},{"error_code":400,"error_message":"MEDIA_INVALID","error_description":"Media invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"stickers.addStickerToSet":[{"error_code":400,"error_message":"BOT_MISSING","error_description":"This method can only be run by a bot"},{"error_code":400,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"}],"stickers.changeStickerPosition":[{"error_code":400,"error_message":"BOT_MISSING","error_description":"This method can only be run by a bot"},{"error_code":400,"error_message":"STICKER_INVALID","error_description":"The provided sticker is invalid"}],"stickers.createStickerSet":[{"error_code":400,"error_message":"BOT_MISSING","error_description":"This method can only be run by a bot"},{"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":"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_PNG_DIMENSIONS","error_description":"Sticker png dimensions invalid"},{"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"}],"stickers.removeStickerFromSet":[{"error_code":400,"error_message":"BOT_MISSING","error_description":"This method can only be run by a bot"},{"error_code":400,"error_message":"STICKER_INVALID","error_description":"The provided sticker is 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":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_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":"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":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"}],"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":"RSA_DECRYPT_FAILED","error_description":"Internal RSA decryption failed"}],"channels.checkUsername":[{"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":"USERNAME_INVALID","error_description":"The provided username is not valid"}],"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"}],"channels.deleteMessages":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":403,"error_message":"MESSAGE_DELETE_FORBIDDEN","error_description":"You can't delete one of the messages you tried to delete, most likely because it is a service message."}],"channels.deleteUserHistory":[{"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"}],"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":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"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":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"PHOTO_INVALID","error_description":"Photo invalid"}],"channels.editTitle":[{"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":"The pinned message wasn't modified"}],"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"}],"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":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"}],"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"}],"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":403,"error_message":"CHANNEL_PUBLIC_GROUP_NA","error_description":"channel\/supergroup not available"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"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":400,"error_message":"MESSAGE_IDS_EMPTY","error_description":"No message ids were provided"}],"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":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"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":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_CONSTRUCTOR_INVALID","error_description":"The provided constructor is invalid"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"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":400,"error_message":"CHANNELS_TOO_MUCH","error_description":"You have joined too many channels\/supergroups"},{"error_code":400,"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":"USER_ALREADY_PARTICIPANT","error_description":"The user is already in the group"}],"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":403,"error_message":"CHANNEL_PUBLIC_GROUP_NA","error_description":"channel\/supergroup not available"},{"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"}],"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"}],"channels.reportSpam":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"}],"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"}],"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":"The pinned message wasn't modified"}],"channels.toggleSignatures":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"}],"channels.updatePinnedMessage":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_NOT_MODIFIED","error_description":"The pinned message wasn't modified"}],"channels.updateUsername":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"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":"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"}],"messages.editMessage":[{"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":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"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 message text has not changed"},{"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"}],"messages.forwardMessages":[{"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_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_STICKERS_FORBIDDEN","error_description":"You can't send stickers 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":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":400,"error_message":"RANDOM_ID_INVALID","error_description":"A provided random ID is invalid"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"},{"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":400,"error_message":"USER_IS_BOT","error_description":"Bots can't send messages to other bots"},{"error_code":400,"error_message":"YOU_BLOCKED_USER","error_description":"You blocked this user"}],"messages.getBotCallbackAnswer":[{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"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.getPeerSettings":[{"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"}],"messages.sendMedia":[{"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_SEND_MEDIA_FORBIDDEN","error_description":"You can't send media 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":"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":"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_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":"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":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"},{"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":400,"error_message":"USER_IS_BOT","error_description":"Bots can't send messages to other bots"},{"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"}],"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":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":"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":400,"error_message":"USER_IS_BOT","error_description":"Bots can't send messages to other bots"}],"messages.getMessagesViews":[{"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.getPeerDialogs":[{"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.importChatInvite":[{"error_code":400,"error_message":"CHANNELS_TOO_MUCH","error_description":"You have joined too many channels\/supergroups"},{"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":400,"error_message":"INVITE_HASH_INVALID","error_description":"The invite hash is invalid"},{"error_code":401,"error_message":"SESSION_PASSWORD_NEEDED","error_description":"2FA is enabled, use a password to login"},{"error_code":400,"error_message":"USER_ALREADY_PARTICIPANT","error_description":"The user is already in the group"},{"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":"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":"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":"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":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.migrateChat":[{"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"}],"messages.search":[{"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_CONSTRUCTOR_INVALID","error_description":"The provided constructor is invalid"},{"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":"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.discardEncryption":[{"error_code":400,"error_message":"CHAT_ID_EMPTY","error_description":"The provided chat ID is empty"},{"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.deleteChatUser":[{"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_NOT_PARTICIPANT","error_description":"You're not a member of this supergroup\/channel"}],"messages.editChatAdmin":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"}],"messages.editChatPhoto":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"INPUT_CONSTRUCTOR_INVALID","error_description":"The provided constructor is invalid"},{"error_code":400,"error_message":"INPUT_FETCH_FAIL","error_description":"Failed deserializing TL payload"},{"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"}],"messages.editChatTitle":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat id is invalid"},{"error_code":400,"error_message":"CHAT_TITLE_EMPTY","error_description":"No chat title provided"}],"messages.exportChatInvite":[{"error_code":400,"error_message":"CHAT_ID_INVALID","error_description":"The provided chat 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.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":"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"}],"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":"The pinned message wasn't modified"}],"channels.createChannel":[{"error_code":400,"error_message":"CHAT_TITLE_EMPTY","error_description":"No chat title provided"},{"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.sendInlineBotResult":[{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"INLINE_RESULT_EXPIRED","error_description":"The inline query expired"},{"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":"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"}],"auth.recoverPassword":[{"error_code":400,"error_message":"CODE_EMPTY","error_description":"The provided code is empty"}],"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"}],"initConnection":[{"error_code":400,"error_message":"CONNECTION_LAYER_INVALID","error_description":"Layer invalid"},{"error_code":400,"error_message":"INPUT_FETCH_FAIL","error_description":"Failed deserializing TL payload"}],"contacts.addContact":[{"error_code":400,"error_message":"CONTACT_ID_INVALID","error_description":"The provided contact ID is invalid"}],"contacts.block":[{"error_code":400,"error_message":"CONTACT_ID_INVALID","error_description":"The provided contact ID is invalid"}],"contacts.deleteContact":[{"error_code":400,"error_message":"CONTACT_ID_INVALID","error_description":"The provided contact ID is invalid"}],"contacts.unblock":[{"error_code":400,"error_message":"CONTACT_ID_INVALID","error_description":"The provided contact ID is invalid"}],"messages.sendEncryptedService":[{"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":"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"}],"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":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"account.updatePasswordSettings":[{"error_code":400,"error_message":"EMAIL_UNCONFIRMED","error_description":"Email unconfirmed"},{"error_code":400,"error_message":"EMAIL_UNCONFIRMED_X","error_description":"The provided email isn't confirmed, X is the length of the verification code that was just sent to the email."},{"error_code":400,"error_message":"NEW_SALT_INVALID","error_description":"The new salt is invalid"},{"error_code":400,"error_message":"NEW_SETTINGS_INVALID","error_description":"The new settings are invalid"},{"error_code":400,"error_message":"PASSWORD_HASH_INVALID","error_description":"The provided password hash is invalid"}],"auth.bindTempAuthKey":[{"error_code":400,"error_message":"ENCRYPTED_MESSAGE_INVALID","error_description":"Encrypted message invalid"},{"error_code":400,"error_message":"INPUT_REQUEST_TOO_LONG","error_description":"The request is too big"},{"error_code":400,"error_message":"TEMP_AUTH_KEY_EMPTY","error_description":"No temporary auth key provided"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"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_INVALID","error_description":"The provided file part size is invalid"},{"error_code":400,"error_message":"FILE_PARTS_INVALID","error_description":"The number of file parts is invalid"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"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":"INPUT_FETCH_FAIL","error_description":"Failed deserializing TL payload"},{"error_code":401,"error_message":"SESSION_PASSWORD_NEEDED","error_description":"2FA is enabled, use a password to login"}],"photos.uploadProfilePhoto":[{"error_code":400,"error_message":"FILE_PARTS_INVALID","error_description":"The number of file parts is invalid"},{"error_code":400,"error_message":"IMAGE_PROCESS_FAILED","error_description":"Failure while processing image"},{"error_code":400,"error_message":"PHOTO_CROP_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"}],"auth.signUp":[{"error_code":400,"error_message":"FIRSTNAME_INVALID","error_description":"The first 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, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars)"},{"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":400,"error_message":"PHONE_NUMBER_OCCUPIED","error_description":"The phone number is already in use"}],"folders.editPeerFolders":[{"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.saveGif":[{"error_code":400,"error_message":"GIF_ID_INVALID","error_description":"The provided GIF ID is invalid"}],"account.resetAuthorization":[{"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"}],"photos.updateProfilePhoto":[{"error_code":400,"error_message":"IMAGE_PROCESS_FAILED","error_description":"Failure while processing image"},{"error_code":400,"error_message":"PHOTO_CROP_SIZE_SMALL","error_description":"Photo is too small"}],"messages.getDialogs":[{"error_code":400,"error_message":"INPUT_CONSTRUCTOR_INVALID","error_description":"The provided constructor is invalid"},{"error_code":400,"error_message":"OFFSET_PEER_ID_INVALID","error_description":"The provided offset peer is invalid"},{"error_code":401,"error_message":"SESSION_PASSWORD_NEEDED","error_description":"2FA is enabled, use a password to login"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"messages.checkChatInvite":[{"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":400,"error_message":"INVITE_HASH_INVALID","error_description":"The invite hash is invalid"}],"langpack.getDifference":[{"error_code":400,"error_message":"LANG_PACK_INVALID","error_description":"The provided language pack is invalid"}],"langpack.getLangPack":[{"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"}],"langpack.getStrings":[{"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"}],"upload.getWebFile":[{"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":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"messages.sendMultiMedia":[{"error_code":400,"error_message":"MEDIA_INVALID","error_description":"Media invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getMessageEditData":[{"error_code":403,"error_message":"MESSAGE_AUTHOR_REQUIRED","error_description":"Message author required"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.deleteMessages":[{"error_code":403,"error_message":"MESSAGE_DELETE_FORBIDDEN","error_description":"You can't delete one of the messages you tried to delete, most likely because it is a service message."}],"auth.sendInvites":[{"error_code":400,"error_message":"MESSAGE_EMPTY","error_description":"The provided message is empty"}],"messages.editInlineBotMessage":[{"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 message text has not changed"}],"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.setGameScore":[{"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.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.readEncryptedHistory":[{"error_code":400,"error_message":"MSG_WAIT_FAILED","error_description":"A waiting call returned an error"}],"messages.receivedQueue":[{"error_code":400,"error_message":"MSG_WAIT_FAILED","error_description":"A waiting call returned an error"}],"messages.sendEncryptedFile":[{"error_code":400,"error_message":"MSG_WAIT_FAILED","error_description":"A waiting call returned an error"}],"auth.requestPasswordRecovery":[{"error_code":400,"error_message":"PASSWORD_EMPTY","error_description":"The provided password is empty"}],"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"}],"account.getNotifySettings":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"account.reportPeer":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"account.updateNotifySettings":[{"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.deleteHistory":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.editChatAbout":[{"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.getUnreadMentions":[{"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.readHistory":[{"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.reorderPinnedDialogs":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.reportSpam":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.saveDraft":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.sendScreenshotNotification":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.toggleDialogPin":[{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"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, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars)"},{"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":400,"error_message":"PHONE_NUMBER_UNOCCUPIED","error_description":"The phone number is not yet being used"},{"error_code":401,"error_message":"SESSION_PASSWORD_NEEDED","error_description":"2FA is enabled, use a password to login"}],"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.changePhone":[{"error_code":400,"error_message":"PHONE_NUMBER_INVALID","error_description":"The phone number is invalid"}],"account.sendChangePhoneCode":[{"error_code":400,"error_message":"PHONE_NUMBER_INVALID","error_description":"The phone number is invalid"}],"auth.cancelCode":[{"error_code":400,"error_message":"PHONE_NUMBER_INVALID","error_description":"The phone number is invalid"}],"auth.resendCode":[{"error_code":400,"error_message":"PHONE_NUMBER_INVALID","error_description":"The phone number is invalid"}],"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"}],"bots.answerWebhookJSONQuery":[{"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":"This method can only be called by a bot"}],"messages.setBotCallbackAnswer":[{"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"}],"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"},{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"messages.getDhConfig":[{"error_code":400,"error_message":"RANDOM_LENGTH_INVALID","error_description":"Random length invalid"}],"upload.reuploadCdnFile":[{"error_code":400,"error_message":"RSA_DECRYPT_FAILED","error_description":"Internal RSA decryption failed"}],"messages.searchGifs":[{"error_code":400,"error_message":"SEARCH_QUERY_EMPTY","error_description":"The search query is empty"}],"messages.searchGlobal":[{"error_code":400,"error_message":"SEARCH_QUERY_EMPTY","error_description":"The search query is empty"}],"account.updateStatus":[{"error_code":401,"error_message":"SESSION_PASSWORD_NEEDED","error_description":"2FA is enabled, use a password to login"}],"account.updateUsername":[{"error_code":401,"error_message":"SESSION_PASSWORD_NEEDED","error_description":"2FA is enabled, use a password to login"},{"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"}],"contacts.getStatuses":[{"error_code":401,"error_message":"SESSION_PASSWORD_NEEDED","error_description":"2FA is enabled, use a password to login"}],"messages.getDocumentByHash":[{"error_code":400,"error_message":"SHA256_HASH_INVALID","error_description":"The provided SHA256 hash is invalid"}],"messages.faveSticker":[{"error_code":400,"error_message":"STICKER_ID_INVALID","error_description":"The provided sticker ID is invalid"}],"messages.saveRecentSticker":[{"error_code":400,"error_message":"STICKER_ID_INVALID","error_description":"The provided sticker ID is invalid"}],"messages.getStickerSet":[{"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"}],"messages.uninstallStickerSet":[{"error_code":400,"error_message":"STICKERSET_INVALID","error_description":"The provided sticker set is invalid"}],"channels.getLeftChannels":[{"error_code":403,"error_message":"TAKEOUT_REQUIRED","error_description":"A takeout session has to be initialized, first"}],"auth.resetAuthorizations":[{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"contacts.deleteContacts":[{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"}],"users.getFullUser":[{"error_code":-503,"error_message":"Timeout","error_description":"Timeout while fetching data"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"account.registerDevice":[{"error_code":400,"error_message":"TOKEN_INVALID","error_description":"The provided 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.sendCustomRequest":[{"error_code":400,"error_message":"USER_BOT_INVALID","error_description":"This method can only be called by a bot"}],"messages.getCommonChats":[{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"users.setSecureValueErrors":[{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"}],"messages.createChat":[{"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_FEW","error_description":"Not enough users (to create a chat, for example)"}],"account.checkUsername":[{"error_code":400,"error_message":"USERNAME_INVALID","error_description":"The provided username is not valid"}],"messages.getWebPage":[{"error_code":400,"error_message":"WC_CONVERT_URL_INVALID","error_description":"WC convert URL invalid"}]}} |