mirror of
https://github.com/danog/rpc-db.git
synced 2024-11-30 04:29:16 +01:00
5915 lines
217 KiB
JSON
5915 lines
217 KiB
JSON
{
|
|
"ok": true,
|
|
"result": {
|
|
"account.deleteAccount": [
|
|
{
|
|
"error_code": 420,
|
|
"error_message": "2FA_CONFIRM_WAIT_X",
|
|
"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 X seconds."
|
|
},
|
|
{
|
|
"error_code": 406,
|
|
"error_message": "AUTH_KEY_DUPLICATED",
|
|
"error_description": "An auth key with the same ID was already generated"
|
|
}
|
|
],
|
|
"account.updateProfile": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "ABOUT_TOO_LONG",
|
|
"error_description": "About string too long"
|
|
},
|
|
{
|
|
"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": "FIRSTNAME_INVALID",
|
|
"error_description": "The first name is invalid"
|
|
},
|
|
{
|
|
"error_code": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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": 401,
|
|
"error_message": "AUTH_KEY_INVALID",
|
|
"error_description": "Auth key 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": "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_WRITE_FORBIDDEN",
|
|
"error_description": "You can't write in this chat"
|
|
},
|
|
{
|
|
"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_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)"
|
|
}
|
|
],
|
|
"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": 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": "INPUT_REQUEST_TOO_LONG",
|
|
"error_description": "The request is too big"
|
|
},
|
|
{
|
|
"error_code": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"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": "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": "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_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_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"
|
|
},
|
|
{
|
|
"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!"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"account.checkUsername": [
|
|
{
|
|
"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": 400,
|
|
"error_message": "USERNAME_INVALID",
|
|
"error_description": "The provided username is not valid"
|
|
}
|
|
],
|
|
"account.getAuthorizations": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"account.updateStatus": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"account.updateUsername": [
|
|
{
|
|
"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": 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"
|
|
}
|
|
],
|
|
"channels.createChannel": [
|
|
{
|
|
"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": "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": 401,
|
|
"error_message": "SESSION_PASSWORD_NEEDED",
|
|
"error_description": "2FA is enabled, use a password to login"
|
|
},
|
|
{
|
|
"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."
|
|
}
|
|
],
|
|
"channels.getChannels": [
|
|
{
|
|
"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": 400,
|
|
"error_message": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"channels.getFullChannel": [
|
|
{
|
|
"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": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"channels.getMessages": [
|
|
{
|
|
"error_code": 406,
|
|
"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": 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": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"channels.getParticipants": [
|
|
{
|
|
"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": 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": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"channels.inviteToChannel": [
|
|
{
|
|
"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": "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": 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": -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_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_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)"
|
|
}
|
|
],
|
|
"channels.joinChannel": [
|
|
{
|
|
"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": 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": 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": 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"
|
|
},
|
|
{
|
|
"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": 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": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"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": 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": 400,
|
|
"error_message": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"channels.readMessageContents": [
|
|
{
|
|
"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": 400,
|
|
"error_message": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"channels.updateUsername": [
|
|
{
|
|
"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": 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": "The pinned message wasn't modified"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"contacts.getContacts": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"contacts.importContacts": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"contacts.resolveUsername": [
|
|
{
|
|
"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": "CONNECTION_DEVICE_MODEL_EMPTY",
|
|
"error_description": "Device model empty"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "CONNECTION_LAYER_INVALID",
|
|
"error_description": "Layer 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"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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_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_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_LAYER_INVALID",
|
|
"error_description": "Layer 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": "CONNECTION_SYSTEM_LANG_CODE_EMPTY",
|
|
"error_description": "The system_lang_code field is empty"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "DATA_INVALID",
|
|
"error_description": "Encrypted data invalid"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "INPUT_LAYER_INVALID",
|
|
"error_description": "The provided layer is invalid"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"error_code": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"help.getNearestDc": [
|
|
{
|
|
"error_code": 406,
|
|
"error_message": "AUTH_KEY_DUPLICATED",
|
|
"error_description": "An auth key with the same ID was already generated"
|
|
},
|
|
{
|
|
"error_code": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
}
|
|
],
|
|
"help.getTermsOfServiceUpdate": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"messages.checkChatInvite": [
|
|
{
|
|
"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": "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"
|
|
}
|
|
],
|
|
"messages.deleteHistory": [
|
|
{
|
|
"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_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": "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"
|
|
},
|
|
{
|
|
"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.editMessage": [
|
|
{
|
|
"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": 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": 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_PREV_INVALID",
|
|
"error_description": "Previous media 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 message text has not changed"
|
|
},
|
|
{
|
|
"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": -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"
|
|
}
|
|
],
|
|
"messages.forwardMessages": [
|
|
{
|
|
"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": "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": 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_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_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_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": 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": 400,
|
|
"error_message": "SCHEDULE_TOO_MUCH",
|
|
"error_description": "There are too many scheduled messages"
|
|
},
|
|
{
|
|
"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_X",
|
|
"error_description": "Slowmode is enabled in this chat: wait X seconds before sending another message to this chat."
|
|
},
|
|
{
|
|
"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.getAllChats": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"messages.getBotCallbackAnswer": [
|
|
{
|
|
"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": "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.getDialogs": [
|
|
{
|
|
"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": "FOLDER_ID_INVALID",
|
|
"error_description": "Invalid folder ID"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "INPUT_CONSTRUCTOR_INVALID",
|
|
"error_description": "The provided constructor is invalid"
|
|
},
|
|
{
|
|
"error_code": -504,
|
|
"error_message": "memory limit exit",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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.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": "CONNECTION_DEVICE_MODEL_EMPTY",
|
|
"error_description": "Device model empty"
|
|
},
|
|
{
|
|
"error_code": -504,
|
|
"error_message": "memory limit exit",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"messages.getMessagesViews": [
|
|
{
|
|
"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": 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": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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.getPeerDialogs": [
|
|
{
|
|
"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": 400,
|
|
"error_message": "CONNECTION_DEVICE_MODEL_EMPTY",
|
|
"error_description": "Device model 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": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"messages.getUnreadMentions": [
|
|
{
|
|
"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": 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.importChatInvite": [
|
|
{
|
|
"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": 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": 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": 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"
|
|
},
|
|
{
|
|
"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.readHistory": [
|
|
{
|
|
"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": "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": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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.readMentions": [
|
|
{
|
|
"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": 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.search": [
|
|
{
|
|
"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": 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": "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": -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"
|
|
}
|
|
],
|
|
"messages.sendMedia": [
|
|
{
|
|
"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": "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": 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_RESTRICTED",
|
|
"error_description": "You can't send messages in this chat, you were restricted"
|
|
},
|
|
{
|
|
"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": "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": "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": -504,
|
|
"error_message": "memory limit exit",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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": "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": "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": "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": "SCHEDULE_TOO_MUCH",
|
|
"error_description": "There are too many scheduled messages"
|
|
},
|
|
{
|
|
"error_code": 420,
|
|
"error_message": "SLOWMODE_WAIT_X",
|
|
"error_description": "Slowmode is enabled in this chat: wait X seconds before sending another message to this chat."
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
},
|
|
{
|
|
"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": 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"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "YOU_BLOCKED_USER",
|
|
"error_description": "You blocked this user"
|
|
}
|
|
],
|
|
"messages.sendMessage": [
|
|
{
|
|
"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": "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": 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": "ENCRYPTION_DECLINED",
|
|
"error_description": "The secret chat was declined"
|
|
},
|
|
{
|
|
"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": -504,
|
|
"error_message": "memory limit exit",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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": "REPLY_MARKUP_INVALID",
|
|
"error_description": "The provided reply markup is invalid"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "SCHEDULE_BOT_NOT_ALLOWED",
|
|
"error_description": "Bots cannot schedule messages"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "SCHEDULE_DATE_TOO_LATE",
|
|
"error_description": "You can't schedule a message this far in the future"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "SCHEDULE_TOO_MUCH",
|
|
"error_description": "There are too many scheduled messages"
|
|
},
|
|
{
|
|
"error_code": 420,
|
|
"error_message": "SLOWMODE_WAIT_X",
|
|
"error_description": "Slowmode is enabled in this chat: wait X seconds before sending another message to this chat."
|
|
},
|
|
{
|
|
"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.sendMultiMedia": [
|
|
{
|
|
"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": "CHAT_ADMIN_REQUIRED",
|
|
"error_description": "You must be an admin in this chat to do this"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"messages.sendVote": [
|
|
{
|
|
"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": "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": "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": "REVOTE_NOT_ALLOWED",
|
|
"error_description": "You cannot change your vote"
|
|
}
|
|
],
|
|
"messages.setTyping": [
|
|
{
|
|
"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": 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": "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": -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"
|
|
}
|
|
],
|
|
"messages.startBot": [
|
|
{
|
|
"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": "BOT_INVALID",
|
|
"error_description": "This is not a valid bot"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "INPUT_USER_DEACTIVATED",
|
|
"error_description": "The specified user was deleted"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "PEER_ID_INVALID",
|
|
"error_description": "The provided peer id is invalid"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "START_PARAM_EMPTY",
|
|
"error_description": "The start parameter is empty"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "START_PARAM_INVALID",
|
|
"error_description": "Start parameter invalid"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "START_PARAM_TOO_LONG",
|
|
"error_description": "Start parameter is too long"
|
|
}
|
|
],
|
|
"messages.updatePinnedMessage": [
|
|
{
|
|
"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_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": "The pinned message wasn't modified"
|
|
},
|
|
{
|
|
"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": "PIN_RESTRICTED",
|
|
"error_description": "You can't pin messages"
|
|
}
|
|
],
|
|
"phone.getCallConfig": [
|
|
{
|
|
"error_code": 406,
|
|
"error_message": "AUTH_KEY_DUPLICATED",
|
|
"error_description": "An auth key with the same ID was already generated"
|
|
}
|
|
],
|
|
"photos.getUserPhotos": [
|
|
{
|
|
"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": "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"
|
|
}
|
|
],
|
|
"photos.updateProfilePhoto": [
|
|
{
|
|
"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": "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": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"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": "CONNECTION_DEVICE_MODEL_EMPTY",
|
|
"error_description": "Device model empty"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "FROM_MESSAGE_BOT_DISABLED",
|
|
"error_description": "Bots can't use fromMessage min constructors"
|
|
},
|
|
{
|
|
"error_code": -504,
|
|
"error_message": "memory limit exit",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"error_code": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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": -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": "CONNECTION_DEVICE_MODEL_EMPTY",
|
|
"error_description": "Device model empty"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "DATE_EMPTY",
|
|
"error_description": "Date empty"
|
|
},
|
|
{
|
|
"error_code": -504,
|
|
"error_message": "memory limit exit",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"error_code": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"upload.getFile": [
|
|
{
|
|
"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": "FILE_ID_INVALID",
|
|
"error_description": "The provided file id is invalid"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "FILE_REFERENCE_EXPIRED",
|
|
"error_description": "File reference expired, it must be refetched as described in https:\/\/core.telegram.org\/api\/file_reference"
|
|
},
|
|
{
|
|
"error_code": 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": "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": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"error_code": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"upload.saveBigFilePart": [
|
|
{
|
|
"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": "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"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"upload.saveFilePart": [
|
|
{
|
|
"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": "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"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"users.getFullUser": [
|
|
{
|
|
"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_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": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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": 400,
|
|
"error_message": "CHANNEL_PRIVATE",
|
|
"error_description": "You haven't joined this channel\/supergroup"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "CONNECTION_NOT_INITED",
|
|
"error_description": "Connection not initialized"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "INPUT_LAYER_INVALID",
|
|
"error_description": "The provided layer is invalid"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"auth.checkPhone": [
|
|
{
|
|
"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": "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"
|
|
}
|
|
],
|
|
"auth.importLoginToken": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "AUTH_TOKEN_EXPIRED",
|
|
"error_description": "The authorization token has expired"
|
|
}
|
|
],
|
|
"auth.acceptLoginToken": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "AUTH_TOKEN_INVALIDX",
|
|
"error_description": "The specified auth token 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_NOT_MODIFIED",
|
|
"error_description": "The pinned message wasn't modified"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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_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"
|
|
}
|
|
],
|
|
"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": "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": "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_SAVE_FILE_INVALID",
|
|
"error_description": "Internal issues, try again later"
|
|
},
|
|
{
|
|
"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": "WEBPAGE_CURL_FAILED",
|
|
"error_description": "Failure while fetching the webpage with cURL"
|
|
}
|
|
],
|
|
"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": "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": "SHORTNAME_OCCUPY_FAILED",
|
|
"error_description": "An internal error occurred"
|
|
},
|
|
{
|
|
"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": "STICKER_PNG_NOPNG",
|
|
"error_description": "One of the specified stickers is not a valid PNG file"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"messages.getPollVotes": [
|
|
{
|
|
"error_code": 403,
|
|
"error_message": "BROADCAST_FORBIDDEN",
|
|
"error_description": ""
|
|
},
|
|
{
|
|
"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": "LINK_NOT_MODIFIED",
|
|
"error_description": "Discussion link not modified"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "MEGAGROUP_ID_INVALID",
|
|
"error_description": "Invalid supergroup ID"
|
|
}
|
|
],
|
|
"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": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"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": "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"
|
|
}
|
|
],
|
|
"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": 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": 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"
|
|
}
|
|
],
|
|
"channels.deleteHistory": [
|
|
{
|
|
"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."
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"channels.deleteUserHistory": [
|
|
{
|
|
"error_code": 400,
|
|
"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": "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": 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": "PINNED_DIALOGS_TOO_MUCH",
|
|
"error_description": "Too many pinned dialogs"
|
|
},
|
|
{
|
|
"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": "CHAT_NOT_MODIFIED",
|
|
"error_description": "The pinned message wasn't modified"
|
|
},
|
|
{
|
|
"error_code": 403,
|
|
"error_message": "CHAT_WRITE_FORBIDDEN",
|
|
"error_description": "You can't write in this chat"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"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": 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"
|
|
}
|
|
],
|
|
"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": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "USER_NOT_PARTICIPANT",
|
|
"error_description": "You're not a member of this supergroup\/channel"
|
|
}
|
|
],
|
|
"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": "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"
|
|
}
|
|
],
|
|
"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.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": "The pinned message wasn't modified"
|
|
}
|
|
],
|
|
"channels.toggleSignatures": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"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_NOT_MODIFIED",
|
|
"error_description": "The pinned message wasn't modified"
|
|
},
|
|
{
|
|
"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.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.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": 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_GIFS_FORBIDDEN",
|
|
"error_description": "You can't send gifs in this chat"
|
|
},
|
|
{
|
|
"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_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": "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": 420,
|
|
"error_message": "SLOWMODE_WAIT_X",
|
|
"error_description": "Slowmode is enabled in this chat: wait X seconds before sending another message to this chat."
|
|
},
|
|
{
|
|
"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": "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"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"msgs_state_req": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "CHANNEL_INVALID",
|
|
"error_description": "The provided channel is invalid"
|
|
},
|
|
{
|
|
"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.getMessagePublicForwards": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"account.updateNotifySettings": [
|
|
{
|
|
"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.editCreator": [
|
|
{
|
|
"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": "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_X",
|
|
"error_description": "The password was modified less than 24 hours ago, try again in X seconds"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "SESSION_TOO_FRESH_X",
|
|
"error_description": "This session was created less than 24 hours ago, try again in X seconds"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "USER_ID_INVALID",
|
|
"error_description": "The provided user ID is invalid"
|
|
}
|
|
],
|
|
"messages.exportChatInvite": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"messages.getOnlines": [
|
|
{
|
|
"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.toggleSlowMode": [
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "SECONDS_INVALID",
|
|
"error_description": "Invalid duration provided"
|
|
}
|
|
],
|
|
"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": 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": "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.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.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": "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.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"
|
|
}
|
|
],
|
|
"stats.getMegagroupStats": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "CHAT_ADMIN_REQUIRED",
|
|
"error_description": "You must be an admin in this chat to do this"
|
|
}
|
|
],
|
|
"stats.getMessageStats": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "CHAT_ADMIN_REQUIRED",
|
|
"error_description": "You must be an admin in this chat to do this"
|
|
}
|
|
],
|
|
"messages.discardEncryption": [
|
|
{
|
|
"error_code": 400,
|
|
"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.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": "The pinned message wasn't modified"
|
|
},
|
|
{
|
|
"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_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": "The pinned message wasn't modified"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"error_code": 401,
|
|
"error_message": "SESSION_PASSWORD_NEEDED",
|
|
"error_description": "2FA is enabled, use a password to login"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"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": 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)"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"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.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"
|
|
}
|
|
],
|
|
"contacts.addContact": [
|
|
{
|
|
"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": "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.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": "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_IS_BLOCKED",
|
|
"error_description": "You were blocked by this user"
|
|
}
|
|
],
|
|
"messages.sendEncryptedFile": [
|
|
{
|
|
"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": "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"
|
|
}
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"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_VERIFY_EXPIRED",
|
|
"error_description": "The verification email has expired"
|
|
}
|
|
],
|
|
"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": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"photos.uploadProfilePhoto": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "FILE_PARTS_INVALID",
|
|
"error_description": "The number of file parts is invalid"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "IMAGE_PROCESS_FAILED",
|
|
"error_description": "Failure while processing image"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "PHOTO_CROP_FILE_MISSING",
|
|
"error_description": "Photo crop file missing"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "PHOTO_CROP_SIZE_SMALL",
|
|
"error_description": "Photo is too small"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "PHOTO_EXT_INVALID",
|
|
"error_description": "The extension of the photo is invalid"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "PHOTO_FILE_MISSING",
|
|
"error_description": "Profile photo file missing"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "VIDEO_FILE_INVALID",
|
|
"error_description": "The specified video file is invalid"
|
|
}
|
|
],
|
|
"messages.updateDialogFilter": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "FILTER_ID_INVALID",
|
|
"error_description": "The specified filter ID is invalid"
|
|
}
|
|
],
|
|
"auth.signUp": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "FIRSTNAME_INVALID",
|
|
"error_description": "The first name is invalid"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "INPUT_REQUEST_TOO_LONG",
|
|
"error_description": "The request is too big"
|
|
},
|
|
{
|
|
"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.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.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"
|
|
}
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"contacts.getLocated": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "GEO_POINT_INVALID",
|
|
"error_description": "Invalid geoposition provided"
|
|
},
|
|
{
|
|
"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_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"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"account.sendConfirmPhoneCode": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "HASH_INVALID",
|
|
"error_description": "The provided hash is invalid"
|
|
}
|
|
],
|
|
"invokeWithTakeout": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "INPUT_FETCH_FAIL",
|
|
"error_description": "Failed deserializing TL payload"
|
|
}
|
|
],
|
|
"msg_resend_req": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"channels.editLocation": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "MEGAGROUP_REQUIRED",
|
|
"error_description": "You can only use this method on a supergroup"
|
|
}
|
|
],
|
|
"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.getWebPagePreview": [
|
|
{
|
|
"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.getPollResults": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "MESSAGE_ID_INVALID",
|
|
"error_description": "The provided message id is invalid"
|
|
}
|
|
],
|
|
"messages.sendReaction": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "MESSAGE_ID_INVALID",
|
|
"error_description": "The provided message id is invalid"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "REACTION_EMPTY",
|
|
"error_description": "Empty reaction provided"
|
|
}
|
|
],
|
|
"messages.sendScheduledMessages": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "MESSAGE_ID_INVALID",
|
|
"error_description": "The provided message id is invalid"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"bots.sendCustomRequest": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "METHOD_INVALID",
|
|
"error_description": "The specified method is invalid"
|
|
},
|
|
{
|
|
"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": "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.reportSpam": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "MSG_ID_INVALID",
|
|
"error_description": "Invalid message ID provided"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "PEER_ID_INVALID",
|
|
"error_description": "The provided peer id is invalid"
|
|
}
|
|
],
|
|
"messages.readEncryptedHistory": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "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"
|
|
}
|
|
],
|
|
"photos.deletePhotos": [
|
|
{
|
|
"error_code": -500,
|
|
"error_message": "No workers running",
|
|
"error_description": "Internal error"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"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.getNotifySettings": [
|
|
{
|
|
"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.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.reorderPinnedDialogs": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "PEER_ID_INVALID",
|
|
"error_description": "The provided peer id is invalid"
|
|
}
|
|
],
|
|
"messages.report": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"account.changePhone": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "PHONE_CODE_EMPTY",
|
|
"error_description": "phone_code is missing"
|
|
},
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "PHONE_NUMBER_INVALID",
|
|
"error_description": "The phone number is invalid"
|
|
}
|
|
],
|
|
"auth.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"
|
|
}
|
|
],
|
|
"account.verifyPhone": [
|
|
{
|
|
"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)"
|
|
}
|
|
],
|
|
"auth.cancelCode": [
|
|
{
|
|
"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_NUMBER_INVALID",
|
|
"error_description": "The phone number is invalid"
|
|
}
|
|
],
|
|
"auth.resendCode": [
|
|
{
|
|
"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_HASH_EMPTY",
|
|
"error_description": "phone_code_hash is missing"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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_VALUE_INVALID",
|
|
"error_description": "The specified privacy rule combination is invalid"
|
|
},
|
|
{
|
|
"error_code": 401,
|
|
"error_message": "SESSION_PASSWORD_NEEDED",
|
|
"error_description": "2FA is enabled, use a password to login"
|
|
}
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"stickers.setStickerSetThumb": [
|
|
{
|
|
"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_X",
|
|
"error_description": "Wait X seconds before initing takeout"
|
|
}
|
|
],
|
|
"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": 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"
|
|
}
|
|
],
|
|
"contacts.deleteContacts": [
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"contacts.getContactIDs": [
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"messages.getMessages": [
|
|
{
|
|
"error_code": -503,
|
|
"error_message": "Timeout",
|
|
"error_description": "Timeout while fetching data"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"users.setSecureValueErrors": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "USER_ID_INVALID",
|
|
"error_description": "The provided user ID is invalid"
|
|
}
|
|
],
|
|
"help.getSupportName": [
|
|
{
|
|
"error_code": 403,
|
|
"error_message": "USER_INVALID",
|
|
"error_description": "Invalid user provided"
|
|
}
|
|
],
|
|
"help.getUserInfo": [
|
|
{
|
|
"error_code": 403,
|
|
"error_message": "USER_INVALID",
|
|
"error_description": "Invalid user provided"
|
|
}
|
|
],
|
|
"messages.getWebPage": [
|
|
{
|
|
"error_code": 400,
|
|
"error_message": "WC_CONVERT_URL_INVALID",
|
|
"error_description": "WC convert URL invalid"
|
|
}
|
|
]
|
|
}
|
|
} |