Add some errors to known errors

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
KurimuzonAkuma 2024-04-02 01:22:07 +03:00 committed by wulan17
parent 2714ddd6c0
commit 8f81e467d9
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5
4 changed files with 93 additions and 2 deletions

View file

@ -3,17 +3,22 @@ ABOUT_TOO_LONG The provided about/bio text is too long
ACCESS_TOKEN_EXPIRED The bot token has expired ACCESS_TOKEN_EXPIRED The bot token has expired
ACCESS_TOKEN_INVALID The bot access token is invalid ACCESS_TOKEN_INVALID The bot access token is invalid
ADMINS_TOO_MUCH The chat has too many administrators ADMINS_TOO_MUCH The chat has too many administrators
ADMIN_ID_INVALID The specified admin ID is invalid
ADMIN_RANK_EMOJI_NOT_ALLOWED Emoji are not allowed in custom administrator titles ADMIN_RANK_EMOJI_NOT_ALLOWED Emoji are not allowed in custom administrator titles
ADMIN_RANK_INVALID The custom administrator title is invalid or too long ADMIN_RANK_INVALID The custom administrator title is invalid or too long
ALBUM_PHOTOS_TOO_MANY Too many photos were included in the album ALBUM_PHOTOS_TOO_MANY Too many photos were included in the album
API_ID_INVALID The api_id/api_hash combination is invalid API_ID_INVALID The api_id/api_hash combination is invalid
API_ID_PUBLISHED_FLOOD You are using an API key that is limited on the server side because it was published somewhere API_ID_PUBLISHED_FLOOD You are using an API key that is limited on the server side because it was published somewhere
ARTICLE_TITLE_EMPTY The article title is empty ARTICLE_TITLE_EMPTY The article title is empty
AUDIO_CONTENT_URL_EMPTY The remote URL specified in the content field is empty
AUDIO_TITLE_EMPTY The title attribute of the audio is empty AUDIO_TITLE_EMPTY The title attribute of the audio is empty
AUTH_BYTES_INVALID The authorization bytes are invalid AUTH_BYTES_INVALID The authorization bytes are invalid
AUTH_TOKEN_ALREADY_ACCEPTED The authorization token was already used AUTH_TOKEN_ALREADY_ACCEPTED The authorization token was already used
AUTH_TOKEN_EXCEPTION An error occurred while importing the auth token
AUTH_TOKEN_EXPIRED The provided authorization token has expired and the updated QR-code must be re-scanned AUTH_TOKEN_EXPIRED The provided authorization token has expired and the updated QR-code must be re-scanned
AUTH_TOKEN_INVALID An invalid authorization token was provided AUTH_TOKEN_INVALID An invalid authorization token was provided
AUTH_TOKEN_INVALID2 An invalid authorization token was provided
AUTH_TOKEN_INVALIDX The specified auth token is invalid
AUTOARCHIVE_NOT_AVAILABLE This feature is not yet enabled for your account due to it not receiving too many private messages from strangers AUTOARCHIVE_NOT_AVAILABLE This feature is not yet enabled for your account due to it not receiving too many private messages from strangers
BANK_CARD_NUMBER_INVALID The credit card number is invalid BANK_CARD_NUMBER_INVALID The credit card number is invalid
BANNED_RIGHTS_INVALID You provided a set of restrictions that is invalid BANNED_RIGHTS_INVALID You provided a set of restrictions that is invalid
@ -21,6 +26,7 @@ BASE_PORT_LOC_INVALID The base port location is invalid
BOTS_TOO_MUCH The chat has too many bots BOTS_TOO_MUCH The chat has too many bots
BOT_CHANNELS_NA Bots can't edit admin privileges BOT_CHANNELS_NA Bots can't edit admin privileges
BOT_COMMAND_DESCRIPTION_INVALID The command description was empty, too long or had invalid characters BOT_COMMAND_DESCRIPTION_INVALID The command description was empty, too long or had invalid characters
BOT_COMMAND_INVALID The specified command is invalid
BOT_DOMAIN_INVALID The domain used for the auth button does not match the one configured in @BotFather BOT_DOMAIN_INVALID The domain used for the auth button does not match the one configured in @BotFather
BOT_GAMES_DISABLED Bot games cannot be used in this type of chat BOT_GAMES_DISABLED Bot games cannot be used in this type of chat
BOT_GROUPS_BLOCKED This bot can't be added to groups BOT_GROUPS_BLOCKED This bot can't be added to groups
@ -33,10 +39,12 @@ BOT_PAYMENTS_DISABLED This method can only be run by a bot
BOT_POLLS_DISABLED Sending polls by bots has been disabled BOT_POLLS_DISABLED Sending polls by bots has been disabled
BOT_RESPONSE_TIMEOUT The bot did not answer to the callback query in time BOT_RESPONSE_TIMEOUT The bot did not answer to the callback query in time
BOT_SCORE_NOT_MODIFIED The bot score was not modified BOT_SCORE_NOT_MODIFIED The bot score was not modified
BROADCAST_CALLS_DISABLED Broadcast calls disabled
BROADCAST_ID_INVALID The channel is invalid BROADCAST_ID_INVALID The channel is invalid
BROADCAST_PUBLIC_VOTERS_FORBIDDEN Polls with public voters cannot be sent in channels BROADCAST_PUBLIC_VOTERS_FORBIDDEN Polls with public voters cannot be sent in channels
BROADCAST_REQUIRED The request can only be used with a channel BROADCAST_REQUIRED The request can only be used with a channel
BUTTON_DATA_INVALID The button callback data is invalid or too large BUTTON_DATA_INVALID The button callback data is invalid or too large
BUTTON_TEXT_INVALID The specified button text is invalid
BUTTON_TYPE_INVALID The type of one of the buttons you provided is invalid BUTTON_TYPE_INVALID The type of one of the buttons you provided is invalid
BUTTON_URL_INVALID The button url is invalid BUTTON_URL_INVALID The button url is invalid
BUTTON_USER_PRIVACY_RESTRICTED The privacy settings of the user specified in a keyboard button do not allow creating such button BUTTON_USER_PRIVACY_RESTRICTED The privacy settings of the user specified in a keyboard button do not allow creating such button
@ -45,12 +53,15 @@ CALL_ALREADY_DECLINED The call is already declined
CALL_PEER_INVALID The provided call peer object is invalid CALL_PEER_INVALID The provided call peer object is invalid
CALL_PROTOCOL_FLAGS_INVALID Call protocol flags invalid CALL_PROTOCOL_FLAGS_INVALID Call protocol flags invalid
CDN_METHOD_INVALID The method can't be used on CDN DCs CDN_METHOD_INVALID The method can't be used on CDN DCs
CHANNELS_ADMIN_LOCATED_TOO_MUCH The user has reached the limit of public geogroups
CHANNELS_ADMIN_PUBLIC_TOO_MUCH You are an administrator of too many public channels CHANNELS_ADMIN_PUBLIC_TOO_MUCH You are an administrator of too many public channels
CHANNELS_TOO_MUCH You have joined too many channels or supergroups, leave some and try again CHANNELS_TOO_MUCH You have joined too many channels or supergroups, leave some and try again
CHANNEL_ADD_INVALID Internal error. CHANNEL_ADD_INVALID Internal error.
CHANNEL_BANNED The channel is banned CHANNEL_BANNED The channel is banned
CHANNEL_INVALID The channel parameter is invalid CHANNEL_INVALID The channel parameter is invalid
CHANNEL_PARICIPANT_MISSING The current user is not in the channel
CHANNEL_PRIVATE The channel/supergroup is not accessible CHANNEL_PRIVATE The channel/supergroup is not accessible
CHANNEL_TOO_BIG The channel too big
CHANNEL_TOO_LARGE The channel is too large CHANNEL_TOO_LARGE The channel is too large
CHAT_ABOUT_NOT_MODIFIED The chat about text was not modified because you tried to edit it using the same content CHAT_ABOUT_NOT_MODIFIED The chat about text was not modified because you tried to edit it using the same content
CHAT_ABOUT_TOO_LONG The chat about text is too long CHAT_ABOUT_TOO_LONG The chat about text is too long
@ -64,6 +75,7 @@ CHAT_INVITE_PERMANENT The chat invite link is primary
CHAT_LINK_EXISTS The action failed because the supergroup is linked to a channel CHAT_LINK_EXISTS The action failed because the supergroup is linked to a channel
CHAT_NOT_MODIFIED The chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content CHAT_NOT_MODIFIED The chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content
CHAT_RESTRICTED The chat is restricted and cannot be used CHAT_RESTRICTED The chat is restricted and cannot be used
CHAT_REVOKE_DATE_UNSUPPORTED `min_date` and `max_date` are not available for using with non-user peers
CHAT_SEND_INLINE_FORBIDDEN You cannot use inline bots to send messages in this chat CHAT_SEND_INLINE_FORBIDDEN You cannot use inline bots to send messages in this chat
CHAT_TITLE_EMPTY The chat title is empty CHAT_TITLE_EMPTY The chat title is empty
CHAT_TOO_BIG The chat is too big for this action CHAT_TOO_BIG The chat is too big for this action
@ -83,6 +95,8 @@ CONTACT_ADD_MISSING Contact to add is missing
CONTACT_ID_INVALID The provided contact id is invalid CONTACT_ID_INVALID The provided contact id is invalid
CONTACT_NAME_EMPTY The provided contact name is empty CONTACT_NAME_EMPTY The provided contact name is empty
CONTACT_REQ_MISSING Missing contact request CONTACT_REQ_MISSING Missing contact request
CREATE_CALL_FAILED An error occurred while creating the call
CURRENCY_TOTAL_AMOUNT_INVALID The total amount of all prices is invalid
DATA_INVALID The encrypted data is invalid DATA_INVALID The encrypted data is invalid
DATA_JSON_INVALID The provided JSON data is invalid DATA_JSON_INVALID The provided JSON data is invalid
DATA_TOO_LONG Data too long DATA_TOO_LONG Data too long
@ -95,6 +109,8 @@ EMAIL_INVALID The email provided is invalid
EMAIL_UNCONFIRMED Email unconfirmed EMAIL_UNCONFIRMED Email unconfirmed
EMAIL_UNCONFIRMED_X The provided email isn't confirmed, {value} is the length of the verification code that was just sent to the email EMAIL_UNCONFIRMED_X The provided email isn't confirmed, {value} is the length of the verification code that was just sent to the email
EMAIL_VERIFY_EXPIRED The verification email has expired EMAIL_VERIFY_EXPIRED The verification email has expired
EMOJI_INVALID The specified theme emoji is valid
EMOJI_NOT_MODIFIED The theme wasn't changed
EMOTICON_EMPTY The emoticon parameter is empty EMOTICON_EMPTY The emoticon parameter is empty
EMOTICON_INVALID The emoticon parameter is invalid EMOTICON_INVALID The emoticon parameter is invalid
EMOTICON_STICKERPACK_MISSING The emoticon sticker pack you are trying to obtain is missing EMOTICON_STICKERPACK_MISSING The emoticon sticker pack you are trying to obtain is missing
@ -108,13 +124,17 @@ ENTITY_BOUNDS_INVALID The message entity bounds are invalid
ENTITY_MENTION_USER_INVALID The mentioned entity is not an user ENTITY_MENTION_USER_INVALID The mentioned entity is not an user
ERROR_TEXT_EMPTY The provided error message is empty ERROR_TEXT_EMPTY The provided error message is empty
EXPIRE_DATE_INVALID The expiration date is invalid EXPIRE_DATE_INVALID The expiration date is invalid
EXPIRE_FORBIDDEN Expire forbidden
EXPORT_CARD_INVALID The provided card is invalid EXPORT_CARD_INVALID The provided card is invalid
EXTERNAL_URL_INVALID The external media URL is invalid EXTERNAL_URL_INVALID The external media URL is invalid
FIELD_NAME_EMPTY The field with the name FIELD_NAME is missing FIELD_NAME_EMPTY The field with the name FIELD_NAME is missing
FIELD_NAME_INVALID The field with the name FIELD_NAME is invalid FIELD_NAME_INVALID The field with the name FIELD_NAME is invalid
FILE_CONTENT_TYPE_INVALID File content-type is invalid
FILE_EMTPY An empty file was provided
FILE_ID_INVALID The file id is invalid FILE_ID_INVALID The file id is invalid
FILE_MIGRATE_X The file is in Data Center No. {value} FILE_MIGRATE_X The file is in Data Center No. {value}
FILE_PARTS_INVALID Invalid number of parts. FILE_PARTS_INVALID Invalid number of parts.
FILE_PART_0_MISSING File part 0 missing
FILE_PART_EMPTY The file part sent is empty FILE_PART_EMPTY The file part sent is empty
FILE_PART_INVALID The file part number is invalid. FILE_PART_INVALID The file part number is invalid.
FILE_PART_LENGTH_INVALID The length of a file part is invalid FILE_PART_LENGTH_INVALID The length of a file part is invalid
@ -125,8 +145,11 @@ FILE_PART_X_MISSING Part {value} of the file is missing from storage
FILE_REFERENCE_EMPTY The file id contains an empty file reference, you must obtain a valid one by fetching the message from the origin context FILE_REFERENCE_EMPTY The file id contains an empty file reference, you must obtain a valid one by fetching the message from the origin context
FILE_REFERENCE_EXPIRED The file id contains an expired file reference, you must obtain a valid one by fetching the message from the origin context FILE_REFERENCE_EXPIRED The file id contains an expired file reference, you must obtain a valid one by fetching the message from the origin context
FILE_REFERENCE_INVALID The file id contains an invalid file reference, you must obtain a valid one by fetching the message from the origin context FILE_REFERENCE_INVALID The file id contains an invalid file reference, you must obtain a valid one by fetching the message from the origin context
FILE_TITLE_EMPTY An empty file title was specified
FILTER_ID_INVALID The specified filter ID is invalid FILTER_ID_INVALID The specified filter ID is invalid
FILTER_INCLUDE_EMPTY The filter include is empty FILTER_INCLUDE_EMPTY The filter include is empty
FILTER_NOT_SUPPORTED The specified filter cannot be used in this context
FILTER_TITLE_EMPTY The title field of the filter is empty
FIRSTNAME_INVALID The first name is invalid FIRSTNAME_INVALID The first name is invalid
FOLDER_ID_EMPTY The folder you tried to delete was already empty FOLDER_ID_EMPTY The folder you tried to delete was already empty
FOLDER_ID_INVALID The folder id is invalid FOLDER_ID_INVALID The folder id is invalid
@ -138,12 +161,18 @@ GEO_POINT_INVALID Invalid geo point provided
GIF_CONTENT_TYPE_INVALID GIF content-type invalid GIF_CONTENT_TYPE_INVALID GIF content-type invalid
GIF_ID_INVALID The provided gif/animation id is invalid GIF_ID_INVALID The provided gif/animation id is invalid
GIFT_SLUG_EXPIRED The gift slug is expired GIFT_SLUG_EXPIRED The gift slug is expired
GRAPH_INVALID_RELOAD Invalid graph token provided, GRAPH_EXPIRED_RELOAD This graph has expired, please obtain a new graph token
GRAPH_INVALID_RELOAD Invalid graph token provided, please reload the stats and provide the updated token
GRAPH_OUTDATED_RELOAD The graph data is outdated GRAPH_OUTDATED_RELOAD The graph data is outdated
GROUPCALL_ALREADY_DISCARDED The group call was already discarded
GROUPCALL_INVALID The specified group call is invalid
GROUPCALL_JOIN_MISSING You haven't joined this group call
GROUPCALL_NOT_MODIFIED Group call settings weren't modified
GROUPCALL_SSRC_DUPLICATE_MUCH Too many group call synchronization source duplicates GROUPCALL_SSRC_DUPLICATE_MUCH Too many group call synchronization source duplicates
GROUPED_MEDIA_INVALID The album contains invalid media GROUPED_MEDIA_INVALID The album contains invalid media
GROUP_CALL_INVALID The group call is invalid GROUP_CALL_INVALID The group call is invalid
HASH_INVALID The provided hash is invalid HASH_INVALID The provided hash is invalid
HIDE_REQUESTER_MISSING The join request was missing or was already handled
IMAGE_PROCESS_FAILED The server failed to process your image IMAGE_PROCESS_FAILED The server failed to process your image
IMPORT_FILE_INVALID The imported file is invalid IMPORT_FILE_INVALID The imported file is invalid
IMPORT_FORMAT_UNRECOGNIZED The imported format is unrecognized IMPORT_FORMAT_UNRECOGNIZED The imported format is unrecognized
@ -156,23 +185,33 @@ INPUT_FILTER_INVALID The filter is invalid for this query
INPUT_LAYER_INVALID The provided layer is invalid INPUT_LAYER_INVALID The provided layer is invalid
INPUT_METHOD_INVALID The method invoked is invalid in the current schema INPUT_METHOD_INVALID The method invoked is invalid in the current schema
INPUT_REQUEST_TOO_LONG The input request is too long INPUT_REQUEST_TOO_LONG The input request is too long
INPUT_TEXT_EMPTY The specified text is empty
INPUT_USER_DEACTIVATED The target user has been deleted/deactivated INPUT_USER_DEACTIVATED The target user has been deleted/deactivated
INVITE_FORBIDDEN_WITH_JOINAS If the user has anonymously joined a group call as a channel, they can't invite other users to the group call because that would cause deanonymization, because the invite would be sent using the original user ID, not the anonymized channel ID
INVITE_HASH_EMPTY The invite hash is empty INVITE_HASH_EMPTY The invite hash is empty
INVITE_HASH_EXPIRED The chat invite link is no longer valid INVITE_HASH_EXPIRED The chat invite link is no longer valid
INVITE_HASH_INVALID The invite link hash is invalid INVITE_HASH_INVALID The invite link hash is invalid
INVITE_REQUEST_SENT The request to join this chat or channel has been successfully sent INVITE_REQUEST_SENT The request to join this chat or channel has been successfully sent
INVITE_REVOKED_MISSING The action required a chat invite link to be revoked first INVITE_REVOKED_MISSING The action required a chat invite link to be revoked first
INVITE_SLUG_EMPTY The invite slug is empty
INVITE_SLUG_EXPIRED The invite slug is expired
INVOICE_PAYLOAD_INVALID The specified invoice payload is invalid
JOIN_AS_PEER_INVALID The specified peer cannot be used to join a group call
LANG_CODE_INVALID The specified language code is invalid
LANG_CODE_NOT_SUPPORTED The specified language code is not supported
LANG_PACK_INVALID The provided language pack is invalid LANG_PACK_INVALID The provided language pack is invalid
LASTNAME_INVALID The last name is invalid LASTNAME_INVALID The last name is invalid
LIMIT_INVALID The limit parameter is invalid LIMIT_INVALID The limit parameter is invalid
LINK_NOT_MODIFIED The chat link was not modified because you tried to link to the same target LINK_NOT_MODIFIED The chat link was not modified because you tried to link to the same target
LOCATION_INVALID The file location is invalid LOCATION_INVALID The file location is invalid
MAX_DATE_INVALID The specified maximum date is invalid
MAX_ID_INVALID The max_id parameter is invalid MAX_ID_INVALID The max_id parameter is invalid
MAX_QTS_INVALID The provided QTS is invalid MAX_QTS_INVALID The provided QTS is invalid
MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
MEDIA_CAPTION_TOO_LONG The media caption is too long MEDIA_CAPTION_TOO_LONG The media caption is too long
MEDIA_EMPTY The media you tried to send is invalid MEDIA_EMPTY The media you tried to send is invalid
MEDIA_FILE_INVALID The media file is invalid MEDIA_FILE_INVALID The provided media file is invalid
MEDIA_GROUPED_INVALID You tried to send media of different types in an album
MEDIA_INVALID The media is invalid MEDIA_INVALID The media is invalid
MEDIA_NEW_INVALID The new media to edit the message with is invalid MEDIA_NEW_INVALID The new media to edit the message with is invalid
MEDIA_PREV_INVALID The previous media cannot be edited with anything else MEDIA_PREV_INVALID The previous media cannot be edited with anything else
@ -189,11 +228,14 @@ MESSAGE_NOT_MODIFIED The message was not modified because you tried to edit it u
MESSAGE_POLL_CLOSED You can't interact with a closed poll MESSAGE_POLL_CLOSED You can't interact with a closed poll
MESSAGE_TOO_LONG The message text is too long MESSAGE_TOO_LONG The message text is too long
METHOD_INVALID The API method is invalid and cannot be used METHOD_INVALID The API method is invalid and cannot be used
MIN_DATE_INVALID The specified minimum date is invalid
MSG_ID_INVALID The message ID used in the peer was invalid MSG_ID_INVALID The message ID used in the peer was invalid
MSG_TOO_OLD chat_read_mark_expire_period have passed since the message was sent, read receipts were deleted
MSG_VOICE_MISSING The message does not contain a voice message MSG_VOICE_MISSING The message does not contain a voice message
MSG_WAIT_FAILED A waiting call returned an error MSG_WAIT_FAILED A waiting call returned an error
MULTI_MEDIA_TOO_LONG The album/media group contains too many items MULTI_MEDIA_TOO_LONG The album/media group contains too many items
NEW_SALT_INVALID The new salt is invalid NEW_SALT_INVALID The new salt is invalid
NEW_SETTINGS_EMPTY No password is set on the current account, and no new password was specified in `new_settings`
NEW_SETTINGS_INVALID The new settings are invalid NEW_SETTINGS_INVALID The new settings are invalid
NEXT_OFFSET_INVALID The next offset value is invalid NEXT_OFFSET_INVALID The next offset value is invalid
OFFSET_INVALID The offset parameter is invalid OFFSET_INVALID The offset parameter is invalid
@ -204,6 +246,8 @@ PACK_SHORT_NAME_INVALID Invalid sticker pack name. It must begin with a letter,
PACK_SHORT_NAME_OCCUPIED A sticker pack with this name already exists PACK_SHORT_NAME_OCCUPIED A sticker pack with this name already exists
PACK_TITLE_INVALID The sticker pack title is invalid PACK_TITLE_INVALID The sticker pack title is invalid
PARTICIPANTS_TOO_FEW The chat doesn't have enough participants PARTICIPANTS_TOO_FEW The chat doesn't have enough participants
PARTICIPANT_ID_INVALID The specified participant ID is invalid
PARTICIPANT_JOIN_MISSING Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall
PARTICIPANT_VERSION_OUTDATED The other participant is using an outdated Telegram app version PARTICIPANT_VERSION_OUTDATED The other participant is using an outdated Telegram app version
PASSWORD_EMPTY The password provided is empty PASSWORD_EMPTY The password provided is empty
PASSWORD_HASH_INVALID The two-step verification password is invalid PASSWORD_HASH_INVALID The two-step verification password is invalid
@ -213,6 +257,7 @@ PASSWORD_REQUIRED The two-step verification password is required for this method
PASSWORD_TOO_FRESH_X The two-step verification password was added recently and you are required to wait {value} seconds PASSWORD_TOO_FRESH_X The two-step verification password was added recently and you are required to wait {value} seconds
PAYMENT_PROVIDER_INVALID The payment provider was not recognised or its token was invalid PAYMENT_PROVIDER_INVALID The payment provider was not recognised or its token was invalid
PEER_FLOOD The method can't be used because your account is currently limited PEER_FLOOD The method can't be used because your account is currently limited
PEER_HISTORY_EMPTY Peer history empty
PEER_ID_INVALID The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it PEER_ID_INVALID The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it
PEER_ID_NOT_SUPPORTED The provided peer id is not supported PEER_ID_NOT_SUPPORTED The provided peer id is not supported
PERSISTENT_TIMESTAMP_EMPTY The pts argument is empty PERSISTENT_TIMESTAMP_EMPTY The pts argument is empty
@ -221,6 +266,8 @@ PHONE_CODE_EMPTY The phone code is missing
PHONE_CODE_EXPIRED The confirmation code has expired PHONE_CODE_EXPIRED The confirmation code has expired
PHONE_CODE_HASH_EMPTY The phone code hash is missing PHONE_CODE_HASH_EMPTY The phone code hash is missing
PHONE_CODE_INVALID The confirmation code is invalid PHONE_CODE_INVALID The confirmation code is invalid
PHONE_HASH_EXPIRED An invalid or expired phone_code_hash was provided
PHONE_NOT_OCCUPIED No user is associated to the specified phone number
PHONE_NUMBER_APP_SIGNUP_FORBIDDEN You can't sign up using this app PHONE_NUMBER_APP_SIGNUP_FORBIDDEN You can't sign up using this app
PHONE_NUMBER_BANNED The phone number is banned from Telegram and cannot be used PHONE_NUMBER_BANNED The phone number is banned from Telegram and cannot be used
PHONE_NUMBER_FLOOD This number has tried to login too many times PHONE_NUMBER_FLOOD This number has tried to login too many times
@ -243,6 +290,7 @@ PHOTO_THUMB_URL_INVALID The photo thumb URL is invalid
PINNED_DIALOGS_TOO_MUCH Too many pinned dialogs PINNED_DIALOGS_TOO_MUCH Too many pinned dialogs
PIN_RESTRICTED You can't pin messages in private chats with other people PIN_RESTRICTED You can't pin messages in private chats with other people
POLL_ANSWERS_INVALID The poll answers are invalid POLL_ANSWERS_INVALID The poll answers are invalid
POLL_ANSWER_INVALID One of the poll answers is not acceptable
POLL_OPTION_DUPLICATE A duplicate option was sent in the same poll POLL_OPTION_DUPLICATE A duplicate option was sent in the same poll
POLL_OPTION_INVALID A poll option used invalid data (the data may be too long) POLL_OPTION_INVALID A poll option used invalid data (the data may be too long)
POLL_QUESTION_INVALID The poll question is invalid POLL_QUESTION_INVALID The poll question is invalid
@ -252,9 +300,11 @@ PREMIUM_ACCOUNT_REQUIRED The method requires a premium user account
PRIVACY_KEY_INVALID The privacy key is invalid PRIVACY_KEY_INVALID The privacy key is invalid
PRIVACY_TOO_LONG Your privacy exception list has exceeded the maximum capacity PRIVACY_TOO_LONG Your privacy exception list has exceeded the maximum capacity
PRIVACY_VALUE_INVALID The privacy value is invalid PRIVACY_VALUE_INVALID The privacy value is invalid
PUBLIC_KEY_REQUIRED A public key is required
QUERY_ID_EMPTY The query ID is empty QUERY_ID_EMPTY The query ID is empty
QUERY_ID_INVALID The callback query id is invalid QUERY_ID_INVALID The callback query id is invalid
QUERY_TOO_SHORT The query is too short QUERY_TOO_SHORT The query is too short
QUIZ_ANSWER_MISSING You can forward a quiz while hiding the original author only after choosing an option in the quiz
QUIZ_CORRECT_ANSWERS_EMPTY The correct answers of the quiz are empty QUIZ_CORRECT_ANSWERS_EMPTY The correct answers of the quiz are empty
QUIZ_CORRECT_ANSWERS_TOO_MUCH The quiz contains too many correct answers QUIZ_CORRECT_ANSWERS_TOO_MUCH The quiz contains too many correct answers
QUIZ_CORRECT_ANSWER_INVALID The correct answers of the quiz are invalid QUIZ_CORRECT_ANSWER_INVALID The correct answers of the quiz are invalid
@ -271,6 +321,7 @@ REPLY_MARKUP_GAME_EMPTY The provided reply markup for the game is empty
REPLY_MARKUP_INVALID The provided reply markup is invalid REPLY_MARKUP_INVALID The provided reply markup is invalid
REPLY_MARKUP_TOO_LONG The reply markup is too long REPLY_MARKUP_TOO_LONG The reply markup is too long
REPLY_MESSAGE_ID_INVALID The reply message id is invalid REPLY_MESSAGE_ID_INVALID The reply message id is invalid
RESET_REQUEST_MISSING No password reset is in progress
RESULTS_TOO_MUCH The result contains too many items RESULTS_TOO_MUCH The result contains too many items
RESULT_ID_DUPLICATE The result contains items with duplicated identifiers RESULT_ID_DUPLICATE The result contains items with duplicated identifiers
RESULT_ID_EMPTY Result ID empty RESULT_ID_EMPTY Result ID empty
@ -278,20 +329,26 @@ RESULT_ID_INVALID The given result cannot be used to send the selection to the b
REACTIONS_TOO_MANY Currently, non-premium users, can set up to one reaction per message REACTIONS_TOO_MANY Currently, non-premium users, can set up to one reaction per message
RESULT_TYPE_INVALID The result type is invalid RESULT_TYPE_INVALID The result type is invalid
REVOTE_NOT_ALLOWED You cannot change your vote REVOTE_NOT_ALLOWED You cannot change your vote
RIGHTS_NOT_MODIFIED The new admin rights are equal to the old rights, no change was made
RSA_DECRYPT_FAILED Internal RSA decryption failed RSA_DECRYPT_FAILED Internal RSA decryption failed
SCHEDULE_BOT_NOT_ALLOWED Bots are not allowed to schedule messages SCHEDULE_BOT_NOT_ALLOWED Bots are not allowed to schedule messages
SCHEDULE_DATE_INVALID Invalid schedule date provided SCHEDULE_DATE_INVALID Invalid schedule date provided
SCHEDULE_DATE_TOO_LATE The date you tried to schedule is too far in the future (more than one year) SCHEDULE_DATE_TOO_LATE The date you tried to schedule is too far in the future (more than one year)
SCHEDULE_STATUS_PRIVATE You cannot schedule a message until the person comes online if their privacy does not show this information SCHEDULE_STATUS_PRIVATE You cannot schedule a message until the person comes online if their privacy does not show this information
SCHEDULE_TOO_MUCH You tried to schedule too many messages in this chat SCHEDULE_TOO_MUCH You tried to schedule too many messages in this chat
SCORE_INVALID The specified game score is invalid
SEARCH_QUERY_EMPTY The search query is empty SEARCH_QUERY_EMPTY The search query is empty
SEARCH_WITH_LINK_NOT_SUPPORTED You cannot provide a search query and an invite link at the same time
SECONDS_INVALID The seconds interval is invalid SECONDS_INVALID The seconds interval is invalid
SEND_AS_PEER_INVALID You can't send messages as the specified peer
SEND_MESSAGE_MEDIA_INVALID The message media is invalid SEND_MESSAGE_MEDIA_INVALID The message media is invalid
SEND_MESSAGE_TYPE_INVALID The message type is invalid SEND_MESSAGE_TYPE_INVALID The message type is invalid
SESSION_TOO_FRESH_X You can't do this action because the current session was logged-in recently SESSION_TOO_FRESH_X You can't do this action because the current session was logged-in recently
SETTINGS_INVALID Invalid settings were provided SETTINGS_INVALID Invalid settings were provided
SHA256_HASH_INVALID The provided SHA256 hash is invalid SHA256_HASH_INVALID The provided SHA256 hash is invalid
SHORTNAME_OCCUPY_FAILED An error occurred when trying to register the short-name used for the sticker pack. Try a different name SHORTNAME_OCCUPY_FAILED An error occurred when trying to register the short-name used for the sticker pack. Try a different name
SHORT_NAME_INVALID The specified short name is invalid
SHORT_NAME_OCCUPIED The specified short name is already in use
SLOWMODE_MULTI_MSGS_DISABLED Slowmode is enabled, you cannot forward multiple messages to this group SLOWMODE_MULTI_MSGS_DISABLED Slowmode is enabled, you cannot forward multiple messages to this group
SMS_CODE_CREATE_FAILED An error occurred while creating the SMS code SMS_CODE_CREATE_FAILED An error occurred while creating the SMS code
SRP_ID_INVALID Invalid SRP ID provided SRP_ID_INVALID Invalid SRP ID provided
@ -299,6 +356,7 @@ SRP_PASSWORD_CHANGED The password has changed
START_PARAM_EMPTY The start parameter is empty START_PARAM_EMPTY The start parameter is empty
START_PARAM_INVALID The start parameter is invalid START_PARAM_INVALID The start parameter is invalid
START_PARAM_TOO_LONG The start parameter is too long START_PARAM_TOO_LONG The start parameter is too long
STICKERPACK_STICKERS_TOO_MUCH There are too many stickers in this stickerpack, you can't add any more
STICKERSET_INVALID The requested sticker set is invalid STICKERSET_INVALID The requested sticker set is invalid
STICKERSET_NOT_MODIFIED The sticker set is not modified STICKERSET_NOT_MODIFIED The sticker set is not modified
STICKERS_EMPTY The sticker provided is empty STICKERS_EMPTY The sticker provided is empty
@ -306,33 +364,44 @@ STICKERS_TOO_MUCH Too many stickers in the set
STICKER_DOCUMENT_INVALID The sticker document is invalid STICKER_DOCUMENT_INVALID The sticker document is invalid
STICKER_EMOJI_INVALID The sticker emoji is invalid STICKER_EMOJI_INVALID The sticker emoji is invalid
STICKER_FILE_INVALID The sticker file is invalid STICKER_FILE_INVALID The sticker file is invalid
STICKER_GIF_DIMENSIONS The specified video sticker has invalid dimensions
STICKER_ID_INVALID The provided sticker id is invalid STICKER_ID_INVALID The provided sticker id is invalid
STICKER_INVALID The provided sticker is invalid STICKER_INVALID The provided sticker is invalid
STICKER_MIME_INVALID Make sure to pass a valid image file for the right InputFile parameter
STICKER_PNG_DIMENSIONS The sticker png dimensions are invalid STICKER_PNG_DIMENSIONS The sticker png dimensions are invalid
STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a png STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a png
STICKER_TGS_NODOC You must send the animated sticker as a document
STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided
STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided
STICKER_VIDEO_BIG The specified video sticker is too big
STICKER_VIDEO_NODOC You must send the video sticker as a document
STICKER_VIDEO_NOWEBM A webm video file was expected, but something else was provided STICKER_VIDEO_NOWEBM A webm video file was expected, but something else was provided
STORIES_TOO_MUCH Too many stories in the current account STORIES_TOO_MUCH Too many stories in the current account
STORY_PERIOD_INVALID The story period is invalid STORY_PERIOD_INVALID The story period is invalid
SWITCH_PM_TEXT_EMPTY The switch_pm.text field was empty
TAKEOUT_INVALID The takeout id is invalid TAKEOUT_INVALID The takeout id is invalid
TAKEOUT_REQUIRED The method must be invoked inside a takeout session TAKEOUT_REQUIRED The method must be invoked inside a takeout session
TEMP_AUTH_KEY_ALREADY_BOUND The passed temporary key is already bound to another perm_auth_key_id
TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty
THEME_FILE_INVALID Invalid theme file provided THEME_FILE_INVALID Invalid theme file provided
THEME_FORMAT_INVALID Invalid theme format provided THEME_FORMAT_INVALID Invalid theme format provided
THEME_INVALID Invalid theme provided THEME_INVALID Invalid theme provided
THEME_MIME_INVALID You cannot create this theme because the mime-type is invalid THEME_MIME_INVALID You cannot create this theme because the mime-type is invalid
THEME_TITLE_INVALID The specified theme title is invalid
TITLE_INVALID The specified stickerpack title is invalid
TMP_PASSWORD_DISABLED The temporary password is disabled TMP_PASSWORD_DISABLED The temporary password is disabled
TMP_PASSWORD_INVALID The temporary password is invalid TMP_PASSWORD_INVALID The temporary password is invalid
TOKEN_INVALID The provided token is invalid TOKEN_INVALID The provided token is invalid
TOPIC_CLOSED The topic was closed TOPIC_CLOSED The topic was closed
TOPIC_DELETED The topic was deleted TOPIC_DELETED The topic was deleted
TOPIC_NOT_MODIFIED The topic was not modified TOPIC_NOT_MODIFIED The topic was not modified
TO_LANG_INVALID The specified destination language is invalid
TRANSCRIPTION_FAILED Telegram is having internal problems. Please try again later to transcribe the audio. TRANSCRIPTION_FAILED Telegram is having internal problems. Please try again later to transcribe the audio.
TTL_DAYS_INVALID The provided TTL days is invalid TTL_DAYS_INVALID The provided TTL days is invalid
TTL_MEDIA_INVALID The media does not support self-destruction TTL_MEDIA_INVALID The media does not support self-destruction
TYPES_EMPTY The types parameter is empty TYPES_EMPTY The types parameter is empty
TYPE_CONSTRUCTOR_INVALID The type constructor is invalid TYPE_CONSTRUCTOR_INVALID The type constructor is invalid
UNKNOWN_ERROR Unknown error
UNTIL_DATE_INVALID That date parameter is invalid UNTIL_DATE_INVALID That date parameter is invalid
URL_INVALID The URL provided is invalid URL_INVALID The URL provided is invalid
USAGE_LIMIT_INVALID The usage limit is invalid USAGE_LIMIT_INVALID The usage limit is invalid
@ -345,6 +414,7 @@ USERPIC_UPLOAD_REQUIRED You are required to upload a profile picture for this ac
USERS_TOO_FEW Not enough users (to create a chat, for example) USERS_TOO_FEW Not enough users (to create a chat, for example)
USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example) USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example)
USER_ADMIN_INVALID The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to USER_ADMIN_INVALID The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to
USER_ALREADY_INVITED You have already invited this user
USER_ALREADY_PARTICIPANT The user is already a participant of this chat USER_ALREADY_PARTICIPANT The user is already a participant of this chat
USER_BANNED_IN_CHANNEL You are limited from sending messages in supergroups/channels, check @SpamBot for details USER_BANNED_IN_CHANNEL You are limited from sending messages in supergroups/channels, check @SpamBot for details
USER_BLOCKED The user is blocked USER_BLOCKED The user is blocked
@ -360,8 +430,11 @@ USER_IS_BOT A bot cannot send messages to other bots or to itself
USER_KICKED This user was kicked from this chat USER_KICKED This user was kicked from this chat
USER_NOT_MUTUAL_CONTACT The user is not a mutual contact USER_NOT_MUTUAL_CONTACT The user is not a mutual contact
USER_NOT_PARTICIPANT The user is not a member of this chat USER_NOT_PARTICIPANT The user is not a member of this chat
USER_PUBLIC_MISSING The accounts username is missing
USER_VOLUME_INVALID The specified user volume is invalid
VIDEO_CONTENT_TYPE_INVALID The video content type is invalid (i.e.: not streamable) VIDEO_CONTENT_TYPE_INVALID The video content type is invalid (i.e.: not streamable)
VIDEO_FILE_INVALID The video file is invalid VIDEO_FILE_INVALID The video file is invalid
VIDEO_TITLE_EMPTY The specified video title is empty
VOICE_MESSAGES_FORBIDDEN Voice messages are restricted VOICE_MESSAGES_FORBIDDEN Voice messages are restricted
VOLUME_LOC_NOT_FOUND The volume location can't be found VOLUME_LOC_NOT_FOUND The volume location can't be found
WALLPAPER_FILE_INVALID The provided file cannot be used as a wallpaper WALLPAPER_FILE_INVALID The provided file cannot be used as a wallpaper
@ -375,6 +448,11 @@ WEBDOCUMENT_URL_EMPTY The web document URL is empty
WEBDOCUMENT_URL_INVALID The web document URL is invalid WEBDOCUMENT_URL_INVALID The web document URL is invalid
WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL
WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media
WEBPAGE_NOT_FOUND Webpage not found
WEBPAGE_URL_INVALID Webpage url invalid
WEBPUSH_AUTH_INVALID The specified web push authentication secret is invalid
WEBPUSH_KEY_INVALID The specified web push elliptic curve Diffie-Hellman public key is invalid
WEBPUSH_TOKEN_INVALID The specified web push token is invalid
YOU_BLOCKED_USER You blocked this user YOU_BLOCKED_USER You blocked this user
STORIES_NEVER_CREATED You have never created any stories STORIES_NEVER_CREATED You have never created any stories
MEDIA_FILE_INVALID The provided media file is invalid MEDIA_FILE_INVALID The provided media file is invalid

