|
|
|
@@ -28,6 +28,7 @@ BOT_INLINE_DISABLED The inline feature of the bot is disabled
|
|
|
|
|
BOT_INVALID This is not a valid bot
|
|
|
|
|
BOT_METHOD_INVALID The method can't be used by bots
|
|
|
|
|
BOT_MISSING This method can only be run by a bot
|
|
|
|
|
BOT_ONESIDE_NOT_AVAIL Bots can't pin messages for one side only in private chats
|
|
|
|
|
BOT_PAYMENTS_DISABLED This method can only be run by a bot
|
|
|
|
|
BOT_POLLS_DISABLED Sending polls by bots has been disabled
|
|
|
|
|
BOT_RESPONSE_TIMEOUT The bot did not answer to the callback query in time
|
|
|
|
@@ -101,6 +102,7 @@ ENCRYPTION_ALREADY_DECLINED The secret chat is 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 The message entity bounds are invalid
|
|
|
|
|
ENTITY_MENTION_USER_INVALID The mentioned entity is not an user
|
|
|
|
|
ERROR_TEXT_EMPTY The provided error message is empty
|
|
|
|
|
EXPIRE_DATE_INVALID The expiration date is invalid
|
|
|
|
@@ -154,6 +156,7 @@ INPUT_USER_DEACTIVATED The target user has been deleted/deactivated
|
|
|
|
|
INVITE_HASH_EMPTY The invite hash is empty
|
|
|
|
|
INVITE_HASH_EXPIRED The chat invite link is no longer valid
|
|
|
|
|
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_REVOKED_MISSING The action required a chat invite link to be revoked first
|
|
|
|
|
LANG_PACK_INVALID The provided language pack is invalid
|
|
|
|
|
LASTNAME_INVALID The last name is invalid
|
|
|
|
@@ -297,8 +300,8 @@ STICKER_INVALID The provided sticker is 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_TGS_NOTGS A tgs sticker file was expected, but something else was provided
|
|
|
|
|
STICKER_VIDEO_NOWEBM A webm video 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_NOWEBM A webm video file was expected, but something else was provided
|
|
|
|
|
TAKEOUT_INVALID The takeout id is invalid
|
|
|
|
|
TAKEOUT_REQUIRED The method must be invoked inside a takeout session
|
|
|
|
|
TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty
|
|
|
|
@@ -354,7 +357,4 @@ WEBDOCUMENT_URL_EMPTY The web document URL is empty
|
|
|
|
|
WEBDOCUMENT_URL_INVALID The web document 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
|
|
|
|
|
YOU_BLOCKED_USER You blocked this user
|
|
|
|
|
ENTITY_BOUNDS_INVALID The message entity bounds are invalid
|
|
|
|
|
BOT_ONESIDE_NOT_AVAIL Bots can't pin messages for one side only in private chats
|
|
|
|
|
INVITE_REQUEST_SENT The request to join this chat or channel has been successfully sent
|
|
|
|
|
YOU_BLOCKED_USER You blocked this user
|