1
0
mirror of https://github.com/danog/rpc-db.git synced 2024-11-30 04:29:16 +01:00
rpc-db/v2.json
Github Actions b1d6d282a6 Update
2021-10-21 16:58:23 +02:00

7708 lines
286 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": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": 400,
"error_message": "API_ID_PUBLISHED_FLOOD",
"error_description": "This API id was published somewhere, you can't use it now"
},
{
"error_code": 401,
"error_message": "AUTH_KEY_INVALID",
"error_description": "Auth key invalid"
}
],
"channels.editAdmin": [
{
"error_code": 400,
"error_message": "ADMIN_RANK_EMOJI_NOT_ALLOWED",
"error_description": "An admin rank cannot contain emojis"
},
{
"error_code": 400,
"error_message": "ADMIN_RANK_INVALID",
"error_description": "The specified admin rank is invalid."
},
{
"error_code": 400,
"error_message": "ADMINS_TOO_MUCH",
"error_description": "There are too many admins"
},
{
"error_code": 400,
"error_message": "BOT_CHANNELS_NA",
"error_description": "Bots can't edit admin privileges"
},
{
"error_code": 400,
"error_message": "BOT_GROUPS_BLOCKED",
"error_description": "This bot can't be added to groups"
},
{
"error_code": 400,
"error_message": "BOTS_TOO_MUCH",
"error_description": "There are too many bots in this chat\/channel"
},
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 403,
"error_message": "CHAT_ADMIN_INVITE_REQUIRED",
"error_description": "You do not have the rights to do this"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 403,
"error_message": "CHAT_WRITE_FORBIDDEN",
"error_description": "You can't write in this chat"
},
{
"error_code": 400,
"error_message": "FRESH_CHANGE_ADMINS_FORBIDDEN",
"error_description": "You were just elected admin, you can't add or modify other admins yet"
},
{
"error_code": 406,
"error_message": "FRESH_CHANGE_ADMINS_FORBIDDEN",
"error_description": "You were just elected admin, you can't add or modify other admins yet"
},
{
"error_code": 400,
"error_message": "INPUT_USER_DEACTIVATED",
"error_description": "The specified user was deleted"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
},
{
"error_code": 403,
"error_message": "RIGHT_FORBIDDEN",
"error_description": "Your admin rights do not allow you to do this"
},
{
"error_code": 400,
"error_message": "USER_BLOCKED",
"error_description": "User blocked"
},
{
"error_code": 403,
"error_message": "USER_CHANNELS_TOO_MUCH",
"error_description": "One of the users you tried to add is already in too many channels\/supergroups"
},
{
"error_code": 400,
"error_message": "USER_CREATOR",
"error_description": "You can't leave this channel, because you're its creator"
},
{
"error_code": 400,
"error_message": "USER_ID_INVALID",
"error_description": "The provided user ID is invalid"
},
{
"error_code": 400,
"error_message": "USER_NOT_MUTUAL_CONTACT",
"error_description": "The provided user is not a mutual contact"
},
{
"error_code": 403,
"error_message": "USER_NOT_MUTUAL_CONTACT",
"error_description": "The provided user is not a mutual contact"
},
{
"error_code": 403,
"error_message": "USER_PRIVACY_RESTRICTED",
"error_description": "The user's privacy settings do not allow you to do this"
},
{
"error_code": 403,
"error_message": "USER_RESTRICTED",
"error_description": "You're spamreported, you can't create channels or chats."
},
{
"error_code": 400,
"error_message": "USERS_TOO_MUCH",
"error_description": "The maximum number of users has been exceeded (to create a chat, for example)"
}
],
"photos.updateProfilePhoto": [
{
"error_code": 400,
"error_message": "ALBUM_PHOTOS_TOO_MANY",
"error_description": "Too many "
},
{
"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"
}
],
"photos.uploadProfilePhoto": [
{
"error_code": 400,
"error_message": "ALBUM_PHOTOS_TOO_MANY",
"error_description": "Too many "
},
{
"error_code": 400,
"error_message": "FILE_PARTS_INVALID",
"error_description": "The number of file parts is invalid"
},
{
"error_code": 400,
"error_message": "IMAGE_PROCESS_FAILED",
"error_description": "Failure while processing image"
},
{
"error_code": 400,
"error_message": "PHOTO_CROP_FILE_MISSING",
"error_description": "Photo crop file missing"
},
{
"error_code": 400,
"error_message": "PHOTO_CROP_SIZE_SMALL",
"error_description": "Photo is too small"
},
{
"error_code": 400,
"error_message": "PHOTO_EXT_INVALID",
"error_description": "The extension of the photo is invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_FILE_MISSING",
"error_description": "Profile photo file missing"
},
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
},
{
"error_code": 400,
"error_message": "VIDEO_FILE_INVALID",
"error_description": "The specified video file is invalid"
}
],
"account.updateStatus": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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_LANG_PACK_INVALID",
"error_description": "Language pack invalid"
},
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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"
}
],
"channels.getChannels": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": "CHAT_NOT_MODIFIED",
"error_description": "The pinned message wasn't modified"
},
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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.getParticipant": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": 400,
"error_message": "PARTICIPANT_ID_INVALID",
"error_description": "The specified participant ID is invalid"
},
{
"error_code": -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.joinChannel": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": "CHAT_INVALID",
"error_description": "Invalid chat"
},
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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_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"
}
],
"contacts.resolveUsername": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": 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"
},
{
"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": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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_LANG_PACK_INVALID",
"error_description": "Language pack invalid"
},
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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"
},
{
"error_code": 403,
"error_message": "USER_PRIVACY_RESTRICTED",
"error_description": "The user's privacy settings do not allow you to do this"
},
{
"error_code": 400,
"error_message": "USERNAME_INVALID",
"error_description": "The provided username is not valid"
}
],
"help.getTermsOfServiceUpdate": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"error_code": 400,
"error_message": "INVITE_HASH_EMPTY",
"error_description": "The invite hash is empty"
},
{
"error_code": 400,
"error_message": "INVITE_HASH_EXPIRED",
"error_description": "The invite link has expired"
},
{
"error_code": 400,
"error_message": "INVITE_HASH_INVALID",
"error_description": "The invite hash is invalid"
},
{
"error_code": 401,
"error_message": "SESSION_PASSWORD_NEEDED",
"error_description": "2FA is enabled, use a password to login"
},
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
}
],
"messages.deleteHistory": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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.forwardMessages": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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_GAME_FORBIDDEN",
"error_description": "You can't send a game to this chat."
},
{
"error_code": 403,
"error_message": "CHAT_SEND_GIFS_FORBIDDEN",
"error_description": "You can't send gifs in this chat"
},
{
"error_code": 403,
"error_message": "CHAT_SEND_MEDIA_FORBIDDEN",
"error_description": "You can't send media in this chat"
},
{
"error_code": 403,
"error_message": "CHAT_SEND_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_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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_DATE_TOO_LATE",
"error_description": "You can't schedule a message this far in the future"
},
{
"error_code": 400,
"error_message": "SCHEDULE_TOO_MUCH",
"error_description": "There are too many scheduled messages"
},
{
"error_code": 400,
"error_message": "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": 403,
"error_message": "USER_IS_BLOCKED",
"error_description": "You were blocked by this user"
},
{
"error_code": 400,
"error_message": "USER_IS_BOT",
"error_description": "Bots can't send messages to other bots"
},
{
"error_code": 400,
"error_message": "YOU_BLOCKED_USER",
"error_description": "You blocked this user"
}
],
"messages.getAllChats": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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"
}
],
"messages.getBotCallbackAnswer": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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.getUnreadMentions": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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.importChatInvite": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": "CHAT_INVALID",
"error_description": "Invalid chat"
},
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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.readMentions": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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.sendMessage": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": "ENTITIES_TOO_LONG",
"error_description": "You provided too many styled message entities"
},
{
"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_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": "POLL_OPTION_INVALID",
"error_description": "Invalid poll option provided"
},
{
"error_code": 400,
"error_message": "REPLY_MARKUP_INVALID",
"error_description": "The provided reply markup is invalid"
},
{
"error_code": 400,
"error_message": "REPLY_MARKUP_TOO_LONG",
"error_description": "The specified reply_markup is too long"
},
{
"error_code": 400,
"error_message": "SCHEDULE_BOT_NOT_ALLOWED",
"error_description": "Bots cannot schedule messages"
},
{
"error_code": 400,
"error_message": "SCHEDULE_DATE_TOO_LATE",
"error_description": "You can't schedule a message this far in the future"
},
{
"error_code": 400,
"error_message": "SCHEDULE_STATUS_PRIVATE",
"error_description": "Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings."
},
{
"error_code": 400,
"error_message": "SCHEDULE_TOO_MUCH",
"error_description": "There are too many scheduled messages"
},
{
"error_code": 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": 403,
"error_message": "USER_IS_BLOCKED",
"error_description": "You were blocked by this user"
},
{
"error_code": 400,
"error_message": "USER_IS_BOT",
"error_description": "Bots can't send messages to other bots"
},
{
"error_code": 400,
"error_message": "YOU_BLOCKED_USER",
"error_description": "You blocked this user"
}
],
"updates.getChannelDifference": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": 403,
"error_message": "CHAT_WRITE_FORBIDDEN",
"error_description": "You can't write in this chat"
},
{
"error_code": 400,
"error_message": "CONNECTION_DEVICE_MODEL_EMPTY",
"error_description": "Device model 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": "FROM_MESSAGE_BOT_DISABLED",
"error_description": "Bots can't use fromMessage min constructors"
},
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": 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_BANNED_IN_CHANNEL",
"error_description": "You're banned from sending messages in supergroups\/channels"
}
],
"updates.getDifference": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": 403,
"error_message": "CHAT_WRITE_FORBIDDEN",
"error_description": "You can't write in this chat"
},
{
"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": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"error_code": -504,
"error_message": "memory limit exit",
"error_description": "Internal error"
},
{
"error_code": -504,
"error_message": "memory limit(?)",
"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": 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": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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.saveFilePart": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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_SYSTEM_EMPTY",
"error_description": "Connection system empty"
},
{
"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": -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"
}
],
"users.getUsers": [
{
"error_code": -3002,
"error_message": "All workers are busy. Active_queries = X",
"error_description": "All workers are busy. Active_queries = X"
},
{
"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": "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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": 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.exportLoginToken": [
{
"error_code": 400,
"error_message": "API_ID_INVALID",
"error_description": "API ID invalid"
}
],
"auth.sendCode": [
{
"error_code": 400,
"error_message": "API_ID_INVALID",
"error_description": "API ID invalid"
},
{
"error_code": 400,
"error_message": "API_ID_PUBLISHED_FLOOD",
"error_description": "This API id was published somewhere, you can't use it now"
},
{
"error_code": 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": "AUDIO_CONTENT_URL_EMPTY",
"error_description": "The remote URL specified in the content field is empty"
},
{
"error_code": 400,
"error_message": "AUDIO_TITLE_EMPTY",
"error_description": "An empty audio title was provided."
},
{
"error_code": 400,
"error_message": "BUTTON_DATA_INVALID",
"error_description": "The data of one or more of the buttons you provided is invalid"
},
{
"error_code": 400,
"error_message": "BUTTON_TYPE_INVALID",
"error_description": "The type of one or more of the buttons you provided is invalid"
},
{
"error_code": 400,
"error_message": "BUTTON_URL_INVALID",
"error_description": "Button URL invalid"
},
{
"error_code": 400,
"error_message": "DOCUMENT_INVALID",
"error_description": "The specified document is invalid"
},
{
"error_code": 400,
"error_message": "FILE_CONTENT_TYPE_INVALID",
"error_description": "File content-type is invalid"
},
{
"error_code": 400,
"error_message": "FILE_TITLE_EMPTY",
"error_description": "An empty file title was specified"
},
{
"error_code": 400,
"error_message": "GIF_CONTENT_TYPE_INVALID",
"error_description": "GIF content-type invalid"
},
{
"error_code": 400,
"error_message": "MESSAGE_EMPTY",
"error_description": "The provided message is empty"
},
{
"error_code": 400,
"error_message": "MESSAGE_TOO_LONG",
"error_description": "The provided message is too long"
},
{
"error_code": 400,
"error_message": "NEXT_OFFSET_INVALID",
"error_description": "The specified offset is longer than 64 bytes."
},
{
"error_code": 400,
"error_message": "PHOTO_CONTENT_TYPE_INVALID",
"error_description": "Photo mime-type invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_CONTENT_URL_EMPTY",
"error_description": "Photo URL invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_INVALID",
"error_description": "Photo invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_THUMB_URL_EMPTY",
"error_description": "Photo thumbnail URL is empty"
},
{
"error_code": 400,
"error_message": "QUERY_ID_INVALID",
"error_description": "The query ID is invalid"
},
{
"error_code": 400,
"error_message": "REPLY_MARKUP_INVALID",
"error_description": "The provided reply markup is invalid"
},
{
"error_code": 400,
"error_message": "RESULT_ID_DUPLICATE",
"error_description": "You provided a duplicate result ID"
},
{
"error_code": 400,
"error_message": "RESULT_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": 400,
"error_message": "STICKER_DOCUMENT_INVALID",
"error_description": "The specified sticker document is invalid"
},
{
"error_code": 400,
"error_message": "USER_BOT_INVALID",
"error_description": "This method can only be called by a bot"
},
{
"error_code": 403,
"error_message": "USER_BOT_INVALID",
"error_description": "This method can only be called by a bot"
},
{
"error_code": 400,
"error_message": "VIDEO_TITLE_EMPTY",
"error_description": "The specified video title is empty"
},
{
"error_code": 400,
"error_message": "WEBDOCUMENT_INVALID",
"error_description": "Invalid webdocument URL provided"
},
{
"error_code": 400,
"error_message": "WEBDOCUMENT_MIME_INVALID",
"error_description": "Invalid webdocument mime type provided"
},
{
"error_code": 400,
"error_message": "WEBDOCUMENT_SIZE_TOO_BIG",
"error_description": "Webdocument is too big!"
},
{
"error_code": 400,
"error_message": "WEBDOCUMENT_URL_INVALID",
"error_description": "The specified webdocument URL is invalid"
}
],
"auth.importAuthorization": [
{
"error_code": 400,
"error_message": "AUTH_BYTES_INVALID",
"error_description": "The provided authorization is invalid"
},
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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.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"
}
],
"auth.exportAuthorization": [
{
"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": "DC_ID_INVALID",
"error_description": "The provided DC 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"
}
],
"auth.logOut": [
{
"error_code": 406,
"error_message": "AUTH_KEY_DUPLICATED",
"error_description": "An auth key with the same ID was already generated"
}
],
"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_ADMIN_LOCATED_TOO_MUCH",
"error_description": "The user has reached the limit of public geogroups"
},
{
"error_code": 400,
"error_message": "CHANNELS_TOO_MUCH",
"error_description": "You have joined too many channels\/supergroups"
},
{
"error_code": 400,
"error_message": "CHAT_ABOUT_TOO_LONG",
"error_description": "Chat about too long"
},
{
"error_code": 400,
"error_message": "CHAT_TITLE_EMPTY",
"error_description": "No chat title provided"
},
{
"error_code": 400,
"error_message": "INPUT_REQUEST_TOO_LONG",
"error_description": "The request is too big"
},
{
"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.deleteMessages": [
{
"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": -504,
"error_message": "memory limit exit",
"error_description": "Internal error"
},
{
"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.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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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_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.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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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.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.addContact": [
{
"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": "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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
}
],
"contacts.getContactIDs": [
{
"error_code": 406,
"error_message": "AUTH_KEY_DUPLICATED",
"error_description": "An auth key with the same ID was already generated"
},
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
}
],
"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.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": "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": 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.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"
}
],
"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": 400,
"error_message": "ENTITIES_TOO_LONG",
"error_description": "You provided too many styled message entities"
},
{
"error_code": 403,
"error_message": "INLINE_BOT_REQUIRED",
"error_description": "Only the inline bot can edit message"
},
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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_GROUPED_INVALID",
"error_description": "You tried to send media of different types in an album."
},
{
"error_code": 400,
"error_message": "MEDIA_NEW_INVALID",
"error_description": "The new media is invalid"
},
{
"error_code": 400,
"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.getMessages": [
{
"error_code": 406,
"error_message": "AUTH_KEY_DUPLICATED",
"error_description": "An auth key with the same ID was already generated"
},
{
"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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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.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_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.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": "FROM_PEER_INVALID",
"error_description": "The specified from_id is invalid"
},
{
"error_code": 400,
"error_message": "INPUT_FILTER_INVALID",
"error_description": "The specified filter is invalid"
},
{
"error_code": 400,
"error_message": "INPUT_USER_DEACTIVATED",
"error_description": "The specified user was deleted"
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
},
{
"error_code": 400,
"error_message": "PEER_ID_NOT_SUPPORTED",
"error_description": "The provided peer ID is not supported"
},
{
"error_code": 400,
"error_message": "SEARCH_QUERY_EMPTY",
"error_description": "The search query is empty"
},
{
"error_code": -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": "BOT_PAYMENTS_DISABLED",
"error_description": "Please enable bot payments in botfather before calling this method."
},
{
"error_code": 400,
"error_message": "BROADCAST_PUBLIC_VOTERS_FORBIDDEN",
"error_description": "You can't forward polls with public voters"
},
{
"error_code": 400,
"error_message": "BUTTON_DATA_INVALID",
"error_description": "The data of one or more of the buttons you provided is invalid"
},
{
"error_code": 400,
"error_message": "BUTTON_TYPE_INVALID",
"error_description": "The type of one or more of the buttons you provided is invalid"
},
{
"error_code": 400,
"error_message": "BUTTON_URL_INVALID",
"error_description": "Button URL invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 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_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": "CURRENCY_TOTAL_AMOUNT_INVALID",
"error_description": "The total amount of all prices is invalid"
},
{
"error_code": 400,
"error_message": "EMOTICON_INVALID",
"error_description": "The specified emoji is invalid"
},
{
"error_code": 400,
"error_message": "EXTERNAL_URL_INVALID",
"error_description": "External URL invalid"
},
{
"error_code": 400,
"error_message": "FILE_PART_LENGTH_INVALID",
"error_description": "The length of a file part is invalid"
},
{
"error_code": 400,
"error_message": "FILE_PARTS_INVALID",
"error_description": "The number of file parts is invalid"
},
{
"error_code": 400,
"error_message": "FILE_REFERENCE_EMPTY",
"error_description": "An empty [file reference](https:\/\/core.telegram.org\/api\/file_reference) was specified"
},
{
"error_code": 400,
"error_message": "FILE_REFERENCE_EXPIRED",
"error_description": "File reference expired, it must be refetched as described in https:\/\/core.telegram.org\/api\/file_reference"
},
{
"error_code": 400,
"error_message": "GAME_BOT_INVALID",
"error_description": "Bots can't send another bot's game."
},
{
"error_code": 400,
"error_message": "IMAGE_PROCESS_FAILED",
"error_description": "Failure while processing image"
},
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": "PAYMENT_PROVIDER_INVALID",
"error_description": "The specified payment provider is invalid"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_EXT_INVALID",
"error_description": "The extension of the photo is invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_INVALID_DIMENSIONS",
"error_description": "The photo dimensions are invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_SAVE_FILE_INVALID",
"error_description": "Internal issues, try again later"
},
{
"error_code": 400,
"error_message": "POLL_ANSWER_INVALID",
"error_description": "One of the poll answers is not acceptable"
},
{
"error_code": 400,
"error_message": "POLL_ANSWERS_INVALID",
"error_description": "Invalid poll answers were provided"
},
{
"error_code": 400,
"error_message": "POLL_OPTION_DUPLICATE",
"error_description": "Duplicate poll options provided"
},
{
"error_code": 400,
"error_message": "POLL_OPTION_INVALID",
"error_description": "Invalid poll option provided"
},
{
"error_code": 400,
"error_message": "POLL_QUESTION_INVALID",
"error_description": "One of the poll questions is not acceptable"
},
{
"error_code": 400,
"error_message": "QUIZ_CORRECT_ANSWER_INVALID",
"error_description": "An invalid value was provided to the correct_answers field"
},
{
"error_code": 400,
"error_message": "QUIZ_CORRECT_ANSWERS_EMPTY",
"error_description": "No correct quiz answer was specified"
},
{
"error_code": 400,
"error_message": "QUIZ_CORRECT_ANSWERS_TOO_MUCH",
"error_description": "You specified too many correct answers in a quiz, quizes can only have one right answer!"
},
{
"error_code": 400,
"error_message": "QUIZ_MULTIPLE_INVALID",
"error_description": "Quizes can't have the multiple_choice flag set!"
},
{
"error_code": 400,
"error_message": "REPLY_MARKUP_BUY_EMPTY",
"error_description": "Reply markup for buy button empty"
},
{
"error_code": 400,
"error_message": "REPLY_MARKUP_INVALID",
"error_description": "The provided reply markup is invalid"
},
{
"error_code": 400,
"error_message": "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": "TTL_MEDIA_INVALID",
"error_description": "Invalid media Time To Live was provided"
},
{
"error_code": 400,
"error_message": "USER_BANNED_IN_CHANNEL",
"error_description": "You're banned from sending messages in supergroups\/channels"
},
{
"error_code": 400,
"error_message": "USER_IS_BLOCKED",
"error_description": "You were blocked by this user"
},
{
"error_code": 403,
"error_message": "USER_IS_BLOCKED",
"error_description": "You were blocked by this user"
},
{
"error_code": 400,
"error_message": "USER_IS_BOT",
"error_description": "Bots can't send messages to other bots"
},
{
"error_code": 400,
"error_message": "VIDEO_CONTENT_TYPE_INVALID",
"error_description": "The video's content type is invalid"
},
{
"error_code": 400,
"error_message": "WEBPAGE_CURL_FAILED",
"error_description": "Failure while fetching the webpage with cURL"
},
{
"error_code": 400,
"error_message": "WEBPAGE_MEDIA_EMPTY",
"error_description": "Webpage media empty"
},
{
"error_code": 400,
"error_message": "YOU_BLOCKED_USER",
"error_description": "You blocked this user"
}
],
"messages.sendMultiMedia": [
{
"error_code": 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": "MEDIA_CAPTION_TOO_LONG",
"error_description": "The caption is too long"
},
{
"error_code": 400,
"error_message": "MEDIA_EMPTY",
"error_description": "The provided media object is invalid"
},
{
"error_code": 400,
"error_message": "MEDIA_INVALID",
"error_description": "Media invalid"
},
{
"error_code": 400,
"error_message": "MULTI_MEDIA_TOO_LONG",
"error_description": "Too many media files for album"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
},
{
"error_code": 400,
"error_message": "RANDOM_ID_EMPTY",
"error_description": "Random ID empty"
},
{
"error_code": 400,
"error_message": "SCHEDULE_DATE_TOO_LATE",
"error_description": "You can't schedule a message this far in the future"
},
{
"error_code": 400,
"error_message": "SCHEDULE_TOO_MUCH",
"error_description": "There are too many scheduled messages"
},
{
"error_code": 420,
"error_message": "SLOWMODE_WAIT_X",
"error_description": "Slowmode is enabled in this chat: wait X seconds before sending another message to this chat."
}
],
"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": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "MESSAGE_ID_INVALID",
"error_description": "The provided message id is invalid"
},
{
"error_code": 400,
"error_message": "MESSAGE_POLL_CLOSED",
"error_description": "Poll closed"
},
{
"error_code": 400,
"error_message": "OPTION_INVALID",
"error_description": "Invalid option selected"
},
{
"error_code": 400,
"error_message": "OPTIONS_TOO_MUCH",
"error_description": "Too many options provided"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
},
{
"error_code": 400,
"error_message": "REVOTE_NOT_ALLOWED",
"error_description": "You cannot change your vote"
}
],
"messages.setTyping": [
{
"error_code": 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_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": 403,
"error_message": "USER_IS_BLOCKED",
"error_description": "You were blocked by this user"
},
{
"error_code": 400,
"error_message": "USER_IS_BOT",
"error_description": "Bots can't send messages to other bots"
}
],
"messages.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": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 400,
"error_message": "INPUT_USER_DEACTIVATED",
"error_description": "The specified user was deleted"
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": 400,
"error_message": "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": "BOT_ONESIDE_NOT_AVAIL",
"error_description": "Bots can't pin messages in PM just for themselves"
},
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 400,
"error_message": "CHAT_NOT_MODIFIED",
"error_description": "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"
},
{
"error_code": 400,
"error_message": "USER_BANNED_IN_CHANNEL",
"error_description": "You're banned from sending messages in supergroups\/channels"
}
],
"messages.uploadMedia": [
{
"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_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": 400,
"error_message": "CHAT_RESTRICTED",
"error_description": "You can't send messages in this chat, you were restricted"
},
{
"error_code": 403,
"error_message": "CHAT_WRITE_FORBIDDEN",
"error_description": "You can't write in this chat"
},
{
"error_code": 400,
"error_message": "FILE_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_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"error_code": 400,
"error_message": "INPUT_USER_DEACTIVATED",
"error_description": "The specified user was deleted"
},
{
"error_code": 400,
"error_message": "MEDIA_INVALID",
"error_description": "Media invalid"
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_EXT_INVALID",
"error_description": "The extension of the photo is invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_INVALID_DIMENSIONS",
"error_description": "The photo dimensions are invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_SAVE_FILE_INVALID",
"error_description": "Internal issues, try again later"
},
{
"error_code": -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"
}
],
"phone.getCallConfig": [
{
"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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
}
],
"photos.deletePhotos": [
{
"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"
},
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
}
],
"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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"error_code": 400,
"error_message": "MAX_ID_INVALID",
"error_description": "The provided max ID is invalid"
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": -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"
}
],
"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.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": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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"
}
],
"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_ALREADY_ACCEPTED",
"error_description": "The specified auth token was already accepted"
},
{
"error_code": 400,
"error_message": "AUTH_TOKEN_EXPIRED",
"error_description": "The authorization token has expired"
},
{
"error_code": 400,
"error_message": "AUTH_TOKEN_INVALID",
"error_description": "The specified auth token is invalid"
},
{
"error_code": 400,
"error_message": "AUTH_TOKEN_INVALIDX",
"error_description": "The specified auth token is invalid"
}
],
"auth.acceptLoginToken": [
{
"error_code": 400,
"error_message": "AUTH_TOKEN_INVALIDX",
"error_description": "The specified auth token is invalid"
}
],
"account.setGlobalPrivacySettings": [
{
"error_code": 400,
"error_message": "AUTOARCHIVE_NOT_AVAILABLE",
"error_description": "The autoarchive setting is not available at this time: please check the value of the [autoarchive_setting_available field in client config »](https:\/\/core.telegram.org\/api\/config#client-configuration) before calling this method."
}
],
"payments.getBankCardData": [
{
"error_code": 400,
"error_message": "BANK_CARD_NUMBER_INVALID",
"error_description": "The specified card number is invalid"
}
],
"messages.editChatDefaultBannedRights": [
{
"error_code": 400,
"error_message": "BANNED_RIGHTS_INVALID",
"error_description": "You provided some invalid flags in the banned rights"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 400,
"error_message": "CHAT_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"
},
{
"error_code": 400,
"error_message": "UNTIL_DATE_INVALID",
"error_description": "Invalid until date provided"
}
],
"bots.setBotCommands": [
{
"error_code": 400,
"error_message": "BOT_COMMAND_DESCRIPTION_INVALID",
"error_description": "The specified command description is invalid"
},
{
"error_code": 400,
"error_message": "BOT_COMMAND_INVALID",
"error_description": "The specified command is invalid"
},
{
"error_code": 400,
"error_message": "LANG_CODE_INVALID",
"error_description": "The specified language code is invalid"
}
],
"messages.getInlineBotResults": [
{
"error_code": 400,
"error_message": "BOT_INLINE_DISABLED",
"error_description": "This bot can't be used in inline mode"
},
{
"error_code": 400,
"error_message": "BOT_INVALID",
"error_description": "This is not a valid bot"
},
{
"error_code": 400,
"error_message": "BOT_RESPONSE_TIMEOUT",
"error_description": "A timeout occurred while fetching data from the bot"
},
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 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"
}
],
"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": "STICKER_PNG_NOPNG",
"error_description": "One of the specified stickers is not a valid PNG file"
},
{
"error_code": 400,
"error_message": "STICKER_TGS_NOTGS",
"error_description": "Invalid TGS sticker provided."
},
{
"error_code": 400,
"error_message": "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": "STICKER_TGS_NODOC",
"error_description": "Incorrect document type for sticker."
},
{
"error_code": 400,
"error_message": "STICKER_TGS_NOTGS",
"error_description": "Invalid TGS sticker provided."
},
{
"error_code": 400,
"error_message": "STICKER_THUMB_PNG_NOPNG",
"error_description": "Incorrect stickerset thumb file provided, PNG \/ WEBP expected."
},
{
"error_code": 400,
"error_message": "STICKER_THUMB_TGS_NOTGS",
"error_description": "Incorrect stickerset TGS thumb file provided."
},
{
"error_code": 400,
"error_message": "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.setGameScore": [
{
"error_code": 400,
"error_message": "BOT_SCORE_NOT_MODIFIED",
"error_description": "The score wasn't modified"
},
{
"error_code": 400,
"error_message": "MESSAGE_ID_INVALID",
"error_description": "The provided message id is invalid"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
},
{
"error_code": 400,
"error_message": "USER_BOT_REQUIRED",
"error_description": "This method can only be called by a bot"
}
],
"messages.getPollVotes": [
{
"error_code": 403,
"error_message": "BROADCAST_FORBIDDEN",
"error_description": "Participants of polls in channels should stay anonymous."
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": 403,
"error_message": "POLL_VOTE_REQUIRED",
"error_description": "Cast a vote in the poll before calling this method"
}
],
"channels.setDiscussionGroup": [
{
"error_code": 400,
"error_message": "BROADCAST_ID_INVALID",
"error_description": "Broadcast ID invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 400,
"error_message": "LINK_NOT_MODIFIED",
"error_description": "Discussion link not modified"
},
{
"error_code": 400,
"error_message": "MEGAGROUP_ID_INVALID",
"error_description": "Invalid supergroup ID"
},
{
"error_code": 400,
"error_message": "MEGAGROUP_PREHISTORY_HIDDEN",
"error_description": "Group with hidden history for new members can't be set as discussion groups"
}
],
"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": 400,
"error_message": "USER_IS_BLOCKED",
"error_description": "You were blocked by this user"
},
{
"error_code": 403,
"error_message": "USER_IS_BLOCKED",
"error_description": "You were blocked by this user"
},
{
"error_code": 403,
"error_message": "USER_PRIVACY_RESTRICTED",
"error_description": "The user's privacy settings do not allow you to do this"
}
],
"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.editBanned": [
{
"error_code": 400,
"error_message": "CHANNEL_ADD_INVALID",
"error_description": "Internal error"
},
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 403,
"error_message": "CHAT_WRITE_FORBIDDEN",
"error_description": "You can't write in this chat"
},
{
"error_code": 400,
"error_message": "INPUT_USER_DEACTIVATED",
"error_description": "The specified user was deleted"
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": 400,
"error_message": "PARTICIPANT_ID_INVALID",
"error_description": "The specified participant ID is invalid"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
},
{
"error_code": 400,
"error_message": "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"
}
],
"account.updateNotifySettings": [
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
},
{
"error_code": 400,
"error_message": "SETTINGS_INVALID",
"error_description": "Invalid settings were provided"
}
],
"channels.checkUsername": [
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "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": 406,
"error_message": "CHANNEL_TOO_LARGE",
"error_description": "Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change)"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 400,
"error_message": "CHAT_NOT_MODIFIED",
"error_description": "The pinned message wasn't modified"
},
{
"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.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": -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"
}
],
"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.editPhoto": [
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 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": "FILE_REFERENCE_INVALID",
"error_description": "The specified [file reference](https:\/\/core.telegram.org\/api\/file_reference) is invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_CROP_SIZE_SMALL",
"error_description": "Photo is too small"
},
{
"error_code": 400,
"error_message": "PHOTO_EXT_INVALID",
"error_description": "The extension of the photo is invalid"
},
{
"error_code": 400,
"error_message": "PHOTO_INVALID",
"error_description": "Photo invalid"
}
],
"channels.editTitle": [
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 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": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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"
},
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
}
],
"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"
},
{
"error_code": 406,
"error_message": "STICKERSET_OWNER_ANONYMOUS",
"error_description": "Provided stickerset can't be installed as group stickerset to prevent admin deanonymisation."
}
],
"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_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"
}
],
"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_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": 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_GAME_FORBIDDEN",
"error_description": "You can't send a game to this chat."
},
{
"error_code": 403,
"error_message": "CHAT_SEND_GIFS_FORBIDDEN",
"error_description": "You can't send gifs in this chat"
},
{
"error_code": 400,
"error_message": "CHAT_SEND_INLINE_FORBIDDEN",
"error_description": "You can't send inline messages in this group"
},
{
"error_code": 403,
"error_message": "CHAT_SEND_INLINE_FORBIDDEN",
"error_description": "You can't send inline messages in this group"
},
{
"error_code": 403,
"error_message": "CHAT_SEND_MEDIA_FORBIDDEN",
"error_description": "You can't send media in this chat"
},
{
"error_code": 403,
"error_message": "CHAT_SEND_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": 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": "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"
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
}
],
"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.getMegagroupStats": [
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 400,
"error_message": "MEGAGROUP_REQUIRED",
"error_description": "You can only use this method on a supergroup"
}
],
"stats.getMessagePublicForwards": [
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 400,
"error_message": "MESSAGE_ID_INVALID",
"error_description": "The provided message id is invalid"
}
],
"stats.getMessageStats": [
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
}
],
"account.reportPeer": [
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"channels.editCreator": [
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "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": "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": "SRP_ID_INVALID",
"error_description": "Invalid SRP ID provided"
},
{
"error_code": 400,
"error_message": "USER_ID_INVALID",
"error_description": "The provided user ID is invalid"
}
],
"contacts.unblock": [
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "CONTACT_ID_INVALID",
"error_description": "The provided contact ID is invalid"
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"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": "EXPIRE_DATE_INVALID",
"error_description": "The specified expiration date is invalid"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
},
{
"error_code": 400,
"error_message": "USAGE_LIMIT_INVALID",
"error_description": "The specified usage limit is invalid"
}
],
"messages.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"
}
],
"messages.report": [
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"messages.reportSpam": [
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"messages.toggleDialogPin": [
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 400,
"error_message": "PEER_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"
}
],
"messages.migrateChat": [
{
"error_code": 400,
"error_message": "CHANNELS_TOO_MUCH",
"error_description": "You have joined too many channels\/supergroups"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 403,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 400,
"error_message": "CHAT_ID_INVALID",
"error_description": "The provided chat id is invalid"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"channels.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": 400,
"error_message": "USER_IS_BLOCKED",
"error_description": "You were blocked by this user"
},
{
"error_code": 400,
"error_message": "USER_NOT_MUTUAL_CONTACT",
"error_description": "The provided user is not a mutual contact"
},
{
"error_code": 403,
"error_message": "USER_NOT_MUTUAL_CONTACT",
"error_description": "The provided user is not a mutual contact"
},
{
"error_code": 403,
"error_message": "USER_PRIVACY_RESTRICTED",
"error_description": "The user's privacy settings do not allow you to do this"
},
{
"error_code": 400,
"error_message": "USERS_TOO_MUCH",
"error_description": "The maximum number of users has been exceeded (to create a chat, for example)"
},
{
"error_code": 400,
"error_message": "YOU_BLOCKED_USER",
"error_description": "You blocked this user"
}
],
"messages.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"
}
],
"phone.createGroupCall": [
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
},
{
"error_code": 400,
"error_message": "SCHEDULE_DATE_INVALID",
"error_description": "Invalid schedule date provided"
}
],
"messages.discardEncryption": [
{
"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_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"
},
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
}
],
"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"
},
{
"error_code": 403,
"error_message": "USER_IS_BLOCKED",
"error_description": "You were blocked by this user"
}
],
"messages.setEncryptedTyping": [
{
"error_code": 400,
"error_message": "CHAT_ID_INVALID",
"error_description": "The provided chat id is invalid"
}
],
"messages.toggleChatAdmins": [
{
"error_code": 400,
"error_message": "CHAT_ID_INVALID",
"error_description": "The provided chat id is invalid"
},
{
"error_code": 400,
"error_message": "CHAT_NOT_MODIFIED",
"error_description": "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)"
}
],
"messages.setHistoryTTL": [
{
"error_code": 400,
"error_message": "CHAT_NOT_MODIFIED",
"error_description": "The pinned message wasn't modified"
},
{
"error_code": 400,
"error_message": "TTL_PERIOD_INVALID",
"error_description": "The specified TTL period is invalid"
}
],
"messages.getMessagesReadParticipants": [
{
"error_code": 400,
"error_message": "CHAT_TOO_BIG",
"error_description": "This method is not available for groups with more than `chat_read_mark_size_threshold` members, [see client configuration »](https:\/\/core.telegram.org\/api\/config#client-configuration)."
}
],
"auth.recoverPassword": [
{
"error_code": 400,
"error_message": "CODE_EMPTY",
"error_description": "The provided code is empty"
},
{
"error_code": 400,
"error_message": "NEW_SETTINGS_INVALID",
"error_description": "The new settings are invalid"
}
],
"account.confirmPhone": [
{
"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"
},
{
"error_code": 401,
"error_message": "SESSION_PASSWORD_NEEDED",
"error_description": "2FA is enabled, use a password to login"
}
],
"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"
},
{
"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"
}
],
"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_DELETED",
"error_description": "You can't send this secret message because the other participant deleted their account."
},
{
"error_code": 400,
"error_message": "USER_IS_BLOCKED",
"error_description": "You were blocked by this user"
},
{
"error_code": 403,
"error_message": "USER_IS_BLOCKED",
"error_description": "You were blocked by this user"
}
],
"messages.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": "FILE_EMTPY",
"error_description": "An empty file was provided"
},
{
"error_code": 400,
"error_message": "MD5_CHECKSUM_INVALID",
"error_description": "The MD5 checksums do not match"
},
{
"error_code": 400,
"error_message": "MSG_WAIT_FAILED",
"error_description": "A waiting call returned an error"
}
],
"messages.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.sendVerifyEmailCode": [
{
"error_code": 400,
"error_message": "EMAIL_INVALID",
"error_description": "The specified email is invalid"
}
],
"account.verifyEmail": [
{
"error_code": 400,
"error_message": "EMAIL_INVALID",
"error_description": "The specified email is invalid"
},
{
"error_code": 400,
"error_message": "EMAIL_VERIFY_EXPIRED",
"error_description": "The verification email has expired"
}
],
"account.updatePasswordSettings": [
{
"error_code": 400,
"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": "INPUT_REQUEST_TOO_LONG",
"error_description": "The request is too big"
},
{
"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": 401,
"error_message": "SESSION_PASSWORD_NEEDED",
"error_description": "2FA is enabled, use a password to login"
},
{
"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"
}
],
"messages.setChatTheme": [
{
"error_code": 400,
"error_message": "EMOJI_INVALID",
"error_description": "The specified theme emoji is valid"
},
{
"error_code": 400,
"error_message": "EMOJI_NOT_MODIFIED",
"error_description": "The theme wasn't changed"
}
],
"messages.getStickers": [
{
"error_code": 400,
"error_message": "EMOTICON_EMPTY",
"error_description": "The emoji is empty"
}
],
"auth.bindTempAuthKey": [
{
"error_code": 400,
"error_message": "ENCRYPTED_MESSAGE_INVALID",
"error_description": "Encrypted message invalid"
},
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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"
}
],
"messages.updateDialogFilter": [
{
"error_code": 400,
"error_message": "FILTER_ID_INVALID",
"error_description": "The specified filter ID is invalid"
},
{
"error_code": 400,
"error_message": "FILTER_INCLUDE_EMPTY",
"error_description": "The include_peers vector of the filter is empty"
},
{
"error_code": 400,
"error_message": "FILTER_TITLE_EMPTY",
"error_description": "The title field of the filter is empty"
}
],
"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": 406,
"error_message": "PHONE_NUMBER_INVALID",
"error_description": "The phone number is invalid"
},
{
"error_code": 400,
"error_message": "PHONE_NUMBER_OCCUPIED",
"error_description": "The phone number is already in use"
}
],
"folders.deleteFolder": [
{
"error_code": 400,
"error_message": "FOLDER_ID_EMPTY",
"error_description": "An empty folder ID was specified"
}
],
"folders.editPeerFolders": [
{
"error_code": 400,
"error_message": "FOLDER_ID_INVALID",
"error_description": "Invalid folder ID"
}
],
"messages.getPinnedDialogs": [
{
"error_code": 400,
"error_message": "FOLDER_ID_INVALID",
"error_description": "Invalid folder ID"
}
],
"messages.searchGlobal": [
{
"error_code": 400,
"error_message": "FOLDER_ID_INVALID",
"error_description": "Invalid folder ID"
},
{
"error_code": 400,
"error_message": "SEARCH_QUERY_EMPTY",
"error_description": "The search query is empty"
}
],
"account.sendChangePhoneCode": [
{
"error_code": 406,
"error_message": "FRESH_CHANGE_PHONE_FORBIDDEN",
"error_description": "You can't change phone number right after logging in, please wait at least 24 hours."
},
{
"error_code": 400,
"error_message": "PHONE_NUMBER_BANNED",
"error_description": "The provided phone number is banned from telegram"
},
{
"error_code": 400,
"error_message": "PHONE_NUMBER_INVALID",
"error_description": "The phone number is invalid"
},
{
"error_code": 406,
"error_message": "PHONE_NUMBER_INVALID",
"error_description": "The phone number is invalid"
},
{
"error_code": 400,
"error_message": "PHONE_NUMBER_OCCUPIED",
"error_description": "The phone number is already in use"
}
],
"account.resetAuthorization": [
{
"error_code": 406,
"error_message": "FRESH_RESET_AUTHORISATION_FORBIDDEN",
"error_description": "You can't logout other sessions if less than 24 hours have passed since you logged on the current session"
},
{
"error_code": 400,
"error_message": "HASH_INVALID",
"error_description": "The provided hash is invalid"
},
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
}
],
"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_PRIVACY_REQUIRED",
"error_description": "You need to disable privacy settings for your profile picture in order to make your geolocation public."
},
{
"error_code": 400,
"error_message": "USERPIC_UPLOAD_REQUIRED",
"error_description": "You must have a profile picture to publish your geolocation"
},
{
"error_code": 406,
"error_message": "USERPIC_UPLOAD_REQUIRED",
"error_description": "You must have a profile picture to publish your geolocation"
}
],
"messages.saveGif": [
{
"error_code": 400,
"error_message": "GIF_ID_INVALID",
"error_description": "The provided GIF ID is invalid"
}
],
"stats.loadAsyncGraph": [
{
"error_code": 400,
"error_message": "GRAPH_EXPIRED_RELOAD",
"error_description": "This graph has expired, please obtain a new graph token"
},
{
"error_code": 400,
"error_message": "GRAPH_INVALID_RELOAD",
"error_description": "Invalid graph token provided, please reload the stats and provide the updated token"
},
{
"error_code": 400,
"error_message": "GRAPH_OUTDATED_RELOAD",
"error_description": "The graph is outdated, please get a new async token using stats.getBroadcastStats"
},
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
}
],
"phone.discardGroupCallRequest": [
{
"error_code": 400,
"error_message": "GROUPCALL_ALREADY_DISCARDED",
"error_description": "The group call was already discarded"
}
],
"phone.inviteToGroupCall": [
{
"error_code": 403,
"error_message": "GROUPCALL_FORBIDDEN",
"error_description": "The group call has already ended"
}
],
"phone.toggleGroupCallSettings": [
{
"error_code": 400,
"error_message": "GROUPCALL_NOT_MODIFIED",
"error_description": "Group call settings weren't modified"
}
],
"phone.joinGroupCall": [
{
"error_code": 400,
"error_message": "GROUPCALL_SSRC_DUPLICATE_MUCH",
"error_description": "The app needs to retry joining the group call with a new SSRC value."
}
],
"account.resetWebAuthorization": [
{
"error_code": 400,
"error_message": "HASH_INVALID",
"error_description": "The provided hash is invalid"
}
],
"account.sendConfirmPhoneCode": [
{
"error_code": 400,
"error_message": "HASH_INVALID",
"error_description": "The provided hash is invalid"
}
],
"messages.initHistoryImport": [
{
"error_code": 400,
"error_message": "IMPORT_FILE_INVALID",
"error_description": "The specified chat export file is invalid"
},
{
"error_code": 400,
"error_message": "IMPORT_FORMAT_UNRECOGNIZED",
"error_description": "The specified chat export file was exported from an unsupported chat app"
},
{
"error_code": 406,
"error_message": "PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_5MIN",
"error_description": "Import for this chat is already in progress, wait 5 minutes before starting a new one."
}
],
"messages.startHistoryImport": [
{
"error_code": 400,
"error_message": "IMPORT_ID_INVALID",
"error_description": "The specified import ID is invalid"
}
],
"invokeWithTakeout": [
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
}
],
"messages.getDhConfig": [
{
"error_code": 400,
"error_message": "INPUT_FETCH_FAIL",
"error_description": "Failed deserializing TL payload"
},
{
"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"
}
],
"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"
}
],
"req_pq_multi": [
{
"error_code": -500,
"error_message": "Invalid msgs_state_req query",
"error_description": "Invalid msgs_state_req query"
},
{
"error_code": 400,
"error_message": "UNKNOWN_ERROR",
"error_description": "Internal error"
}
],
"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"
}
],
"messages.receivedQueue": [
{
"error_code": 400,
"error_message": "MAX_QTS_INVALID",
"error_description": "The specified max_qts is invalid"
},
{
"error_code": 400,
"error_message": "MSG_WAIT_FAILED",
"error_description": "A waiting call returned an error"
}
],
"channels.editLocation": [
{
"error_code": 400,
"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"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"messages.setInlineGameScore": [
{
"error_code": 400,
"error_message": "MESSAGE_ID_INVALID",
"error_description": "The provided message id is invalid"
},
{
"error_code": 400,
"error_message": "USER_BOT_REQUIRED",
"error_description": "This method can only be called by a bot"
}
],
"payments.getPaymentForm": [
{
"error_code": 400,
"error_message": "MESSAGE_ID_INVALID",
"error_description": "The provided message id is invalid"
}
],
"payments.getPaymentReceipt": [
{
"error_code": 400,
"error_message": "MESSAGE_ID_INVALID",
"error_description": "The provided message id is invalid"
}
],
"payments.sendPaymentForm": [
{
"error_code": 400,
"error_message": "MESSAGE_ID_INVALID",
"error_description": "The provided message id is invalid"
}
],
"payments.validateRequestedInfo": [
{
"error_code": 400,
"error_message": "MESSAGE_ID_INVALID",
"error_description": "The provided message id is invalid"
}
],
"messages.setBotCallbackAnswer": [
{
"error_code": 400,
"error_message": "MESSAGE_TOO_LONG",
"error_description": "The provided message is too long"
},
{
"error_code": 400,
"error_message": "QUERY_ID_INVALID",
"error_description": "The query ID is invalid"
},
{
"error_code": 400,
"error_message": "URL_INVALID",
"error_description": "Invalid URL provided"
}
],
"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"
},
{
"error_code": 403,
"error_message": "USER_BOT_INVALID",
"error_description": "This method can only be called by a bot"
}
],
"messages.searchGifs": [
{
"error_code": 400,
"error_message": "METHOD_INVALID",
"error_description": "The specified method is invalid"
},
{
"error_code": 400,
"error_message": "SEARCH_QUERY_EMPTY",
"error_description": "The search query is empty"
}
],
"messages.getCommonChats": [
{
"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.getDiscussionMessage": [
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"messages.getReplies": [
{
"error_code": 400,
"error_message": "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.saveDraft": [
{
"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"
}
],
"account.getPrivacy": [
{
"error_code": -500,
"error_message": "No workers running",
"error_description": "Internal error"
},
{
"error_code": 400,
"error_message": "PRIVACY_KEY_INVALID",
"error_description": "The privacy key is invalid"
},
{
"error_code": 401,
"error_message": "SESSION_PASSWORD_NEEDED",
"error_description": "2FA is enabled, use a password to login"
}
],
"phone.joinGroupCallPresentation": [
{
"error_code": 403,
"error_message": "PARTICIPANT_JOIN_MISSING",
"error_description": "Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](\/method\/phone.joinGroupCall)"
}
],
"channels.convertToGigagroup": [
{
"error_code": 400,
"error_message": "PARTICIPANTS_TOO_FEW",
"error_description": "Not enough participants"
}
],
"auth.requestPasswordRecovery": [
{
"error_code": 400,
"error_message": "PASSWORD_EMPTY",
"error_description": "The provided password is empty"
},
{
"error_code": 400,
"error_message": "PASSWORD_RECOVERY_NA",
"error_description": "No email was set, can't recover password via email."
}
],
"account.getPasswordSettings": [
{
"error_code": 400,
"error_message": "PASSWORD_HASH_INVALID",
"error_description": "The provided password hash is invalid"
}
],
"account.getTmpPassword": [
{
"error_code": 400,
"error_message": "PASSWORD_HASH_INVALID",
"error_description": "The provided password hash is invalid"
},
{
"error_code": 400,
"error_message": "TMP_PASSWORD_DISABLED",
"error_description": "The temporary password is disabled"
}
],
"auth.checkPassword": [
{
"error_code": 400,
"error_message": "PASSWORD_HASH_INVALID",
"error_description": "The provided password hash is invalid"
},
{
"error_code": 400,
"error_message": "SRP_ID_INVALID",
"error_description": "Invalid SRP ID provided"
},
{
"error_code": 400,
"error_message": "SRP_PASSWORD_CHANGED",
"error_description": "Password has changed"
},
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
}
],
"auth.checkRecoveryPassword": [
{
"error_code": 400,
"error_message": "PASSWORD_RECOVERY_EXPIRED",
"error_description": "The recovery code has expired"
}
],
"account.saveSecureValue": [
{
"error_code": 400,
"error_message": "PASSWORD_REQUIRED",
"error_description": "A [2FA password](https:\/\/core.telegram.org\/api\/srp) must be configured to use Telegram Passport"
}
],
"account.getNotifySettings": [
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"contacts.resetTopPeerRating": [
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"messages.deleteChat": [
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"messages.editExportedChatInvite": [
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"messages.getSearchCounters": [
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"messages.getStatsURL": [
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"messages.hideReportSpam": [
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
}
],
"messages.readDiscussion": [
{
"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.sendScreenshotNotification": [
{
"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"
}
],
"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"
},
{
"error_code": 406,
"error_message": "PHONE_NUMBER_INVALID",
"error_description": "The phone number is invalid"
},
{
"error_code": 400,
"error_message": "PHONE_NUMBER_OCCUPIED",
"error_description": "The phone number is already in use"
}
],
"account.verifyPhone": [
{
"error_code": 400,
"error_message": "PHONE_CODE_EMPTY",
"error_description": "phone_code is missing"
},
{
"error_code": 400,
"error_message": "PHONE_CODE_EXPIRED",
"error_description": "The phone code you provided has expired, 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.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": 406,
"error_message": "PHONE_NUMBER_INVALID",
"error_description": "The phone number is invalid"
},
{
"error_code": 400,
"error_message": "PHONE_NUMBER_UNOCCUPIED",
"error_description": "The phone number is not yet being used"
},
{
"error_code": 401,
"error_message": "SESSION_PASSWORD_NEEDED",
"error_description": "2FA is enabled, use a password to login"
}
],
"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"
},
{
"error_code": 406,
"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"
},
{
"error_code": 406,
"error_message": "PHONE_NUMBER_INVALID",
"error_description": "The phone number is invalid"
},
{
"error_code": 406,
"error_message": "SEND_CODE_UNAVAILABLE",
"error_description": "Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend)"
}
],
"account.sendVerifyPhoneCode": [
{
"error_code": 400,
"error_message": "PHONE_NUMBER_INVALID",
"error_description": "The phone number is invalid"
}
],
"account.setPrivacy": [
{
"error_code": 400,
"error_message": "PRIVACY_KEY_INVALID",
"error_description": "The privacy key is invalid"
},
{
"error_code": 400,
"error_message": "PRIVACY_TOO_LONG",
"error_description": "Too many privacy rules were specified, the current limit is 1000"
},
{
"error_code": 400,
"error_message": "PRIVACY_VALUE_INVALID",
"error_description": "The specified privacy rule combination is invalid"
},
{
"error_code": 401,
"error_message": "SESSION_PASSWORD_NEEDED",
"error_description": "2FA is enabled, use a password to login"
}
],
"account.getAuthorizationForm": [
{
"error_code": 400,
"error_message": "PUBLIC_KEY_REQUIRED",
"error_description": "A public key is required"
}
],
"bots.answerWebhookJSONQuery": [
{
"error_code": 400,
"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"
},
{
"error_code": 403,
"error_message": "USER_BOT_INVALID",
"error_description": "This method can only be called by a bot"
}
],
"messages.setBotShippingResults": [
{
"error_code": 400,
"error_message": "QUERY_ID_INVALID",
"error_description": "The query ID is invalid"
}
],
"account.declinePasswordReset": [
{
"error_code": 400,
"error_message": "RESET_REQUEST_MISSING",
"error_description": "No password reset is in progress"
}
],
"upload.reuploadCdnFile": [
{
"error_code": 400,
"error_message": "RSA_DECRYPT_FAILED",
"error_description": "Internal RSA decryption failed"
}
],
"account.setContentSettings": [
{
"error_code": 403,
"error_message": "SENSITIVE_CHANGE_FORBIDDEN",
"error_description": "You can't change your sensitive content settings."
}
],
"channels.getGroupsForDiscussion": [
{
"error_code": 401,
"error_message": "SESSION_PASSWORD_NEEDED",
"error_description": "2FA is enabled, use a password to login"
}
],
"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"
}
],
"stickers.checkShortName": [
{
"error_code": 400,
"error_message": "SHORT_NAME_INVALID",
"error_description": "The specified short name is invalid"
},
{
"error_code": 400,
"error_message": "SHORT_NAME_OCCUPIED",
"error_description": "The specified short name is already in use"
}
],
"messages.faveSticker": [
{
"error_code": 400,
"error_message": "STICKER_ID_INVALID",
"error_description": "The provided sticker ID is invalid"
}
],
"messages.saveRecentSticker": [
{
"error_code": 400,
"error_message": "STICKER_ID_INVALID",
"error_description": "The provided sticker ID is invalid"
}
],
"stickers.setStickerSetThumb": [
{
"error_code": 400,
"error_message": "STICKER_THUMB_PNG_NOPNG",
"error_description": "Incorrect stickerset thumb file provided, PNG \/ WEBP expected."
},
{
"error_code": 400,
"error_message": "STICKER_THUMB_TGS_NOTGS",
"error_description": "Incorrect stickerset TGS thumb file provided."
},
{
"error_code": 400,
"error_message": "STICKERSET_INVALID",
"error_description": "The provided sticker set is invalid"
}
],
"messages.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"
}
],
"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": 400,
"error_message": "TAKEOUT_REQUIRED",
"error_description": "A takeout session has to be initialized, first"
},
{
"error_code": 403,
"error_message": "TAKEOUT_REQUIRED",
"error_description": "A takeout session has to be initialized, first"
}
],
"account.uploadTheme": [
{
"error_code": 400,
"error_message": "THEME_FILE_INVALID",
"error_description": "Invalid theme file provided"
}
],
"account.getTheme": [
{
"error_code": 400,
"error_message": "THEME_FORMAT_INVALID",
"error_description": "Invalid theme format provided"
},
{
"error_code": 400,
"error_message": "THEME_INVALID",
"error_description": "Invalid theme provided"
}
],
"account.updateTheme": [
{
"error_code": 400,
"error_message": "THEME_INVALID",
"error_description": "Invalid theme provided"
}
],
"account.createTheme": [
{
"error_code": 400,
"error_message": "THEME_MIME_INVALID",
"error_description": "The theme's MIME type is invalid"
}
],
"contacts.deleteContacts": [
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
}
],
"stickers.suggestShortName": [
{
"error_code": 400,
"error_message": "TITLE_INVALID",
"error_description": "The specified stickerpack title is invalid"
}
],
"account.registerDevice": [
{
"error_code": 400,
"error_message": "TOKEN_INVALID",
"error_description": "The provided token is invalid"
},
{
"error_code": 400,
"error_message": "WEBPUSH_AUTH_INVALID",
"error_description": "The specified web push authentication secret is invalid."
},
{
"error_code": 400,
"error_message": "WEBPUSH_KEY_INVALID",
"error_description": "The specified web push elliptic curve Diffie-Hellman public key is invalid."
},
{
"error_code": 400,
"error_message": "WEBPUSH_TOKEN_INVALID",
"error_description": "The specified web push token is invalid."
}
],
"account.unregisterDevice": [
{
"error_code": 400,
"error_message": "TOKEN_INVALID",
"error_description": "The provided token is invalid"
}
],
"account.setAccountTTL": [
{
"error_code": 400,
"error_message": "TTL_DAYS_INVALID",
"error_description": "The provided TTL is invalid"
}
],
"contacts.getTopPeers": [
{
"error_code": 400,
"error_message": "TYPES_EMPTY",
"error_description": "No top peer type was provided"
}
],
"channels.viewSponsoredMessage": [
{
"error_code": 400,
"error_message": "UNKNOWN_ERROR",
"error_description": "Internal error"
}
],
"req_DH_params": [
{
"error_code": 400,
"error_message": "UNKNOWN_ERROR",
"error_description": "Internal error"
}
],
"set_client_DH_params": [
{
"error_code": 400,
"error_message": "UNKNOWN_ERROR",
"error_description": "Internal error"
}
],
"users.setSecureValueErrors": [
{
"error_code": 400,
"error_message": "USER_ID_INVALID",
"error_description": "The provided user ID is invalid"
}
],
"help.editUserInfo": [
{
"error_code": 400,
"error_message": "USER_INVALID",
"error_description": "Invalid user provided"
}
],
"help.getSupportName": [
{
"error_code": 400,
"error_message": "USER_INVALID",
"error_description": "Invalid user provided"
},
{
"error_code": 403,
"error_message": "USER_INVALID",
"error_description": "Invalid user provided"
}
],
"help.getUserInfo": [
{
"error_code": 400,
"error_message": "USER_INVALID",
"error_description": "Invalid user provided"
},
{
"error_code": 403,
"error_message": "USER_INVALID",
"error_description": "Invalid user provided"
}
],
"messages.checkHistoryImportPeer": [
{
"error_code": 400,
"error_message": "USER_NOT_MUTUAL_CONTACT",
"error_description": "The provided user is not a mutual contact"
}
],
"phone.editGroupCallParticipant": [
{
"error_code": 400,
"error_message": "USER_VOLUME_INVALID",
"error_description": "The specified user volume is invalid"
}
],
"account.uploadWallPaper": [
{
"error_code": 400,
"error_message": "WALLPAPER_FILE_INVALID",
"error_description": "The specified wallpaper file is invalid"
},
{
"error_code": 400,
"error_message": "WALLPAPER_MIME_INVALID",
"error_description": "The specified wallpaper MIME type is invalid"
}
],
"account.getWallPaper": [
{
"error_code": 400,
"error_message": "WALLPAPER_INVALID",
"error_description": "The specified wallpaper is invalid"
}
],
"account.installWallPaper": [
{
"error_code": 400,
"error_message": "WALLPAPER_INVALID",
"error_description": "The specified wallpaper is invalid"
}
],
"account.saveWallPaper": [
{
"error_code": 400,
"error_message": "WALLPAPER_INVALID",
"error_description": "The specified wallpaper is invalid"
}
],
"messages.getWebPage": [
{
"error_code": 400,
"error_message": "WC_CONVERT_URL_INVALID",
"error_description": "WC convert URL invalid"
}
]
}
}