1 id message
3 ACCESS_TOKEN_EXPIRED The bot token has expired
4 ACCESS_TOKEN_INVALID The bot access token is invalid
5 ADMINS_TOO_MUCH The chat has too many administrators
6 ADMIN_ID_INVALID The specified admin ID is invalid
7 ADMIN_RANK_EMOJI_NOT_ALLOWED Emoji are not allowed in custom administrator titles
8 ADMIN_RANK_INVALID The custom administrator title is invalid or too long
9 ALBUM_PHOTOS_TOO_MANY Too many photos were included in the album
10 API_ID_INVALID The api_id/api_hash combination is invalid
11 API_ID_PUBLISHED_FLOOD You are using an API key that is limited on the server side because it was published somewhere
12 ARTICLE_TITLE_EMPTY The article title is empty
13 AUDIO_CONTENT_URL_EMPTY The remote URL specified in the content field is empty
14 AUDIO_TITLE_EMPTY The title attribute of the audio is empty
15 AUTH_BYTES_INVALID The authorization bytes are invalid
16 AUTH_TOKEN_ALREADY_ACCEPTED The authorization token was already used
17 AUTH_TOKEN_EXCEPTION An error occurred while importing the auth token
18 AUTH_TOKEN_EXPIRED The provided authorization token has expired and the updated QR-code must be re-scanned
19 AUTH_TOKEN_INVALID An invalid authorization token was provided
20 AUTH_TOKEN_INVALID2 An invalid authorization token was provided
21 AUTH_TOKEN_INVALIDX The specified auth token is invalid
22 AUTOARCHIVE_NOT_AVAILABLE This feature is not yet enabled for your account due to it not receiving too many private messages from strangers
23 BANK_CARD_NUMBER_INVALID The credit card number is invalid
24 BANNED_RIGHTS_INVALID You provided a set of restrictions that is invalid
26 BOTS_TOO_MUCH The chat has too many bots
27 BOT_CHANNELS_NA Bots can't edit admin privileges
28 BOT_COMMAND_DESCRIPTION_INVALID The command description was empty, too long or had invalid characters
29 BOT_COMMAND_INVALID The specified command is invalid
30 BOT_DOMAIN_INVALID The domain used for the auth button does not match the one configured in @BotFather
31 BOT_GAMES_DISABLED Bot games cannot be used in this type of chat
32 BOT_GROUPS_BLOCKED This bot can't be added to groups
39 BOT_POLLS_DISABLED Sending polls by bots has been disabled
40 BOT_RESPONSE_TIMEOUT The bot did not answer to the callback query in time
41 BOT_SCORE_NOT_MODIFIED The bot score was not modified
42 BROADCAST_CALLS_DISABLED Broadcast calls disabled
43 BROADCAST_ID_INVALID The channel is invalid
44 BROADCAST_PUBLIC_VOTERS_FORBIDDEN Polls with public voters cannot be sent in channels
45 BROADCAST_REQUIRED The request can only be used with a channel
46 BUTTON_DATA_INVALID The button callback data is invalid or too large
47 BUTTON_TEXT_INVALID The specified button text is invalid
48 BUTTON_TYPE_INVALID The type of one of the buttons you provided is invalid
49 BUTTON_URL_INVALID The button url is invalid
50 BUTTON_USER_PRIVACY_RESTRICTED The privacy settings of the user specified in a keyboard button do not allow creating such button
53 CALL_PEER_INVALID The provided call peer object is invalid
54 CALL_PROTOCOL_FLAGS_INVALID Call protocol flags invalid
55 CDN_METHOD_INVALID The method can't be used on CDN DCs
56 CHANNELS_ADMIN_LOCATED_TOO_MUCH The user has reached the limit of public geogroups
57 CHANNELS_ADMIN_PUBLIC_TOO_MUCH You are an administrator of too many public channels
58 CHANNELS_TOO_MUCH You have joined too many channels or supergroups, leave some and try again
59 CHANNEL_ADD_INVALID Internal error.
60 CHANNEL_BANNED The channel is banned
61 CHANNEL_INVALID The channel parameter is invalid
62 CHANNEL_PARICIPANT_MISSING The current user is not in the channel
63 CHANNEL_PRIVATE The channel/supergroup is not accessible
64 CHANNEL_TOO_BIG The channel too big
65 CHANNEL_TOO_LARGE The channel is too large
66 CHAT_ABOUT_NOT_MODIFIED The chat about text was not modified because you tried to edit it using the same content
67 CHAT_ABOUT_TOO_LONG The chat about text is too long
75 CHAT_LINK_EXISTS The action failed because the supergroup is linked to a channel
76 CHAT_NOT_MODIFIED The chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content
77 CHAT_RESTRICTED The chat is restricted and cannot be used
78 CHAT_REVOKE_DATE_UNSUPPORTED `min_date` and `max_date` are not available for using with non-user peers
79 CHAT_SEND_INLINE_FORBIDDEN You cannot use inline bots to send messages in this chat
80 CHAT_TITLE_EMPTY The chat title is empty
81 CHAT_TOO_BIG The chat is too big for this action
95 CONTACT_ID_INVALID The provided contact id is invalid
96 CONTACT_NAME_EMPTY The provided contact name is empty
97 CONTACT_REQ_MISSING Missing contact request
98 CREATE_CALL_FAILED An error occurred while creating the call
99 CURRENCY_TOTAL_AMOUNT_INVALID The total amount of all prices is invalid
100 DATA_INVALID The encrypted data is invalid
101 DATA_JSON_INVALID The provided JSON data is invalid
102 DATA_TOO_LONG Data too long
109 EMAIL_UNCONFIRMED Email unconfirmed
110 EMAIL_UNCONFIRMED_X The provided email isn't confirmed, {value} is the length of the verification code that was just sent to the email
111 EMAIL_VERIFY_EXPIRED The verification email has expired
112 EMOJI_INVALID The specified theme emoji is valid
113 EMOJI_NOT_MODIFIED The theme wasn't changed
114 EMOTICON_EMPTY The emoticon parameter is empty
115 EMOTICON_INVALID The emoticon parameter is invalid
116 EMOTICON_STICKERPACK_MISSING The emoticon sticker pack you are trying to obtain is missing
124 ENTITY_MENTION_USER_INVALID The mentioned entity is not an user
125 ERROR_TEXT_EMPTY The provided error message is empty
126 EXPIRE_DATE_INVALID The expiration date is invalid
127 EXPIRE_FORBIDDEN Expire forbidden
128 EXPORT_CARD_INVALID The provided card is invalid
129 EXTERNAL_URL_INVALID The external media URL is invalid
130 FIELD_NAME_EMPTY The field with the name FIELD_NAME is missing
131 FIELD_NAME_INVALID The field with the name FIELD_NAME is invalid
132 FILE_CONTENT_TYPE_INVALID File content-type is invalid
133 FILE_EMTPY An empty file was provided
134 FILE_ID_INVALID The file id is invalid
135 FILE_MIGRATE_X The file is in Data Center No. {value}
136 FILE_PARTS_INVALID Invalid number of parts.
137 FILE_PART_0_MISSING File part 0 missing
138 FILE_PART_EMPTY The file part sent is empty
139 FILE_PART_INVALID The file part number is invalid.
140 FILE_PART_LENGTH_INVALID The length of a file part is invalid
145 FILE_REFERENCE_EMPTY The file id contains an empty file reference, you must obtain a valid one by fetching the message from the origin context
146 FILE_REFERENCE_EXPIRED The file id contains an expired file reference, you must obtain a valid one by fetching the message from the origin context
147 FILE_REFERENCE_INVALID The file id contains an invalid file reference, you must obtain a valid one by fetching the message from the origin context
148 FILE_TITLE_EMPTY An empty file title was specified
149 FILTER_ID_INVALID The specified filter ID is invalid
150 FILTER_INCLUDE_EMPTY The filter include is empty
151 FILTER_NOT_SUPPORTED The specified filter cannot be used in this context
152 FILTER_TITLE_EMPTY The title field of the filter is empty
153 FIRSTNAME_INVALID The first name is invalid
154 FOLDER_ID_EMPTY The folder you tried to delete was already empty
155 FOLDER_ID_INVALID The folder id is invalid
161 GIF_CONTENT_TYPE_INVALID GIF content-type invalid
162 GIF_ID_INVALID The provided gif/animation id is invalid
163 GIFT_SLUG_EXPIRED The gift slug is expired
164 GRAPH_INVALID_RELOAD GRAPH_EXPIRED_RELOAD Invalid graph token provided, This graph has expired, please obtain a new graph token
165 GRAPH_INVALID_RELOAD Invalid graph token provided, please reload the stats and provide the updated token
166 GRAPH_OUTDATED_RELOAD The graph data is outdated
167 GROUPCALL_ALREADY_DISCARDED The group call was already discarded
168 GROUPCALL_INVALID The specified group call is invalid
169 GROUPCALL_JOIN_MISSING You haven't joined this group call
170 GROUPCALL_NOT_MODIFIED Group call settings weren't modified
171 GROUPCALL_SSRC_DUPLICATE_MUCH Too many group call synchronization source duplicates
172 GROUPED_MEDIA_INVALID The album contains invalid media
173 GROUP_CALL_INVALID The group call is invalid
174 HASH_INVALID The provided hash is invalid
175 HIDE_REQUESTER_MISSING The join request was missing or was already handled
176 IMAGE_PROCESS_FAILED The server failed to process your image
177 IMPORT_FILE_INVALID The imported file is invalid
178 IMPORT_FORMAT_UNRECOGNIZED The imported format is unrecognized
185 INPUT_LAYER_INVALID The provided layer is invalid
186 INPUT_METHOD_INVALID The method invoked is invalid in the current schema
187 INPUT_REQUEST_TOO_LONG The input request is too long
188 INPUT_TEXT_EMPTY The specified text is empty
189 INPUT_USER_DEACTIVATED The target user has been deleted/deactivated
190 INVITE_FORBIDDEN_WITH_JOINAS If the user has anonymously joined a group call as a channel, they can't invite other users to the group call because that would cause deanonymization, because the invite would be sent using the original user ID, not the anonymized channel ID
191 INVITE_HASH_EMPTY The invite hash is empty
192 INVITE_HASH_EXPIRED The chat invite link is no longer valid
193 INVITE_HASH_INVALID The invite link hash is invalid
194 INVITE_REQUEST_SENT The request to join this chat or channel has been successfully sent
195 INVITE_REVOKED_MISSING The action required a chat invite link to be revoked first
196 INVITE_SLUG_EMPTY The invite slug is empty
197 INVITE_SLUG_EXPIRED The invite slug is expired
198 INVOICE_PAYLOAD_INVALID The specified invoice payload is invalid
199 JOIN_AS_PEER_INVALID The specified peer cannot be used to join a group call
200 LANG_CODE_INVALID The specified language code is invalid
201 LANG_CODE_NOT_SUPPORTED The specified language code is not supported
202 LANG_PACK_INVALID The provided language pack is invalid
203 LASTNAME_INVALID The last name is invalid
204 LIMIT_INVALID The limit parameter is invalid
205 LINK_NOT_MODIFIED The chat link was not modified because you tried to link to the same target
206 LOCATION_INVALID The file location is invalid
207 MAX_DATE_INVALID The specified maximum date is invalid
208 MAX_ID_INVALID The max_id parameter is invalid
209 MAX_QTS_INVALID The provided QTS is invalid
210 MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
211 MEDIA_CAPTION_TOO_LONG The media caption is too long
212 MEDIA_EMPTY The media you tried to send is invalid
213 MEDIA_FILE_INVALID The media file is invalid The provided media file is invalid
214 MEDIA_GROUPED_INVALID You tried to send media of different types in an album
215 MEDIA_INVALID The media is invalid
216 MEDIA_NEW_INVALID The new media to edit the message with is invalid
217 MEDIA_PREV_INVALID The previous media cannot be edited with anything else
228 MESSAGE_POLL_CLOSED You can't interact with a closed poll
229 MESSAGE_TOO_LONG The message text is too long
230 METHOD_INVALID The API method is invalid and cannot be used
231 MIN_DATE_INVALID The specified minimum date is invalid
232 MSG_ID_INVALID The message ID used in the peer was invalid
233 MSG_TOO_OLD chat_read_mark_expire_period have passed since the message was sent, read receipts were deleted
234 MSG_VOICE_MISSING The message does not contain a voice message
235 MSG_WAIT_FAILED A waiting call returned an error
236 MULTI_MEDIA_TOO_LONG The album/media group contains too many items
237 NEW_SALT_INVALID The new salt is invalid
238 NEW_SETTINGS_EMPTY No password is set on the current account, and no new password was specified in `new_settings`
239 NEW_SETTINGS_INVALID The new settings are invalid
240 NEXT_OFFSET_INVALID The next offset value is invalid
241 OFFSET_INVALID The offset parameter is invalid
246 PACK_SHORT_NAME_OCCUPIED A sticker pack with this name already exists
247 PACK_TITLE_INVALID The sticker pack title is invalid
248 PARTICIPANTS_TOO_FEW The chat doesn't have enough participants
249 PARTICIPANT_ID_INVALID The specified participant ID is invalid
250 PARTICIPANT_JOIN_MISSING Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall
251 PARTICIPANT_VERSION_OUTDATED The other participant is using an outdated Telegram app version
252 PASSWORD_EMPTY The password provided is empty
253 PASSWORD_HASH_INVALID The two-step verification password is invalid
257 PASSWORD_TOO_FRESH_X The two-step verification password was added recently and you are required to wait {value} seconds
258 PAYMENT_PROVIDER_INVALID The payment provider was not recognised or its token was invalid
259 PEER_FLOOD The method can't be used because your account is currently limited
260 PEER_HISTORY_EMPTY Peer history empty
261 PEER_ID_INVALID The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it
262 PEER_ID_NOT_SUPPORTED The provided peer id is not supported
263 PERSISTENT_TIMESTAMP_EMPTY The pts argument is empty
266 PHONE_CODE_EXPIRED The confirmation code has expired
267 PHONE_CODE_HASH_EMPTY The phone code hash is missing
268 PHONE_CODE_INVALID The confirmation code is invalid
269 PHONE_HASH_EXPIRED An invalid or expired phone_code_hash was provided
270 PHONE_NOT_OCCUPIED No user is associated to the specified phone number
271 PHONE_NUMBER_APP_SIGNUP_FORBIDDEN You can't sign up using this app
272 PHONE_NUMBER_BANNED The phone number is banned from Telegram and cannot be used
273 PHONE_NUMBER_FLOOD This number has tried to login too many times
290 PINNED_DIALOGS_TOO_MUCH Too many pinned dialogs
291 PIN_RESTRICTED You can't pin messages in private chats with other people
292 POLL_ANSWERS_INVALID The poll answers are invalid
293 POLL_ANSWER_INVALID One of the poll answers is not acceptable
294 POLL_OPTION_DUPLICATE A duplicate option was sent in the same poll
295 POLL_OPTION_INVALID A poll option used invalid data (the data may be too long)
296 POLL_QUESTION_INVALID The poll question is invalid
300 PRIVACY_KEY_INVALID The privacy key is invalid
301 PRIVACY_TOO_LONG Your privacy exception list has exceeded the maximum capacity
302 PRIVACY_VALUE_INVALID The privacy value is invalid
303 PUBLIC_KEY_REQUIRED A public key is required
304 QUERY_ID_EMPTY The query ID is empty
305 QUERY_ID_INVALID The callback query id is invalid
306 QUERY_TOO_SHORT The query is too short
307 QUIZ_ANSWER_MISSING You can forward a quiz while hiding the original author only after choosing an option in the quiz
308 QUIZ_CORRECT_ANSWERS_EMPTY The correct answers of the quiz are empty
309 QUIZ_CORRECT_ANSWERS_TOO_MUCH The quiz contains too many correct answers
310 QUIZ_CORRECT_ANSWER_INVALID The correct answers of the quiz are invalid
321 REPLY_MARKUP_INVALID The provided reply markup is invalid
322 REPLY_MARKUP_TOO_LONG The reply markup is too long
323 REPLY_MESSAGE_ID_INVALID The reply message id is invalid
324 RESET_REQUEST_MISSING No password reset is in progress
325 RESULTS_TOO_MUCH The result contains too many items
326 RESULT_ID_DUPLICATE The result contains items with duplicated identifiers
327 RESULT_ID_EMPTY Result ID empty
329 REACTIONS_TOO_MANY Currently, non-premium users, can set up to one reaction per message
330 RESULT_TYPE_INVALID The result type is invalid
331 REVOTE_NOT_ALLOWED You cannot change your vote
332 RIGHTS_NOT_MODIFIED The new admin rights are equal to the old rights, no change was made
333 RSA_DECRYPT_FAILED Internal RSA decryption failed
334 SCHEDULE_BOT_NOT_ALLOWED Bots are not allowed to schedule messages
335 SCHEDULE_DATE_INVALID Invalid schedule date provided
336 SCHEDULE_DATE_TOO_LATE The date you tried to schedule is too far in the future (more than one year)
337 SCHEDULE_STATUS_PRIVATE You cannot schedule a message until the person comes online if their privacy does not show this information
338 SCHEDULE_TOO_MUCH You tried to schedule too many messages in this chat
339 SCORE_INVALID The specified game score is invalid
340 SEARCH_QUERY_EMPTY The search query is empty
341 SEARCH_WITH_LINK_NOT_SUPPORTED You cannot provide a search query and an invite link at the same time
342 SECONDS_INVALID The seconds interval is invalid
343 SEND_AS_PEER_INVALID You can't send messages as the specified peer
344 SEND_MESSAGE_MEDIA_INVALID The message media is invalid
345 SEND_MESSAGE_TYPE_INVALID The message type is invalid
346 SESSION_TOO_FRESH_X You can't do this action because the current session was logged-in recently
347 SETTINGS_INVALID Invalid settings were provided
348 SHA256_HASH_INVALID The provided SHA256 hash is invalid
349 SHORTNAME_OCCUPY_FAILED An error occurred when trying to register the short-name used for the sticker pack. Try a different name
350 SHORT_NAME_INVALID The specified short name is invalid
351 SHORT_NAME_OCCUPIED The specified short name is already in use
352 SLOWMODE_MULTI_MSGS_DISABLED Slowmode is enabled, you cannot forward multiple messages to this group
353 SMS_CODE_CREATE_FAILED An error occurred while creating the SMS code
354 SRP_ID_INVALID Invalid SRP ID provided
356 START_PARAM_EMPTY The start parameter is empty
357 START_PARAM_INVALID The start parameter is invalid
358 START_PARAM_TOO_LONG The start parameter is too long
359 STICKERPACK_STICKERS_TOO_MUCH There are too many stickers in this stickerpack, you can't add any more
360 STICKERSET_INVALID The requested sticker set is invalid
361 STICKERSET_NOT_MODIFIED The sticker set is not modified
362 STICKERS_EMPTY The sticker provided is empty
364 STICKER_DOCUMENT_INVALID The sticker document is invalid
365 STICKER_EMOJI_INVALID The sticker emoji is invalid
366 STICKER_FILE_INVALID The sticker file is invalid
367 STICKER_GIF_DIMENSIONS The specified video sticker has invalid dimensions
368 STICKER_ID_INVALID The provided sticker id is invalid
369 STICKER_INVALID The provided sticker is invalid
370 STICKER_MIME_INVALID Make sure to pass a valid image file for the right InputFile parameter
371 STICKER_PNG_DIMENSIONS The sticker png dimensions are invalid
372 STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a png
373 STICKER_TGS_NODOC You must send the animated sticker as a document
374 STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided
375 STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided
376 STICKER_VIDEO_BIG The specified video sticker is too big
377 STICKER_VIDEO_NODOC You must send the video sticker as a document
378 STICKER_VIDEO_NOWEBM A webm video file was expected, but something else was provided
379 STORIES_TOO_MUCH Too many stories in the current account
380 STORY_PERIOD_INVALID The story period is invalid
381 SWITCH_PM_TEXT_EMPTY The switch_pm.text field was empty
382 TAKEOUT_INVALID The takeout id is invalid
383 TAKEOUT_REQUIRED The method must be invoked inside a takeout session
384 TEMP_AUTH_KEY_ALREADY_BOUND The passed temporary key is already bound to another perm_auth_key_id
385 TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty
386 THEME_FILE_INVALID Invalid theme file provided
387 THEME_FORMAT_INVALID Invalid theme format provided
388 THEME_INVALID Invalid theme provided
389 THEME_MIME_INVALID You cannot create this theme because the mime-type is invalid
390 THEME_TITLE_INVALID The specified theme title is invalid
391 TITLE_INVALID The specified stickerpack title is invalid
392 TMP_PASSWORD_DISABLED The temporary password is disabled
393 TMP_PASSWORD_INVALID The temporary password is invalid
394 TOKEN_INVALID The provided token is invalid
395 TOPIC_CLOSED The topic was closed
396 TOPIC_DELETED The topic was deleted
397 TOPIC_NOT_MODIFIED The topic was not modified
398 TO_LANG_INVALID The specified destination language is invalid
399 TRANSCRIPTION_FAILED Telegram is having internal problems. Please try again later to transcribe the audio.
400 TTL_DAYS_INVALID The provided TTL days is invalid
401 TTL_MEDIA_INVALID The media does not support self-destruction
402 TYPES_EMPTY The types parameter is empty
403 TYPE_CONSTRUCTOR_INVALID The type constructor is invalid
404 UNKNOWN_ERROR Unknown error
405 UNTIL_DATE_INVALID That date parameter is invalid
406 URL_INVALID The URL provided is invalid
407 USAGE_LIMIT_INVALID The usage limit is invalid
414 USERS_TOO_FEW Not enough users (to create a chat, for example)
415 USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example)
416 USER_ADMIN_INVALID The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to
417 USER_ALREADY_INVITED You have already invited this user
418 USER_ALREADY_PARTICIPANT The user is already a participant of this chat
419 USER_BANNED_IN_CHANNEL You are limited from sending messages in supergroups/channels, check @SpamBot for details
420 USER_BLOCKED The user is blocked
430 USER_KICKED This user was kicked from this chat
431 USER_NOT_MUTUAL_CONTACT The user is not a mutual contact
432 USER_NOT_PARTICIPANT The user is not a member of this chat
433 USER_PUBLIC_MISSING The accounts username is missing
434 USER_VOLUME_INVALID The specified user volume is invalid
435 VIDEO_CONTENT_TYPE_INVALID The video content type is invalid (i.e.: not streamable)
436 VIDEO_FILE_INVALID The video file is invalid
437 VIDEO_TITLE_EMPTY The specified video title is empty
438 VOICE_MESSAGES_FORBIDDEN Voice messages are restricted
439 VOLUME_LOC_NOT_FOUND The volume location can't be found
440 WALLPAPER_FILE_INVALID The provided file cannot be used as a wallpaper
448 WEBDOCUMENT_URL_INVALID The web document URL is invalid
449 WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL
450 WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media
451 WEBPAGE_NOT_FOUND Webpage not found
452 WEBPAGE_URL_INVALID Webpage url invalid
453 WEBPUSH_AUTH_INVALID The specified web push authentication secret is invalid
454 WEBPUSH_KEY_INVALID The specified web push elliptic curve Diffie-Hellman public key is invalid
455 WEBPUSH_TOKEN_INVALID The specified web push token is invalid
456 YOU_BLOCKED_USER You blocked this user
457 STORIES_NEVER_CREATED You have never created any stories
458 MEDIA_FILE_INVALID The provided media file is invalid

