|
|
@@ -15,16 +15,21 @@ AUTH_KEY_INVALID,401,The key is invalid |
|
|
AUTH_KEY_PERM_EMPTY,401,"The method is unavailable for temporary authorization key, not bound to permanent" |
|
|
AUTH_KEY_UNREGISTERED,401,The key is not registered in the system |
|
|
AUTH_RESTART,500,Restart the authorization process |
|
|
AUTH_TOKEN_ALREADY_ACCEPTED,400,The authorization token was already used |
|
|
AUTH_TOKEN_EXPIRED,400,The provided authorization token has expired and the updated QR-code must be re-scanned |
|
|
AUTH_TOKEN_INVALID,400,An invalid authorization token was provided |
|
|
BANNED_RIGHTS_INVALID,400,"You cannot use that set of permissions in this request, i.e. restricting view_messages as a default" |
|
|
BOTS_TOO_MUCH,400,There are too many bots in this chat/channel |
|
|
BOT_CHANNELS_NA,400,Bots can't edit admin privileges |
|
|
BOT_COMMAND_DESCRIPTION_INVALID,400,"The command description was empty, too long or had invalid characters used" |
|
|
BOT_GROUPS_BLOCKED,400,This bot can't be added to groups |
|
|
BOT_INLINE_DISABLED,400,This bot can't be used in inline mode |
|
|
BOT_INVALID,400,This is not a valid bot |
|
|
BOT_METHOD_INVALID,400,The API access for bot users is restricted. The method you tried to invoke cannot be executed as a bot |
|
|
BOT_MISSING,400,This method can only be run by a bot |
|
|
BOT_PAYMENTS_DISABLED,400,This method can only be run by a bot |
|
|
BOT_POLLS_DISABLED,400,You cannot create polls under a bot account |
|
|
BOT_RESPONSE_TIMEOUT,400,The bot did not answer to the callback query in time |
|
|
BROADCAST_ID_INVALID,400,The channel is invalid |
|
|
BROADCAST_PUBLIC_VOTERS_FORBIDDEN,400,You cannot broadcast polls where the voters are public |
|
|
BUTTON_DATA_INVALID,400,The provided button data is invalid |
|
|
@@ -67,6 +72,7 @@ CONNECTION_LANG_PACK_INVALID,400,"The specified language pack is not valid. This |
|
|
CONNECTION_LAYER_INVALID,400,The very first request must always be InvokeWithLayerRequest |
|
|
CONNECTION_NOT_INITED,400,Connection not initialized |
|
|
CONNECTION_SYSTEM_EMPTY,400,Connection system empty |
|
|
CONNECTION_SYSTEM_LANG_CODE_EMPTY,400,The system language string was empty during connection |
|
|
CONTACT_ID_INVALID,400,The provided contact ID is invalid |
|
|
CONTACT_NAME_EMPTY,400,The provided contact name cannot be empty |
|
|
DATA_INVALID,400,Encrypted data invalid |
|
|
@@ -103,6 +109,7 @@ FILE_PART_SIZE_CHANGED,400,The file part size (chunk size) cannot change during |
|
|
FILE_PART_SIZE_INVALID,400,The provided file part size is invalid |
|
|
FILE_PART_X_MISSING,400,Part {which} of the file is missing from storage |
|
|
FILE_REFERENCE_EMPTY,400,The file reference must exist to access the media and it cannot be empty |
|
|
FILE_REFERENCE_EXPIRED,400,The file reference has expired and is no longer valid or it belongs to self-destructing media and cannot be resent |
|
|
FILEREF_UPGRADE_NEEDED,406,The file reference needs to be refreshed before being used again |
|
|
FIRSTNAME_INVALID,400,The first name is invalid |
|
|
FLOOD_TEST_PHONE_WAIT_X,420,A wait of {seconds} seconds is required in the test servers |
|
|
@@ -158,6 +165,7 @@ MESSAGE_ID_INVALID,400,"The specified message ID is invalid or you can't do that |
|
|
MESSAGE_NOT_MODIFIED,400,Content of the message was not modified |
|
|
MESSAGE_POLL_CLOSED,400,The poll was closed and can no longer be voted on |
|
|
MESSAGE_TOO_LONG,400,Message was too long. Current maximum length is 4096 UTF-8 characters |
|
|
METHOD_INVALID,400,The API method is invalid and cannot be used |
|
|
MSGID_DECREASE_RETRY,500,The request should be retried with a lower message ID |
|
|
MSG_ID_INVALID,400,The message ID used in the peer was invalid |
|
|
MSG_WAIT_FAILED,400,A waiting call returned an error |
|
|
@@ -178,7 +186,9 @@ PARTICIPANT_CALL_FAILED,500,Failure while making call |
|
|
PARTICIPANT_VERSION_OUTDATED,400,The other participant does not use an up to date telegram client with support for calls |
|
|
PASSWORD_EMPTY,400,The provided password is empty |
|
|
PASSWORD_HASH_INVALID,400,The password (and thus its hash value) you entered is invalid |
|
|
PASSWORD_MISSING,400,The account must have 2-factor authentication enabled (a password) before this method can be used |
|
|
PASSWORD_REQUIRED,400,The account must have 2-factor authentication enabled (a password) before this method can be used |
|
|
PASSWORD_TOO_FRESH_X,400,The password was added too recently and {seconds} seconds must pass before using the method |
|
|
PAYMENT_PROVIDER_INVALID,400,The payment provider was not recognised or its token was invalid |
|
|
PEER_FLOOD,,Too many requests |
|
|
PEER_ID_INVALID,400,An invalid Peer was used. Make sure to pass the right peer type |
|
|
@@ -248,6 +258,7 @@ SEND_MESSAGE_TYPE_INVALID,400,The message type is invalid |
|
|
SESSION_EXPIRED,401,The authorization has expired |
|
|
SESSION_PASSWORD_NEEDED,401,Two-steps verification is enabled and a password is required |
|
|
SESSION_REVOKED,401,"The authorization has been invalidated, because of the user terminating all sessions" |
|
|
SESSION_TOO_FRESH_X,400,The session logged in too recently and {seconds} seconds must pass before calling the method |
|
|
SHA256_HASH_INVALID,400,The provided SHA256 hash is invalid |
|
|
SHORTNAME_OCCUPY_FAILED,400,An error occurred when trying to register the short-name used for the sticker pack. Try a different name |
|
|
SLOWMODE_WAIT_X,420,A wait of {seconds} seconds is required before sending another message in this chat |
|
|
|