400 - BadRequest

id

message

ABOUT_TOO_LONG

The provided about/bio text is too long.

ACCESS_TOKEN_EXPIRED

The bot token has expired.

ACCESS_TOKEN_INVALID

The bot access token is invalid.

ADDRESS_INVALID

The specified geopoint address is invalid.

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_INVALID

The custom administrator title is invalid or too long.

ADMIN_RIGHTS_EMPTY

The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).

AD_EXPIRED

The ad has expired (too old or not found).

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_PUBLISHED_FLOOD

You are using an API key that is limited on the server side because it was published somewhere.

ARTICLE_TITLE_EMPTY

The title of the article 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.

AUTH_BYTES_INVALID

The provided authorization bytes are invalid.

AUTH_TOKEN_ALREADY_ACCEPTED

The specified auth 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_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.

BALANCE_TOO_LOW

The transaction cannot be completed because the current [Telegram Stars balance](https://core.telegram.org/api/stars) is too low.

BANK_CARD_NUMBER_INVALID

The specified credit card number is invalid.

BANNED_RIGHTS_INVALID

You provided a set of restrictions that is invalid.

BASE_PORT_LOC_INVALID

The base port location is invalid.

BIRTHDAY_INVALID

An invalid age was specified, must be between 0 and 150 years.

BOOSTS_EMPTY

No boost slots were specified.

BOOSTS_REQUIRED

The specified channel must first be [boosted by its users](https://core.telegram.org/api/boost) in order to perform this action.

BOOST_NOT_MODIFIED

You’re already [boosting](https://core.telegram.org/api/boost) the specified channel.

BOOST_PEER_INVALID

The specified boost_peer is invalid.

BOTS_TOO_MUCH

There are too many bots in this chat/channel.

BOT_ALREADY_DISABLED

The connected business bot was already disabled for the specified peer.

BOT_APP_BOT_INVALID

The bot_id passed in the inputBotAppShortName constructor is invalid.

BOT_APP_INVALID

The specified bot app is invalid.

BOT_APP_SHORTNAME_INVALID

The specified bot app short name is invalid.

BOT_BUSINESS_MISSING

The specified bot is not a business bot (the [user](https://core.telegram.org/constructor/user).`bot_business` flag is not set).

BOT_CHANNELS_NA

Bots can’t edit admin privileges.

BOT_COMMAND_DESCRIPTION_INVALID

The specified 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_GAMES_DISABLED

Bot games cannot be used in this type of chat.

BOT_GROUPS_BLOCKED

This bot can’t be added to groups.

BOT_INLINE_DISABLED

The inline feature of this bot is disabled.

BOT_INVALID

This is not a valid bot.

BOT_INVOICE_INVALID

The specified invoice is invalid.

BOT_METHOD_INVALID

The specified method cannot be used by bots.

BOT_MISSING

This method can only be run by a bot.

BOT_NOT_CONNECTED_YET

No [business bot](https://core.telegram.org/api/business#connected-bots) is connected to the currently logged in user.

BOT_ONESIDE_NOT_AVAIL

Bots can’t pin messages in private chats just for themselves.

BOT_PAYMENTS_DISABLED

Please enable bot payments in botfather before calling this method.

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_SCORE_NOT_MODIFIED

The bot score wasn’t modified.

BOT_WEBVIEW_DISABLED

A webview cannot be opened in the specified conditions: emitted for example if from_bot_menu or url are set and peer is not the chat with the bot.

BROADCAST_CALLS_DISABLED

Broadcast calls disabled.

BROADCAST_ID_INVALID

The channel is invalid.

BROADCAST_PUBLIC_VOTERS_FORBIDDEN

Polls with public voters cannot be sent in channels.

BROADCAST_REQUIRED

This method can only be used with a channel.

BUSINESS_BOT_MISSING

The business bot is missing.

BUSINESS_CONNECTION_INVALID

The business connection is invalid.

BUSINESS_CONNECTION_NOT_ALLOWED

This business connection is not allowed.

BUSINESS_PEER_INVALID

Messages can’t be set to the specified peer through the current [business connection](https://core.telegram.org/api/business#connected-bots).

BUSINESS_PEER_USAGE_MISSING

You cannot send a message to a user through a [business connection](https://core.telegram.org/api/business#connected-bots) if the user hasn’t recently contacted us.

BUSINESS_RECIPIENTS_EMPTY

You didn’t set any flag in inputBusinessBotRecipients, thus the bot cannot work with any peer.

BUSINESS_RECIPIENTS_INVALID

The specified inputBusinessBotRecipients is invalid.

BUSINESS_WORK_HOURS_EMPTY

No work hours were specified.

BUSINESS_WORK_HOURS_PERIOD_INVALID

The specified work hours are invalid, see [here »](https://core.telegram.org/api/business#opening-hours) for the exact requirements.

BUTTON_COPY_TEXT_INVALID

The specified [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy).`copy_text` is invalid.

BUTTON_DATA_INVALID

The button callback data is invalid or too large.

BUTTON_ID_INVALID

The specified button_id is invalid.

BUTTON_POS_INVALID

The position of one of the keyboard buttons is invalid (i.e. a Game or Pay button not in the first position, and so on…).

BUTTON_TEXT_INVALID

The specified button text 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_USER_INVALID

The user_id passed to inputKeyboardButtonUserProfile is invalid!.

BUTTON_USER_PRIVACY_RESTRICTED

The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile) button do not allow creating such a button.

CALL_ALREADY_ACCEPTED

The call was already accepted.

CALL_ALREADY_DECLINED

The call was already declined.

CALL_OCCUPY_FAILED

The call failed because the user is already making another call.

CALL_PEER_INVALID

The provided call peer object is invalid.

CALL_PROTOCOL_FLAGS_INVALID

Call protocol flags invalid.

CDN_METHOD_INVALID

You can’t call this method in a CDN DC.

CHANNELS_ADMIN_LOCATED_TOO_MUCH

The user has reached the limit of public geogroups.

CHANNELS_ADMIN_PUBLIC_TOO_MUCH

You’re administrator of too many public channels.

CHANNELS_TOO_MUCH

You have joined too many channels/supergroups.

CHANNEL_ADD_INVALID

Internal error.

CHANNEL_BANNED

The channel is banned.

CHANNEL_FORUM_MISSING

This supergroup is not a forum.

CHANNEL_ID_INVALID

The specified supergroup ID is invalid.

CHANNEL_INVALID

The provided channel is invalid.

CHANNEL_MONOFORUM_UNSUPPORTED

You cannot use this method in direct chats.

CHANNEL_PARICIPANT_MISSING

The current user is not in the channel.

CHANNEL_PRIVATE

You haven’t joined this channel/supergroup.

CHANNEL_TOO_BIG

This channel is too big.

CHANNEL_TOO_LARGE

This channel is too large.

CHARGE_ALREADY_REFUNDED

This transaction was already refunded.

CHARGE_NOT_FOUND

The charge id was not found.

CHATLINKS_TOO_MUCH

Too many [business chat links](https://core.telegram.org/api/business#business-chat-links) were created, please delete some older links.

CHATLINK_SLUG_EMPTY

The specified slug is empty.

CHATLINK_SLUG_EXPIRED

The specified [business chat link](https://core.telegram.org/api/business#business-chat-links) has expired.

CHATLISTS_TOO_MUCH

You have created too many folder links, hitting the chatlist_invites_limit_default/chatlist_invites_limit_premium [limits »](https://core.telegram.org/api/config#chatlist-invites-limit-default).

CHATLIST_EXCLUDE_INVALID

The specified exclude_peers are invalid.

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_ADMIN_REQUIRED

You must be an admin in this chat to do this.

CHAT_DISCUSSION_UNALLOWED

You can’t enable forum topics in a discussion group linked to a channel.

CHAT_FORWARDS_RESTRICTED

You can’t forward messages from a protected chat.

CHAT_ID_EMPTY

The provided chat id is empty.

CHAT_ID_INVALID

The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it.

CHAT_INVALID

The chat is invalid.

CHAT_INVITE_PERMANENT

You can’t set an expiration date on permanent invite links.

CHAT_LINK_EXISTS

The action failed because the supergroup is linked to a channel.

CHAT_MEMBER_ADD_FAILED

Could not add participants.

CHAT_NOT_MODIFIED

The chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content.

CHAT_PUBLIC_REQUIRED

You can only enable join requests in public groups.

CHAT_RESTRICTED

You can’t send messages in this chat, you were restricted.

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_TITLE_EMPTY

The chat title is empty.

CHAT_TOO_BIG

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).

CODE_EMPTY

The provided code is empty.

CODE_HASH_INVALID

The provided code hash invalid.

CODE_INVALID

The provided code is invalid (i.e. from email).

COLLECTIBLE_INVALID

The specified collectible is invalid.

COLLECTIBLE_NOT_FOUND

The specified collectible could not be found.

COLOR_INVALID

The specified color id is invalid.

CONNECTION_API_ID_INVALID

The provided API id is invalid.

CONNECTION_APP_VERSION_EMPTY

App version is empty.

CONNECTION_DEVICE_MODEL_EMPTY

The specified device model is empty.

CONNECTION_ID_INVALID

The specified connection ID is invalid.

CONNECTION_LANG_PACK_INVALID

The specified language pack is invalid.

CONNECTION_LAYER_INVALID

The connection layer is invalid. Missing InvokeWithLayer-InitConnection call.

CONNECTION_NOT_INITED

Please initialize the connection using initConnection before making queries.

CONNECTION_SYSTEM_EMPTY

The specified system version is empty.

CONNECTION_SYSTEM_LANG_CODE_EMPTY

The specified system language code is empty.

CONTACT_ADD_MISSING

Contact to add is missing.

CONTACT_ID_INVALID

The provided contact ID is invalid.

CONTACT_MISSING

The specified user is not a contact.

CONTACT_NAME_EMPTY

The provided contact name is empty.

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.

CUSTOM_REACTIONS_TOO_MANY

Too many custom reactions were specified.

DATA_INVALID

The encrypted data is invalid.

DATA_JSON_INVALID

The provided JSON data is invalid.

DATA_TOO_LONG

The data is too long.

DATE_EMPTY

The date argument is empty.

DC_ID_INVALID

The provided dc_id is invalid.

DH_G_A_INVALID

The g_a parameter is invalid.

DOCUMENT_INVALID

The specified document is invalid.

EFFECT_ID_INVALID

The specified effect id is invalid.

EMAIL_HASH_EXPIRED

The email hash expired and cannot be used to verify it.

EMAIL_INVALID

The specified email is invalid.

EMAIL_NOT_ALLOWED

The specified email cannot be used to complete the operation.

EMAIL_NOT_SETUP

In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup.

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: use [account.verifyEmail](https://core.telegram.org/method/account.verifyEmail) to enter the received verification code and enable the recovery email.

EMAIL_VERIFY_EXPIRED

The verification email has expired.

EMOJI_INVALID

The specified theme emoji is valid.

EMOJI_MARKUP_INVALID

The specified video_emoji_markup was invalid.

EMOJI_NOT_MODIFIED

The theme wasn’t changed.

EMOTICON_EMPTY

The provided emoji parameter is empty.

EMOTICON_INVALID

The specified emoji is invalid.

EMOTICON_STICKERPACK_MISSING

The emoticon sticker pack you are trying to obtain is missing.

ENCRYPTED_MESSAGE_INVALID

The special binding message (bind_auth_key_inner) contains invalid data.

ENCRYPTION_ALREADY_ACCEPTED

The secret chat was already accepted.

ENCRYPTION_ALREADY_DECLINED

The secret chat was already declined.

ENCRYPTION_DECLINED

The secret chat was declined.

ENCRYPTION_ID_INVALID

The provided secret chat id is invalid.

ENTITIES_TOO_LONG

The entity provided contains data that is too long, or you passed too many entities to this message.

ENTITY_BOUNDS_INVALID

A specified [entity offset or length](https://core.telegram.org/api/entities#entity-length) is invalid, see [here »](https://core.telegram.org/api/entities#entity-length) for info on how to properly compute the entity offset/length.

ENTITY_MENTION_USER_INVALID

The mentioned entity is not an user.

ERROR_TEXT_EMPTY

The provided error message is empty.

EXPIRE_DATE_INVALID

The specified expiration date is invalid.

EXPIRE_FORBIDDEN

Expire forbidden.

EXPORT_CARD_INVALID

The provided card is invalid.

EXTENDED_MEDIA_AMOUNT_INVALID

The specified stars_amount of the passed [inputMediaPaidMedia](https://core.telegram.org/constructor/inputMediaPaidMedia) is invalid.

EXTENDED_MEDIA_PEER_INVALID

The specified chat type is invalid.

EXTENDED_MEDIA_TYPE_INVALID

The specified extended media type is unsupported.

EXTERNAL_URL_INVALID

The external media URL is invalid.

FIELD_NAME_EMPTY

The field with the name FIELD_NAME is missing.

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 provided file id is invalid.

FILE_MIGRATE_X

The file currently being accessed is stored in DC{value}, please re-send the query to that DC.

FILE_PARTS_INVALID

The number of file parts is invalid.

FILE_PART_0_MISSING

File part 0 missing.

FILE_PART_EMPTY

The provided file part is empty.

FILE_PART_INVALID

The file part number is invalid.

FILE_PART_LENGTH_INVALID

The length of a file part is invalid.

FILE_PART_SIZE_CHANGED

The part size is different from the size of one of the previous parts in the same file.

FILE_PART_SIZE_INVALID

The provided file part size is invalid.

FILE_PART_TOO_BIG

The uploaded file part is too big.

FILE_PART_TOO_SMALL

The size limit for the content of the file part has been exceeded.

FILE_PART_X_MISSING

Part {value} of the file is missing from storage. Try repeating the method call to resave the part.

FILE_REFERENCE_EMPTY

The file id contains an empty [file reference](https://core.telegram.org/api/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](https://core.telegram.org/api/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](https://core.telegram.org/api/file_reference), you must obtain a valid one by fetching the message from the origin context.

FILE_REFERENCE_X_EXPIRED

The [file reference](https://core.telegram.org/api/file_reference) of the media file at index {value} in the passed media array expired, it must be refreshed.

FILE_REFERENCE_X_INVALID

The [file reference](https://core.telegram.org/api/file_reference) of the media file at index {value} in the passed media array is invalid.

FILE_TITLE_EMPTY

An empty file title was specified.

FILE_TOKEN_INVALID

The master DC did not accept the file_token (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile.

FILTER_ID_INVALID

The specified filter ID is invalid.

FILTER_INCLUDE_EMPTY

The list of include_peers of the folder is empty.

FILTER_INCLUDE_TOO_MUCH

You can’t add more chats to this folder.

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.

FLOODSKIP_NOT_ALLOWED

You can’t execute the specified action because in order to enable this feature [the following conditions](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) must be satisfied.

FOLDER_ID_EMPTY

An empty folder ID was specified.

FOLDER_ID_INVALID

The specified folder id is invalid.

FORM_EXPIRED

The form was generated more than 10 minutes ago and has expired, please re-generate it using [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm) and pass the new form_id.

FORM_ID_EMPTY

The specified form id is empty.

FORM_ID_EXPIRED

The specified form id has expired.

FORM_SUBMIT_DUPLICATE

The specified form is duplicated.

FORM_UNSUPPORTED

The specified form is unsupported. Please update your client.

FORUM_ENABLED

You can’t execute the specified action because the group is a [forum](https://core.telegram.org/api/forum), disable forum functionality to continue.

FRESH_CHANGE_ADMINS_FORBIDDEN

You can’t change administrator settings in this chat because your session was logged-in recently.

FROM_MESSAGE_BOT_DISABLED

Bots can’t use fromMessage min constructors.

FROM_PEER_INVALID

The specified from_id is invalid.

FROZEN_PARTICIPANT_MISSING

The account is frozen and cannot access the chat participant.

GAME_BOT_INVALID

You cannot send that game with the current bot.

GENERAL_MODIFY_ICON_FORBIDDEN

You can’t modify the icon of the “General” topic.

GEO_POINT_INVALID

Invalid geo point provided.

GIFT_SLUG_EXPIRED

The specified gift slug has expired.

GIFT_SLUG_INVALID

The specified slug is invalid.

GIF_CONTENT_TYPE_INVALID

GIF content-type invalid.

GIF_ID_INVALID

The provided animation id is invalid.

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 is outdated, please get a new async token using stats.getBroadcastStats.

GROUPCALL_ALREADY_DISCARDED

The group call was already discarded.

GROUPCALL_FORBIDDEN

The group call has already ended.

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

The app needs to retry joining the group call with a new SSRC value.

GROUPED_MEDIA_INVALID

The album contains invalid media.

GROUP_CALL_INVALID

The group call is invalid.

HASHTAG_INVALID

The specified hashtag is invalid.

HASH_INVALID

The provided hash is invalid.

HIDE_REQUESTER_MISSING

The join request was missing or was already handled.

ID_EXPIRED

The passed prepared inline message ID has expired.

ID_INVALID

The passed ID is invalid.

IMAGE_PROCESS_FAILED

The server failed to process your image.

IMPORT_FILE_INVALID

The specified chat export file is invalid.

IMPORT_FORMAT_DATE_INVALID

The date specified in the import file is invalid.

IMPORT_FORMAT_UNRECOGNIZED

The specified chat export file was exported from an unsupported chat app.

IMPORT_ID_INVALID

The specified import id is invalid.

IMPORT_TOKEN_INVALID

The specified token is invalid.

INLINE_RESULT_EXPIRED

The inline bot query expired.

INPUT_CHATLIST_INVALID

The specified folder is invalid.

INPUT_CONSTRUCTOR_INVALID

The specified TL constructor is invalid.

INPUT_FETCH_ERROR

An error occurred while deserializing the provided TL constructor.

INPUT_FETCH_FAIL

Failed deserializing TL payload.

INPUT_FILE_INVALID

The specified [InputFile](https://core.telegram.org/type/InputFile) is invalid.

INPUT_FILTER_INVALID

The specified filter is invalid.

INPUT_LAYER_INVALID

The specified layer is invalid.

INPUT_METHOD_INVALID

The method invoked is invalid in the current schema.

INPUT_PEERS_EMPTY

The specified peer array is empty.

INPUT_REQUEST_TOO_LONG

The request payload is too long.

INPUT_TEXT_EMPTY

The specified text is empty.

INPUT_TEXT_TOO_LONG

The specified text is too long.

INPUT_USER_DEACTIVATED

The target user has been deleted/deactivated.

INVITES_TOO_MUCH

The maximum number of per-folder invites specified by the chatlist_invites_limit_default/chatlist_invites_limit_premium [client configuration parameters »](https://core.telegram.org/api/config#chatlist-invites-limit-default) was reached.

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_EXPIRED

The invite link is no longer valid.

INVITE_HASH_INVALID

The invite hash is invalid.

INVITE_REQUEST_SENT

You have successfully requested to join this chat or channel.

INVITE_REVOKED_MISSING

The action required a chat invite link to be revoked first.

INVITE_SLUG_EMPTY

The specified invite slug is empty.

INVITE_SLUG_EXPIRED

The specified invite slug has expired.

INVITE_SLUG_INVALID

The specified invite slug is invalid.

INVOICE_PAYLOAD_INVALID

The specified invoice payload is invalid.

JOIN_AS_PEER_INVALID

The specified peer cannot be used to join a group call.

LANGUAGE_INVALID

The specified lang_code is invalid.

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.

LASTNAME_INVALID

The last name is invalid.

LIMIT_INVALID

The provided limit is invalid.

LINK_NOT_MODIFIED

The chat link was not modified because you tried to link to the same target.

LOCATION_INVALID

The provided location is invalid.

MAX_DATE_INVALID

The specified maximum date is invalid.

MAX_ID_INVALID

The provided max_id is invalid.

MAX_QTS_INVALID

The specified qts is invalid.

MD5_CHECKSUM_INVALID

The file’s checksum did not match the md5_checksum parameter.

MEDIA_ALREADY_PAID

The specified paid media is already paid.

MEDIA_CAPTION_TOO_LONG

The media caption is too long.

MEDIA_EMPTY

The provided media you tried to send is invalid.

MEDIA_FILE_INVALID

The specified media file is invalid.

MEDIA_GROUPED_INVALID

You tried to send media of different types in an album.

MEDIA_INVALID

Media 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_TTL_INVALID

The specified media TTL is invalid.

MEDIA_TYPE_INVALID

The specified media type cannot be used in stories.

MEDIA_VIDEO_STORY_MISSING

A non-story video cannot be repubblished as a story (emitted when trying to resend a non-story video as a story using inputDocument).

MEGAGROUP_GEO_REQUIRED

This method can only be invoked on a geogroup.

MEGAGROUP_ID_INVALID

The supergroup is invalid.

MEGAGROUP_PREHISTORY_HIDDEN

The action failed because the supergroup has the pre-history hidden.

MEGAGROUP_REQUIRED

The request can only be used with a supergroup.

MESSAGE_EDIT_TIME_EXPIRED

You can’t edit this message anymore, too much time has passed since its creation.

MESSAGE_EMPTY

The message sent is empty or contains invalid characters.

MESSAGE_IDS_EMPTY

The requested message doesn’t exist or you provided no message id.

MESSAGE_ID_INVALID

The provided message id is invalid.

MESSAGE_NOT_MODIFIED

The message was not modified because you tried to edit it using the same content.

MESSAGE_NOT_READ_YET

The specified message wasn’t read yet.

MESSAGE_POLL_CLOSED

You can’t interact with a closed poll.

MESSAGE_TOO_LONG

The provided message text is too long.

MESSAGE_TOO_OLD

The message is too old, the requested information is not available.

METHOD_INVALID

The specified API method is invalid and cannot be used.

MIN_DATE_INVALID

The specified minimum date is invalid.

MONOFORUM_FILTER_INVALID

The specified filter is 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_WAIT_FAILED

A waiting call returned an error.

MULTI_MEDIA_TOO_LONG

The album contains too many items.

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.

NEXT_OFFSET_INVALID

The next offset value is invalid.

NOGENERAL_HIDE_FORBIDDEN

The hidden parameter is only valid for the General topic message_thread_id=1.

NOT_ELIGIBLE

The current user is not eligible to join the Peer-to-Peer Login Program.

NOT_JOINED

The current user hasn’t joined the Peer-to-Peer Login Program.

OFFSET_INVALID

The provided offset parameter is invalid.

OFFSET_PEER_ID_INVALID

The provided offset peer is invalid.

OPTIONS_TOO_MUCH

Too many poll options provided.

OPTION_INVALID

The option specified is invalid and does not exist in the target poll.

ORDER_INVALID

The specified username order is invalid.

PACK_SHORT_NAME_INVALID

Invalid sticker pack name. It must begin with a letter, can’t contain consecutive underscores and must end in ‘_by_<bot username>’.

PACK_SHORT_NAME_OCCUPIED

A sticker pack with this name already exists.

PACK_TITLE_INVALID

The sticker pack title is invalid.

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](https://core.telegram.org/method/phone.joinGroupCall).

PARTICIPANT_VERSION_OUTDATED

The other participant is using an outdated Telegram app version.

PASSWORD_EMPTY

The provided password is empty.

PASSWORD_HASH_INVALID

The two-step verification password is invalid.

PASSWORD_MISSING

You must [enable 2FA](https://core.telegram.org/api/srp) before executing this operation.

PASSWORD_RECOVERY_EXPIRED

The recovery code has expired.

PASSWORD_RECOVERY_NA

No email was set, can’t recover password via email.

PASSWORD_REQUIRED

The two-step verification password is required for this method.

PASSWORD_TOO_FRESH_X

The two-step verification password was modified less than 24 hours ago, try again in {value} seconds.

PAYMENT_PROVIDER_INVALID

The payment provider was not recognised or its token was invalid.

PAYMENT_REQUIRED

The payment is required.

PEERS_LIST_EMPTY

The specified list of peers is empty.

PEER_FLOOD

The current account is limited, you cannot execute this action, check @spambot for more info.

PEER_HISTORY_EMPTY

You can’t pin an empty chat with a user.

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_TYPES_INVALID

The passed [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline).`peer_types` field is invalid.

PERSISTENT_TIMESTAMP_EMPTY

The pts argument is empty.

PERSISTENT_TIMESTAMP_INVALID

The persistent timestamp is invalid.

PHONE_CODE_EMPTY

The phone code is missing.

PHONE_CODE_EXPIRED

The provided confirmation code has expired. Make sure you haven’t sent it to anyone else and use the code on the same connection.

PHONE_CODE_HASH_EMPTY

The phone code hash is missing.

PHONE_CODE_INVALID

The provided 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_BANNED

The specified phone number is banned from Telegram and cannot be used.

PHONE_NUMBER_FLOOD

This number has tried to login too many times.

PHONE_NUMBER_INVALID

The phone number is invalid.

PHONE_NUMBER_OCCUPIED

The phone number is already in use.

PHONE_NUMBER_UNOCCUPIED

The phone number is not yet being used.

PHONE_PASSWORD_PROTECTED

This phone is password protected.

PHOTO_CONTENT_TYPE_INVALID

The photo content type is invalid.

PHOTO_CONTENT_URL_EMPTY

The photo content URL is empty.

PHOTO_CROP_FILE_MISSING

Photo crop file missing.

PHOTO_CROP_SIZE_SMALL

Photo is too small.

PHOTO_EXT_INVALID

The extension of the photo is invalid.

PHOTO_FILE_MISSING

Profile photo file missing.

PHOTO_ID_INVALID

Photo ID invalid.

PHOTO_INVALID

Photo invalid.

PHOTO_INVALID_DIMENSIONS

The photo dimensions are invalid.

PHOTO_SAVE_FILE_INVALID

The photo you tried to send cannot be saved by Telegram.

PHOTO_THUMB_URL_EMPTY

The photo thumbnail URL is empty.

PHOTO_THUMB_URL_INVALID

The photo thumb URL is invalid.

PINNED_DIALOGS_TOO_MUCH

Too many pinned dialogs.

PINNED_TOPIC_NOT_MODIFIED

The pinned topic was not modified.

PIN_RESTRICTED

You can’t pin messages in private chats with other people.

PLATFORM_INVALID

The provided platform is invalid. Allowed values are “android”, “ios”, “wp”, “bb”, “desktop”, “web”, “ubp”, “other”.

POLL_ANSWERS_INVALID

Invalid poll answers were provided.

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_INVALID

IA poll option used invalid data (the data may be too long).

POLL_QUESTION_INVALID

The poll question is invalid.

POLL_UNSUPPORTED

This layer does not support polls in the invoked method.

POLL_VOTE_REQUIRED

Cast a vote in the poll before calling this method.

PRECHECKOUT_FAILED

Precheckout failed.

PREMIUM_ACCOUNT_REQUIRED

A premium account is required to execute this action.

PREMIUM_GIFTCODE_WAS_REFUNDED

This gift code can’t be redeemed because the giveaway organizer requested a refund.

PRICING_CHAT_INVALID

The pricing for the [subscription](https://core.telegram.org/api/subscriptions) is invalid, the maximum price is specified in the [stars_subscription_amount_max config key »](https://core.telegram.org/api/config#stars-subscription-amount-max).

PRIVACY_KEY_INVALID

The privacy key is invalid.

PRIVACY_TOO_LONG

Your privacy exception list has exceeded the maximum capacity.

PRIVACY_VALUE_INVALID

The specified privacy rule combination is invalid.

PUBLIC_BROADCAST_EXPECTED

A public channel was expected, but something else was provided.

PUBLIC_KEY_REQUIRED

A public key is required.

QUERY_ID_EMPTY

The query ID is empty.

QUERY_ID_INVALID

The query ID is invalid.

QUERY_TOO_SHORT

The query string is too short.

QUICK_REPLIES_TOO_MUCH

A maximum of [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config#quick-replies-limit) shortcuts may be created, the limit was reached.

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

No correct quiz answer was specified.

QUIZ_CORRECT_ANSWERS_TOO_MUCH

You specified too many correct answers in a quiz, quizzes can only have one right answer!.

QUIZ_CORRECT_ANSWER_INVALID

An invalid value was provided to the correct_answers field.

QUIZ_MULTIPLE_INVALID

A quiz can’t have multiple answers.

QUOTE_TEXT_INVALID

The specified quote text is invalid.

RAISE_HAND_FORBIDDEN

You cannot raise your hand.

RANDOM_ID_EMPTY

The random ID is empty.

RANDOM_ID_INVALID

The provided random ID is invalid.

RANDOM_LENGTH_INVALID

The random length is invalid.

RANGES_INVALID

Invalid range provided.

REACTIONS_COUNT_INVALID

The count of the reactions should be less than stars_paid_reaction_amount_max stars, you can’t react with more number of stars, see [the docs for more info](https://core.telegram.org/api/config#client-configuration).

REACTIONS_TOO_MANY

Non-premium users, can set up only one reaction per message.

REACTION_EMPTY

The specified reaction is empty.

REACTION_INVALID

The specified reaction is invalid (only valid emoji are allowed).

RECEIPT_EMPTY

The specified receipt is empty.

REFLECTOR_NOT_AVAILABLE

The call reflector is not available.

REPLY_MARKUP_BUY_EMPTY

Reply markup for buy button empty.

REPLY_MARKUP_GAME_EMPTY

A game message is being edited, but the newly provided keyboard doesn’t have a keyboardButtonGame button.

REPLY_MARKUP_INVALID

The provided reply markup is invalid.

REPLY_MARKUP_TOO_LONG

The specified reply markup is too long.

REPLY_MESSAGES_TOO_MUCH

Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config#quick-reply-messages-limit) messages, the limit was reached.

REPLY_MESSAGE_ID_INVALID

The specified reply message id is invalid.

REPLY_TO_INVALID

The specified reply_to field is invalid.

REPLY_TO_MONOFORUM_PEER_INVALID

The specified reply_to field is invalid.

REPLY_TO_USER_INVALID

The replied-to user is invalid.

REQUEST_TOKEN_INVALID

The master DC did not accept the request_token from the CDN DC. Continue downloading the file from the master DC using upload.getFile.

RESET_REQUEST_MISSING

No password reset is in progress.

RESULTS_TOO_MUCH

The result contains too many items.

RESULT_ID_DUPLICATE

The result contains items with duplicated identifiers.

RESULT_ID_EMPTY

Result ID empty.

RESULT_ID_INVALID

The given result cannot be used to send the selection to the bot.

RESULT_TYPE_INVALID

The result type is invalid.

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.

RINGTONE_INVALID

The specified ringtone is invalid.

RINGTONE_MIME_INVALID

The MIME type for the ringtone is invalid.

RSA_DECRYPT_FAILED

Internal RSA decryption failed.

SAVED_DIALOGS_UNSUPPORTED

You cannot use this method.

SAVED_PEER_INVALID

The saved peer is invalid.

SCHEDULE_BOT_NOT_ALLOWED

Bots are not allowed to schedule messages.

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_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.

SCORE_INVALID

The specified game score is invalid.

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.

SECURE_SECRET_REQUIRED

A secure secret is required.

SEND_AS_PEER_INVALID

You can’t send messages as the specified peer.

SEND_MESSAGE_MEDIA_INVALID

The message media is invalid.

SEND_MESSAGE_TYPE_INVALID

The message type is invalid.

SESSION_TOO_FRESH_X

This session was created less than 24 hours ago, try again in {value} seconds.

SETTINGS_INVALID

Invalid settings were provided.

SHA256_HASH_INVALID

The provided SHA256 hash is invalid.

SHORTCUT_INVALID

The specified shortcut is invalid.

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.

SLOTS_EMPTY

The specified slot list is empty.

SLOWMODE_MULTI_MSGS_DISABLED

Slowmode is enabled, you cannot forward multiple messages to this group.

SLUG_INVALID

The specified invoice slug is invalid.

SMSJOB_ID_INVALID

The specified job ID is invalid.

SMS_CODE_CREATE_FAILED

An error occurred while creating the SMS code.

SRP_A_INVALID

The specified inputCheckPasswordSRP.A value is invalid.

SRP_ID_INVALID

Invalid SRP ID provided.

SRP_PASSWORD_CHANGED

The password has changed.

STARGIFT_ALREADY_CONVERTED

The provided star gift already converted to stars.

STARGIFT_ALREADY_UPGRADED

This star gift was already upgraded before.

STARGIFT_CONVERT_TOO_OLD

This gift can no longer be converted into stars.

STARGIFT_INVALID

The passed [inputInvoiceStarGift](https://core.telegram.org/constructor/inputInvoiceStarGift) is invalid.

STARGIFT_MESSAGE_INVALID

The provided message for this gift is invalid.

STARGIFT_NOT_FOUND

The specified star gift was not found.

STARGIFT_NOT_OWNER

You can’t control this gift because it doesn’t belong to you.

STARGIFT_OWNER_INVALID

The specified gift owner is invalid.

STARGIFT_RESELL_NOT_ALLOWED

You can’t buy this gift. Someone else may have already bought it or this gift is not for sale.

STARGIFT_RESELL_TOO_EARLY_X

A wait of {value} seconds is required to resell this gift.

STARGIFT_SLUG_INVALID

The provided star gift slug is invalid (must match the format CollectionName-123).

STARGIFT_TRANSFER_TOO_EARLY_X

A wait of {value} seconds is required to transfer this gift.

STARGIFT_UPGRADE_UNAVAILABLE

Gift is not available for upgrade yet.

STARGIFT_USAGE_LIMITED

The gift is sold out.

STARREF_AWAITING_END

The previous referral program was terminated less than 24 hours ago: further changes can be made after the date specified in userFull.starref_program.end_date.

STARREF_EXPIRED

The specified referral link is expired.

STARREF_HASH_REVOKED

The specified affiliate link was already revoked.

STARREF_MONTHS_TOO_LOW

The duration_months parameter must be between 0 and 36.

STARREF_PERMILLE_INVALID

The specified commission_permille is invalid: the minimum and maximum values for this parameter are contained in the [starref_min_commission_permille](https://core.telegram.org/api/config#starref-min-commission-permille) and [starref_max_commission_permille](https://core.telegram.org/api/config#starref-max-commission-permille) client configuration parameters.

STARREF_PERMILLE_TOO_LOW

The specified commission_permille is too low: the minimum and maximum values for this parameter are contained in the [starref_min_commission_permille](https://core.telegram.org/api/config#starref-min-commission-permille) and [starref_max_commission_permille](https://core.telegram.org/api/config#starref-max-commission-permille) client configuration parameters.

STARS_AMOUNT_INVALID

The specified paid_stars amount is invalid.

STARS_FORM_AMOUNT_MISMATCH

The stars form amount mismatch.

STARS_INVOICE_INVALID

The specified Telegram Star invoice is invalid.

STARS_PAYMENT_REQUIRED

To import this chat invite link, you must first [pay for the associated Telegram Star subscription »](https://core.telegram.org/api/subscriptions#channel-subscriptions).

START_PARAM_EMPTY

The start parameter is empty.

START_PARAM_INVALID

The start parameter invalid.

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_NOT_MODIFIED

TThe sticker set is not modified.

STICKERS_EMPTY

No sticker provided.

STICKERS_TOO_MUCH

There are too many stickers in this stickerpack, you can’t add any more.

STICKER_DOCUMENT_INVALID

The specified sticker document is invalid.

STICKER_EMOJI_INVALID

Sticker emoji invalid.

STICKER_FILE_INVALID

Sticker file invalid.

STICKER_GIF_DIMENSIONS

The specified video sticker has invalid dimensions.

STICKER_ID_INVALID

The provided sticker ID is invalid.

STICKER_INVALID

The provided sticker is invalid.

STICKER_MIME_INVALID

The specified sticker MIME type is invalid. Make sure to pass a valid image file for the right InputFile parameter.

STICKER_PNG_DIMENSIONS

SThe sticker png dimensions are invalid.

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_THUMB_PNG_NOPNG

IA png sticker thumbnail file was expected, but something else was provided.

STICKER_THUMB_TGS_NOTGS

Incorrect stickerset TGS thumb file 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.

STORAGE_KEY_REQUIRED

A cloud storage key is required.

STORIES_NEVER_CREATED

This peer hasn’t ever posted any stories.

STORIES_TOO_MUCH

You have hit the maximum active stories limit as specified by the [story_expiring_limit_* client configuration parameters](https://core.telegram.org/api/config#story-expiring-limit-default): you should buy a [Premium](https://core.telegram.org/api/premium) subscription, delete an active story, or wait for the oldest story to expire.

STORY_ID_EMPTY

You specified no story IDs.

STORY_ID_INVALID

The specified story ID is invalid.

STORY_NOT_MODIFIED

The new story information you passed is equal to the previous story information, thus it wasn’t modified.

STORY_PERIOD_INVALID

The specified story period is invalid for this account.

STORY_SEND_FLOOD_MONTHLY_X

You’ve hit the monthly story limit as specified by the [stories_sent_monthly_limit_* client configuration parameters](https://core.telegram.org/api/config#stories-sent-monthly-limit-default): wait {value} seconds before posting a new story.

STORY_SEND_FLOOD_WEEKLY_X

You’ve hit the weekly story limit as specified by the [stories_sent_weekly_limit_* client configuration parameters](https://core.telegram.org/api/config#stories-sent-weekly-limit-default): wait {value} seconds before posting a new story.

SUBSCRIPTION_EXPORT_MISSING

You cannot send a [bot subscription invoice](https://core.telegram.org/api/subscriptions#bot-subscriptions) directly, you may only create invoice links using [payments.exportInvoice](https://core.telegram.org/method/payments.exportInvoice).

SUBSCRIPTION_PERIOD_INVALID

The specified subscription_pricing.period is invalid.

SWITCH_PM_TEXT_EMPTY

The switch_pm.text field was empty.

SWITCH_WEBVIEW_URL_INVALID

The URL specified in switch_webview.url is invalid!.

TAKEOUT_INVALID

The specified takeout ID is invalid.

TAKEOUT_REQUIRED

The method must be invoked inside a [takeout](https://core.telegram.org/api/takeout) session.

TASK_ALREADY_EXISTS

An email reset was already requested.

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.

TERMS_URL_INVALID

The specified [invoice](https://core.telegram.org/constructor/invoice).`terms_url` is invalid.

THEME_FILE_INVALID

Invalid theme file provided.

THEME_FORMAT_INVALID

Invalid theme format provided.

THEME_INVALID

Invalid theme provided.

THEME_MIME_INVALID

You cannot create this theme because the mime-type is invalid.

THEME_PARAMS_INVALID

The specified theme_params field is invalid.

THEME_TITLE_INVALID

The specified theme title is invalid.

TIMEZONE_INVALID

The specified timezone does not exist.

TITLE_INVALID

The specified stickerpack title is invalid.

TMP_PASSWORD_DISABLED

The temporary password is disabled.

TMP_PASSWORD_INVALID

The temporary password is invalid.

TOKEN_EMPTY

The specified token is empty.

TOKEN_INVALID

The provided token is invalid.

TOKEN_SECRET_INVALID

The specified token secret is invalid.

TOKEN_TYPE_INVALID

The specified token type is invalid.

TOPICS_EMPTY

You specified no topic IDs.

TOPIC_CLOSED

This topic was closed, you can’t send messages to it anymore.

TOPIC_CLOSE_SEPARATELY

The close flag cannot be provided together with any of the other flags.

TOPIC_DELETED

The specified topic was deleted.

TOPIC_HIDE_SEPARATELY

The hide flag cannot be provided together with any of the other flags.

TOPIC_ID_INVALID

The specified topic ID is invalid.

TOPIC_NOT_MODIFIED

The updated topic info is equal to the current topic info, nothing was changed.

TOPIC_TITLE_EMPTY

The specified topic title is empty.

TO_LANG_INVALID

The specified destination language is invalid.

TRANSACTION_ID_INVALID

The specified transaction ID is invalid.

TRANSCRIPTION_FAILED

Telegram is having internal problems. Please try again later to transcribe the audio.

TRANSLATE_REQ_QUOTA_EXCEEDED

Translation is currently unavailable due to a temporary server-side lack of resources.

TTL_DAYS_INVALID

The provided TTL days is invalid.

TTL_MEDIA_INVALID

The media does not support self-destruction.

TTL_PERIOD_INVALID

The specified TTL period is invalid.

TYPES_EMPTY

The types parameter is empty.

TYPE_CONSTRUCTOR_INVALID

The type constructor is invalid.

UNKNOWN_ERROR

Unknown error.

UNSUPPORTED

This method is not supported.

UNTIL_DATE_INVALID

That date parameter is invalid.

URL_INVALID

The URL provided is invalid.

USAGE_LIMIT_INVALID

The specified usage limit is invalid.

USERNAMES_ACTIVE_TOO_MUCH

The maximum number of active usernames was reached.

USERNAME_INVALID

The provided username is not valid.

USERNAME_NOT_MODIFIED

The username was not modified because you tried to edit it using the same one.

USERNAME_NOT_OCCUPIED

The provided username is not occupied by anyone.

USERNAME_OCCUPIED

The provided username is already in use by someone else.

USERNAME_PURCHASE_AVAILABLE

The specified username can be purchased on https://fragment.com.

USERPIC_UPLOAD_REQUIRED

You are required to upload a profile picture for this action.

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).

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_BANNED_IN_CHANNEL

You’re limited from sending messages in supergroups/channels, check @spambot for details.

USER_BLOCKED

The user is blocked.

USER_BOT

Bots in channels can only be administrators, not members.

USER_BOT_INVALID

User accounts must provide the bot method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts.

USER_BOT_REQUIRED

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_CREATOR

The user id being used is invalid or not known yet. Make sure you meet the user before interacting with it.

USER_GIFT_UNAVAILABLE

Gifts are not available in the current region ([stars_gifts_enabled](https://core.telegram.org/api/config#stars-gifts-enabled) is equal to false).

USER_ID_INVALID

The provided user id is invalid.

USER_INVALID

The provided user is invalid.

USER_IS_BLOCKED

You were blocked by this user.

USER_IS_BOT

A bot cannot send messages to other bots or to itself.

USER_KICKED

This user was kicked from this chat.

USER_NOT_MUTUAL_CONTACT

The provided user is not a mutual contact.

USER_NOT_PARTICIPANT

You’re not a member of this chat.

USER_PUBLIC_MISSING

The accounts username is missing.

USER_RIGHTS_MISSING

The user rights is missing.

USER_VOLUME_INVALID

The specified user volume is invalid.

VENUE_ID_INVALID

The specified venue ID is invalid.

VIDEO_CONTENT_TYPE_INVALID

The video content type is invalid (i.e.: not streamable).

VIDEO_FILE_INVALID

The specified video file is invalid.

VIDEO_PAUSE_FORBIDDEN

You cannot pause the video stream.

VIDEO_STOP_FORBIDDEN

You cannot stop the video stream.

VIDEO_TITLE_EMPTY

The specified video title is empty.

VOICE_MESSAGES_FORBIDDEN

This user’s privacy settings forbid you from sending voice messages.

VOLUME_LOC_NOT_FOUND

The volume location can’t be found.

WALLPAPER_FILE_INVALID

TThe provided file cannot be used as a wallpaper.

WALLPAPER_INVALID

The specified wallpaper is invalid.

WALLPAPER_MIME_INVALID

The specified wallpaper MIME type is invalid.

WALLPAPER_NOT_FOUND

The specified wallpaper could not be found.

WC_CONVERT_URL_INVALID

WC convert URL invalid.

WEBDOCUMENT_INVALID

Invalid webdocument URL provided.

WEBDOCUMENT_MIME_INVALID

Invalid webdocument mime type provided.

WEBDOCUMENT_SIZE_TOO_BIG

Webdocument is too big!.

WEBDOCUMENT_URL_EMPTY

The passed web document URL is empty.

WEBDOCUMENT_URL_INVALID

The specified webdocument URL is invalid.

WEBPAGE_CURL_FAILED

Telegram server could not fetch the provided URL.

WEBPAGE_MEDIA_EMPTY

The URL doesn’t contain any valid media.

WEBPAGE_NOT_FOUND

A preview for the specified webpage url could not be generated.

WEBPAGE_URL_INVALID

The specified webpage url is 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.