View file

@ -9,14 +9,18 @@ EDIT_BOT_INVITE_FORBIDDEN Bots' chat invite links can't be edited
INLINE_BOT_REQUIRED The action must be performed through an inline bot callback INLINE_BOT_REQUIRED The action must be performed through an inline bot callback
MESSAGE_AUTHOR_REQUIRED You are not the author of this message MESSAGE_AUTHOR_REQUIRED You are not the author of this message
MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat, most likely because you are not the author of them MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat, most likely because you are not the author of them
NOT_ALLOWED Not allowed
PARTICIPANT_JOIN_MISSING Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall
POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
PREMIUM_ACCOUNT_REQUIRED This action requires a premium account PREMIUM_ACCOUNT_REQUIRED This action requires a premium account
PRIVACY_PREMIUM_REQUIRED The user has restricted from sending messages OR This action requires a premium account PRIVACY_PREMIUM_REQUIRED The user has restricted from sending messages OR This action requires a premium account
PUBLIC_CHANNEL_MISSING You can only export group call invite links for public chats or channels
RIGHT_FORBIDDEN You don't have enough rights for this action, or you tried to set one or more admin rights that can't be applied to this kind of chat (channel or supergroup) RIGHT_FORBIDDEN You don't have enough rights for this action, or you tried to set one or more admin rights that can't be applied to this kind of chat (channel or supergroup)
SENSITIVE_CHANGE_FORBIDDEN Your sensitive content settings can't be changed at this time SENSITIVE_CHANGE_FORBIDDEN Your sensitive content settings can't be changed at this time
TAKEOUT_REQUIRED The method must be invoked inside a takeout session TAKEOUT_REQUIRED The method must be invoked inside a takeout session
USER_BOT_INVALID This method can only be called by a bot USER_BOT_INVALID This method can only be called by a bot
USER_CHANNELS_TOO_MUCH One of the users you tried to add is already in too many channels/supergroups USER_CHANNELS_TOO_MUCH One of the users you tried to add is already in too many channels/supergroups
USER_DELETED You can't send this secret message because the other participant deleted their account
USER_INVALID The provided user is invalid USER_INVALID The provided user is invalid
USER_IS_BLOCKED The user is blocked USER_IS_BLOCKED The user is blocked
USER_NOT_MUTUAL_CONTACT The provided user is not a mutual contact USER_NOT_MUTUAL_CONTACT The provided user is not a mutual contact
@ -35,6 +39,7 @@ CHAT_SEND_STICKERS_FORBIDDEN You can't send stickers in this chat
CHAT_SEND_VIDEOS_FORBIDDEN You can't send videos in this chat CHAT_SEND_VIDEOS_FORBIDDEN You can't send videos in this chat
CHAT_SEND_VOICES_FORBIDDEN You can't send voice recordings in this chat CHAT_SEND_VOICES_FORBIDDEN You can't send voice recordings in this chat
CHAT_WRITE_FORBIDDEN You can't write in this chat CHAT_WRITE_FORBIDDEN You can't write in this chat
GROUPCALL_ALREADY_STARTED The groupcall has already started, you can join directly using phone.joinGroupCall
GROUPCALL_FORBIDDEN The group call has already ended GROUPCALL_FORBIDDEN The group call has already ended
LIVE_DISABLED Story is disabled server-side LIVE_DISABLED Story is disabled server-side
CHAT_GUEST_SEND_FORBIDDEN You need to join the discussion group before commenting CHAT_GUEST_SEND_FORBIDDEN You need to join the discussion group before commenting

1 id message
9 INLINE_BOT_REQUIRED The action must be performed through an inline bot callback
10 MESSAGE_AUTHOR_REQUIRED You are not the author of this message
11 MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat, most likely because you are not the author of them
12 NOT_ALLOWED Not allowed
13 PARTICIPANT_JOIN_MISSING Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall
14 POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
15 PREMIUM_ACCOUNT_REQUIRED This action requires a premium account
16 PRIVACY_PREMIUM_REQUIRED The user has restricted from sending messages OR This action requires a premium account
17 PUBLIC_CHANNEL_MISSING You can only export group call invite links for public chats or channels
18 RIGHT_FORBIDDEN You don't have enough rights for this action, or you tried to set one or more admin rights that can't be applied to this kind of chat (channel or supergroup)
19 SENSITIVE_CHANGE_FORBIDDEN Your sensitive content settings can't be changed at this time
20 TAKEOUT_REQUIRED The method must be invoked inside a takeout session
21 USER_BOT_INVALID This method can only be called by a bot
22 USER_CHANNELS_TOO_MUCH One of the users you tried to add is already in too many channels/supergroups
23 USER_DELETED You can't send this secret message because the other participant deleted their account
24 USER_INVALID The provided user is invalid
25 USER_IS_BLOCKED The user is blocked
26 USER_NOT_MUTUAL_CONTACT The provided user is not a mutual contact
39 CHAT_SEND_VIDEOS_FORBIDDEN You can't send videos in this chat
40 CHAT_SEND_VOICES_FORBIDDEN You can't send voice recordings in this chat
41 CHAT_WRITE_FORBIDDEN You can't write in this chat
42 GROUPCALL_ALREADY_STARTED The groupcall has already started, you can join directly using phone.joinGroupCall
43 GROUPCALL_FORBIDDEN The group call has already ended
44 LIVE_DISABLED Story is disabled server-side
45 CHAT_GUEST_SEND_FORBIDDEN You need to join the discussion group before commenting

View file

@ -2,14 +2,21 @@ id message
AUTH_KEY_DUPLICATED The same authorization key (session file) was used in more than one place simultaneously. You must delete your session file and log in again with your phone number or bot token AUTH_KEY_DUPLICATED The same authorization key (session file) was used in more than one place simultaneously. You must delete your session file and log in again with your phone number or bot token
CHANNEL_PRIVATE The channel/supergroup is not accessible CHANNEL_PRIVATE The channel/supergroup is not accessible
CHANNEL_TOO_LARGE Сhannel is too large to be deleted. Contact support for removal CHANNEL_TOO_LARGE Сhannel is too large to be deleted. Contact support for removal
CHAT_FORWARDS_RESTRICTED You can't forward messages from a protected chat
FILEREF_UPGRADE_NEEDED The file reference has expired and you must use a refreshed one by obtaining the original media message FILEREF_UPGRADE_NEEDED The file reference has expired and you must use a refreshed one by obtaining the original media message
FRESH_CHANGE_ADMINS_FORBIDDEN You were just elected admin, you can't add or modify other admins yet FRESH_CHANGE_ADMINS_FORBIDDEN You were just elected admin, you can't add or modify other admins yet
FRESH_CHANGE_PHONE_FORBIDDEN You can't change your phone number because your session was logged-in recently FRESH_CHANGE_PHONE_FORBIDDEN You can't change your phone number because your session was logged-in recently
FRESH_RESET_AUTHORISATION_FORBIDDEN You can't terminate other authorized sessions because the current was logged-in recently FRESH_RESET_AUTHORISATION_FORBIDDEN You can't terminate other authorized sessions because the current was logged-in recently
GIFTCODE_NOT_ALLOWED Giftcode not allowed GIFTCODE_NOT_ALLOWED Giftcode not allowed
INVITE_HASH_EXPIRED The chat the user tried to join has expired and is not valid anymore
PHONE_NUMBER_INVALID The phone number is invalid PHONE_NUMBER_INVALID The phone number is invalid
PHONE_PASSWORD_FLOOD You have tried to log-in too many times PHONE_PASSWORD_FLOOD You have tried to log-in too many times
PREMIUM_CURRENTLY_UNAVAILABLE Premium currently unavailable
PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_XMIN Similar to a flood wait, must wait {value} minutes
SEND_CODE_UNAVAILABLE 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)
STICKERSET_INVALID The sticker set is invalid STICKERSET_INVALID The sticker set is invalid
STICKERSET_OWNER_ANONYMOUS This sticker set can't be used as the group's sticker set because it was created by one of its anonymous admins STICKERSET_OWNER_ANONYMOUS This sticker set can't be used as the group's sticker set because it was created by one of its anonymous admins
UPDATE_APP_TO_LOGIN Update app to login
USERPIC_PRIVACY_REQUIRED You need to disable privacy settings for your profile picture in order to make your geolocation public
USERPIC_UPLOAD_REQUIRED You must have a profile picture to publish your geolocation USERPIC_UPLOAD_REQUIRED You must have a profile picture to publish your geolocation
USER_RESTRICTED You are limited/restricted. You can't perform this action USER_RESTRICTED You are limited/restricted. You can't perform this action
1 id message
2 AUTH_KEY_DUPLICATED The same authorization key (session file) was used in more than one place simultaneously. You must delete your session file and log in again with your phone number or bot token
3 CHANNEL_PRIVATE The channel/supergroup is not accessible
4 CHANNEL_TOO_LARGE Сhannel is too large to be deleted. Contact support for removal
5 CHAT_FORWARDS_RESTRICTED You can't forward messages from a protected chat
6 FILEREF_UPGRADE_NEEDED The file reference has expired and you must use a refreshed one by obtaining the original media message
7 FRESH_CHANGE_ADMINS_FORBIDDEN You were just elected admin, you can't add or modify other admins yet
8 FRESH_CHANGE_PHONE_FORBIDDEN You can't change your phone number because your session was logged-in recently
9 FRESH_RESET_AUTHORISATION_FORBIDDEN You can't terminate other authorized sessions because the current was logged-in recently
10 GIFTCODE_NOT_ALLOWED Giftcode not allowed
11 INVITE_HASH_EXPIRED The chat the user tried to join has expired and is not valid anymore
12 PHONE_NUMBER_INVALID The phone number is invalid
13 PHONE_PASSWORD_FLOOD You have tried to log-in too many times
14 PREMIUM_CURRENTLY_UNAVAILABLE Premium currently unavailable
15 PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_XMIN Similar to a flood wait, must wait {value} minutes
16 SEND_CODE_UNAVAILABLE 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)
17 STICKERSET_INVALID The sticker set is invalid
18 STICKERSET_OWNER_ANONYMOUS This sticker set can't be used as the group's sticker set because it was created by one of its anonymous admins
19 UPDATE_APP_TO_LOGIN Update app to login
20 USERPIC_PRIVACY_REQUIRED You need to disable privacy settings for your profile picture in order to make your geolocation public
21 USERPIC_UPLOAD_REQUIRED You must have a profile picture to publish your geolocation
22 USER_RESTRICTED You are limited/restricted. You can't perform this action

View file

@ -38,6 +38,7 @@ RPC_MCGET_FAIL Telegram is having internal problems. Please try again later
SIGN_IN_FAILED Failure while signing in due to Telegram having internal problems. Please try again later SIGN_IN_FAILED Failure while signing in due to Telegram having internal problems. Please try again later
STORAGE_CHECK_FAILED Server storage check failed due to Telegram having internal problems. Please try again later STORAGE_CHECK_FAILED Server storage check failed due to Telegram having internal problems. Please try again later
STORE_INVALID_SCALAR_TYPE Telegram is having internal problems. Please try again later STORE_INVALID_SCALAR_TYPE Telegram is having internal problems. Please try again later
TIMEOUT A timeout occurred while fetching data from the worker
UNKNOWN_METHOD The method you tried to call cannot be called on non-CDN DCs UNKNOWN_METHOD The method you tried to call cannot be called on non-CDN DCs
UPLOAD_NO_VOLUME Telegram is having internal problems. Please try again later UPLOAD_NO_VOLUME Telegram is having internal problems. Please try again later
VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later

1 id message
38 SIGN_IN_FAILED Failure while signing in due to Telegram having internal problems. Please try again later
39 STORAGE_CHECK_FAILED Server storage check failed due to Telegram having internal problems. Please try again later
40 STORE_INVALID_SCALAR_TYPE Telegram is having internal problems. Please try again later
41 TIMEOUT A timeout occurred while fetching data from the worker
42 UNKNOWN_METHOD The method you tried to call cannot be called on non-CDN DCs
43 UPLOAD_NO_VOLUME Telegram is having internal problems. Please try again later
44 VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later