You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ADMIN_RANK_INVALID The specified admin rank is invalid.
11
11
ADMIN_RIGHTS_EMPTY The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).
12
12
AD_EXPIRED The ad has expired (too old or not found).
13
+
AICOMPOSE_TONE_INVALID The specified tone is invalid.
14
+
AICOMPOSE_TONE_TITLE_INVALID The specified tone title is invalid.
13
15
ALBUM_PHOTOS_TOO_MANY You have uploaded too many profile photos, delete some before retrying.
14
16
API_ID_INVALID API ID invalid.
15
17
API_ID_PUBLISHED_FLOOD This API id was published somewhere, you can't use it now.
@@ -27,6 +29,7 @@ BALANCE_TOO_LOW The transaction cannot be completed because the current [Telegra
27
29
BANK_CARD_NUMBER_INVALID The specified card number is invalid.
28
30
BANNED_RIGHTS_INVALID You provided some invalid flags in the banned rights.
29
31
BASE_PORT_LOC_INVALID The base port location is invalid
32
+
BIRTHDAY_ALREADY The target user already has a birthday set.
30
33
BIRTHDAY_INVALID An invalid age was specified, must be between 0 and 150 years.
31
34
BOOSTS_EMPTY No boost slots were specified.
32
35
BOOSTS_REQUIRED The specified channel must first be [boosted by its users](https://core.telegram.org/api/boost) in order to perform this action.
@@ -41,10 +44,13 @@ BOT_BUSINESS_MISSING The specified bot is not a business bot (the [user](https:/
41
44
BOT_CHANNELS_NA Bots can't edit admin privileges.
42
45
BOT_COMMAND_DESCRIPTION_INVALID The specified command description is invalid.
43
46
BOT_COMMAND_INVALID The specified command is invalid.
47
+
BOT_CREATE_LIMIT_EXCEEDED
48
+
The current user already owns the maximum allowed number of owned bots, as specified by [`bots_create_limit_default` »](https://core.telegram.org/api/config#bots-create-limit-default) and [`bots_create_limit_premium` »](https://core.telegram.org/api/config#bots-create-limit-premium); if the current user doesn't have Telegram Premium, upgrading to Premium will allow them to create more bots. .
44
49
BOT_DOMAIN_INVALID Bot domain invalid.
45
50
BOT_FALLBACK_UNSUPPORTED The fallback flag can't be set for bots.
46
51
BOT_GAMES_DISABLED Games can't be sent to channels.
47
52
BOT_GROUPS_BLOCKED This bot can't be added to groups.
53
+
BOT_ID_INVALID The specified bot ID is invalid.
48
54
BOT_INLINE_DISABLED This bot can't be used in inline mode.
49
55
BOT_INVALID This is not a valid bot.
50
56
BOT_INVOICE_INVALID The specified invoice is invalid.
@@ -79,6 +85,7 @@ BUTTON_USER_INVALID The `user_id` passed to inputKeyboardButtonUserProfile is in
79
85
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.
80
86
CALL_ALREADY_ACCEPTED The call was already accepted.
81
87
CALL_ALREADY_DECLINED The call was already declined.
88
+
CALL_NOT_ACTIVE The specified call is not active.
82
89
CALL_OCCUPY_FAILED The call failed because the user is already making another call.
83
90
CALL_PEER_INVALID The provided call peer object is invalid.
@@ -123,11 +130,13 @@ CHAT_REVOKE_DATE_UNSUPPORTED `min_date` and `max_date` are not available for usi
123
130
CHAT_SEND_INLINE_FORBIDDEN You can't send inline messages in this group.
124
131
CHAT_TITLE_EMPTY No chat title provided.
125
132
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).
133
+
CHAT_WRITE_FORBIDDEN You can't write in this chat.
126
134
CODE_EMPTY The provided code is empty.
127
135
CODE_HASH_INVALID Code hash invalid.
128
136
CODE_INVALID Code invalid.
129
137
COLLECTIBLE_INVALID The specified collectible is invalid.
130
138
COLLECTIBLE_NOT_FOUND The specified collectible could not be found.
139
+
COLLECTION_ID_INVALID The specified collection ID is invalid.
131
140
COLOR_INVALID The specified color palette ID was invalid.
132
141
CONNECTION_API_ID_INVALID The provided API id is invalid.
133
142
CONNECTION_APP_VERSION_EMPTY App version is empty.
@@ -144,6 +153,7 @@ CONTACT_MISSING The specified user is not a contact.
144
153
CONTACT_NAME_EMPTY Contact name empty.
145
154
CONTACT_REQ_MISSING Missing contact request.
146
155
CREATE_CALL_FAILED An error occurred while creating the call.
156
+
CREDENTIAL_INVALID The specified credential is invalid.
147
157
CURRENCY_TOTAL_AMOUNT_INVALID The total amount of all prices is invalid.
148
158
CUSTOM_REACTIONS_TOO_MANY Too many custom reactions were specified.
149
159
DATA_HASH_SIZE_INVALID The size of the specified secureValueErrorData.data_hash is invalid.
@@ -156,6 +166,7 @@ DH_G_A_INVALID g_a invalid.
156
166
DOCUMENT_INVALID The specified document is invalid.
157
167
EFFECT_ID_INVALID The specified effect ID is invalid.
158
168
EMAIL_HASH_EXPIRED Email hash expired.
169
+
EMAIL_INSTALL_MISSING Attempting to send a code to the recovery email, but no email is configured.
159
170
EMAIL_INVALID The specified email is invalid.
160
171
EMAIL_NOT_ALLOWED The specified email cannot be used to complete the operation.
161
172
EMAIL_NOT_SETUP In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup.
@@ -175,12 +186,15 @@ ENCRYPTION_DECLINED The secret chat was declined.
175
186
ENCRYPTION_ID_INVALID The provided secret chat ID is invalid.
176
187
ENTITIES_TOO_LONG You provided too many styled message entities.
177
188
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.
189
+
ENTITY_DATE_FORMAT_INVALID One of the passed messageEntityFormattedDate objects has an invalid format (i.e. an invalid combination of the format flags).
190
+
ENTITY_DATE_INVALID One of the passed messageEntityFormattedDate objects has an invalid date: the allowed value ranges from `0` to the current date plus 1098 days (`time()+1098*86400`).
178
191
ENTITY_MENTION_USER_INVALID You mentioned an invalid user.
179
192
ERROR_TEXT_EMPTY The provided error message is empty.
180
193
EXPIRES_AT_INVALID The specified `expires_at` timestamp is invalid.
181
194
EXPIRE_DATE_INVALID The specified expiration date is invalid.
182
195
EXPORT_CARD_INVALID Provided card is invalid.
183
196
EXTENDED_MEDIA_AMOUNT_INVALID The specified `stars_amount` of the passed [inputMediaPaidMedia](https://core.telegram.org/constructor/inputMediaPaidMedia) is invalid.
197
+
EXTENDED_MEDIA_EMPTY The specified extended media is empty.
184
198
EXTENDED_MEDIA_INVALID The specified paid media is invalid.
185
199
EXTERNAL_URL_INVALID External URL invalid.
186
200
FIELD_NAME_EMPTY The field with the name FIELD_NAME is missing
@@ -201,6 +215,7 @@ FILE_PART_X_MISSING Part {value} of the file is missing from storage. Try repeat
201
215
FILE_REFERENCE_EMPTY An empty [file reference](https://core.telegram.org/api/file-references) was specified.
202
216
FILE_REFERENCE_EXPIRED File reference expired, it must be refetched as described in [the documentation](https://core.telegram.org/api/file-references).
203
217
FILE_REFERENCE_INVALID The specified [file reference](https://core.telegram.org/api/file-references) is invalid.
218
+
FILE_REFERENCE_X_EMPTY The file reference of the media file at offset {value} in the multi_media array is invalid.
204
219
FILE_REFERENCE_X_EXPIRED The file reference of the media file at index {value} in the passed media array expired, it [must be refreshed as specified in the documentation](https://core.telegram.org/api/file-references). .
205
220
FILE_REFERENCE_X_INVALID The [file reference](https://core.telegram.org/api/file-references) of the media file at index {value} in the passed media array is invalid.
206
221
FILE_TITLE_EMPTY An empty file title was specified.
@@ -265,6 +280,8 @@ INPUT_METHOD_INVALID The specified method is invalid.
265
280
INPUT_PEERS_EMPTY The specified peer array is empty.
266
281
INPUT_PURPOSE_INVALID The specified payment purpose is invalid.
267
282
INPUT_REQUEST_TOO_LONG The request payload is too long.
283
+
INPUT_STARS_AMOUNT_INVALID The specified offer amount in stars is invalid, see [here »](https://core.telegram.org/api/gifts#collectible-gift-purchase-offers) for the allowed range.
284
+
INPUT_STARS_NANOS_INVALID The specified offer amount in nanotons is invalid, see [here »](https://core.telegram.org/api/gifts#collectible-gift-purchase-offers) for the allowed range.
268
285
INPUT_TEXT_EMPTY The specified text is empty.
269
286
INPUT_TEXT_TOO_LONG The specified text is too long.
270
287
INPUT_USER_DEACTIVATED The specified user was deleted.
@@ -287,8 +304,11 @@ LANG_CODE_NOT_SUPPORTED The specified language code is not supported.
287
304
LANG_PACK_INVALID The provided language pack is invalid.
288
305
LASTNAME_INVALID The last name is invalid.
289
306
LIMIT_INVALID The provided limit is invalid.
307
+
LIMIT_PER_POST_INVALID The specified reactions_limit value is invalid.
290
308
LINK_NOT_MODIFIED Discussion link not modified.
291
309
LOCATION_INVALID The provided location is invalid.
310
+
MANAGER_INVALID The specified manager bot is invalid.
311
+
MANAGER_PERMISSION_MISSING The specified manager bot does not have the [user](https://core.telegram.org/constructor/user).`bot_can_manage_bots` flag set.
292
312
MAX_DATE_INVALID The specified maximum date is invalid.
293
313
MAX_ID_INVALID The provided max ID is invalid.
294
314
MAX_QTS_INVALID The specified max_qts is invalid.
@@ -315,6 +335,7 @@ MESSAGE_ID_INVALID The provided message id is invalid.
315
335
MESSAGE_NOT_MODIFIED The provided message data is identical to the previous message data, the message wasn't modified.
316
336
MESSAGE_NOT_READ_YET The specified message wasn't read yet.
317
337
MESSAGE_POLL_CLOSED Poll closed.
338
+
MESSAGE_REQUIRED A non-empty list of IDs must be passed to `id`.
318
339
MESSAGE_TOO_LONG The provided message is too long.
319
340
MESSAGE_TOO_OLD The message is too old, the requested information is not available.
320
341
METHOD_INVALID The specified method is invalid.
@@ -323,8 +344,10 @@ MONTH_INVALID The number of months specified in inputInvoicePremiumGiftStars.mon
323
344
MSG_ID_INVALID Invalid message ID provided.
324
345
MSG_TOO_OLD [`chat_read_mark_expire_period` seconds](https://core.telegram.org/api/config#chat-read-mark-expire-period) have passed since the message was sent, read receipts were deleted.
325
346
MSG_VOICE_MISSING The specified message is not a voice message.
347
+
MSG_VOICE_TOO_LONG The specified voice message is too long to be transcribed.
326
348
MSG_WAIT_FAILED A waiting call returned an error.
327
349
MULTI_MEDIA_TOO_LONG Too many media files for album.
350
+
NAME_INVALID The specified bot name is invalid.
328
351
NEW_SALT_INVALID The new salt is invalid.
329
352
NEW_SETTINGS_EMPTY No password is set on the current account, and no new password was specified in `new_settings`.
330
353
NEW_SETTINGS_INVALID The new password settings are invalid.
@@ -347,6 +370,7 @@ PARTICIPANTS_TOO_FEW Not enough participants.
347
370
PARTICIPANT_ID_INVALID The specified participant ID is invalid.
348
371
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).
349
372
PARTICIPANT_VERSION_OUTDATED The other participant does not use an up to date telegram client with support for calls.
373
+
PASSKEY_ORIGIN_MISMATCH Third-party clients currently don't support passkeys even when changing the origin.
350
374
PASSWORD_EMPTY The provided password is empty.
351
375
PASSWORD_HASH_INVALID The provided password hash is invalid.
352
376
PASSWORD_MISSING You must [enable 2FA](https://core.telegram.org/api/srp) before executing this operation.
@@ -392,6 +416,7 @@ PHOTO_THUMB_URL_EMPTY Photo thumbnail URL is empty.
392
416
PHOTO_THUMB_URL_INVALID The photo thumb URL is invalid
393
417
PINNED_DIALOGS_TOO_MUCH Too many pinned dialogs.
394
418
PINNED_TOO_MUCH There are too many pinned topics, unpin some first.
419
+
PINNED_TOPIC_NOT_MODIFIED The specified topic is already pinned.
395
420
PIN_RESTRICTED You can't pin messages.
396
421
PLATFORM_INVALID The provided platform is invalid. Allowed values are "android", "ios", "wp", "bb", "desktop", "web", "ubp", "other".
397
422
POLL_ANSWERS_INVALID Invalid poll answers were provided.
@@ -403,11 +428,14 @@ POLL_UNSUPPORTED This layer does not support polls in the invoked method
403
428
POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
404
429
PREMIUM_ACCOUNT_REQUIRED A premium account is required to execute this action.
405
430
PREMIUM_GIFTCODE_WAS_REFUNDED This gift code can't be redeemed because the giveaway organizer requested a refund
431
+
PREMIUM_PURPOSE_INVALID The specified InputStorePaymentPurpose is invalid.
406
432
PREMIUM_SUB_ACTIVE_UNTIL_X You already have a premium subscription active until unixtime {value} .
407
433
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).
408
434
PRIVACY_KEY_INVALID The privacy key is invalid.
409
435
PRIVACY_TOO_LONG Too many privacy rules were specified, the current limit is 1000.
410
436
PRIVACY_VALUE_INVALID The specified privacy rule combination is invalid.
437
+
PUBLIC_BROADCAST_EXPECTED `channel` only accepts a channel, but a supergroup was passed.
438
+
PUBLIC_KEY_INVALID The specified e2e public key is invalid.
411
439
PUBLIC_KEY_REQUIRED A public key is required.
412
440
PURPOSE_INVALID The specified payment purpose is invalid.
413
441
QUERY_ID_EMPTY The query ID is empty.
@@ -442,7 +470,10 @@ REPLY_MESSAGE_ID_INVALID The specified reply-to message ID is invalid.
442
470
REPLY_TO_INVALID The specified `reply_to` field is invalid.
443
471
REPLY_TO_MONOFORUM_PEER_INVALID The specified inputReplyToMonoForum.monoforum_peer_id is invalid.
444
472
REPLY_TO_USER_INVALID The replied-to user is invalid.
473
+
REQUEST_MSG_EXPIRED The request specified in request_msg_id has already expired.
445
474
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.
475
+
RESELL_STARS_TOO_FEW The offered price is too low.
476
+
RESELL_STARS_TOO_MUCH The offered price is too high.
446
477
RESET_REQUEST_MISSING No password reset is in progress.
447
478
RESULTS_TOO_MUCH Too many results were provided.
448
479
RESULT_ID_DUPLICATE You provided a duplicate result ID.
@@ -490,11 +521,19 @@ SRP_PASSWORD_CHANGED Password has changed.
490
521
STARGIFT_ALREADY_CONVERTED The specified star gift was already converted to Stars.
491
522
STARGIFT_ALREADY_REFUNDED The specified star gift was already refunded.
492
523
STARGIFT_ALREADY_UPGRADED The specified gift was already upgraded to a collectible gift.
524
+
STARGIFT_ATTRIBUTE_INVALID One of the specified star gift attributes is invalid.
493
525
STARGIFT_INVALID The passed gift is invalid.
526
+
STARGIFT_MESSAGE_INVALID The specified inputInvoiceStarGift.message is invalid.
494
527
STARGIFT_NOT_FOUND The specified gift was not found.
528
+
STARGIFT_NOT_OWNER You're not the owner of the gift you trying to transfer.
529
+
STARGIFT_NOT_UNIQUE You can't transfer a non-collectible gift.
530
+
STARGIFT_OBJECT_INVALID The specified star gift object is invalid.
531
+
STARGIFT_OFFER_INVALID The specified offer amount is invalid.
532
+
STARGIFT_OFFER_NOT_ALLOWED You can't send a purchase offer for this gift.
495
533
STARGIFT_OWNER_INVALID You cannot transfer or sell a gift owned by another user.
496
534
STARGIFT_PEER_INVALID The specified inputSavedStarGiftChat.peer is invalid.
497
535
STARGIFT_RESELL_CURRENCY_NOT_ALLOWED You can't buy the gift using the specified currency (i.e. trying to pay in Stars for TON gifts).
536
+
STARGIFT_RESELL_TOO_EARLY_X You will be able to resell this gift in {value} seconds.
498
537
STARGIFT_SLUG_INVALID The specified gift slug is invalid.
499
538
STARGIFT_TRANSFER_TOO_EARLY_X You cannot transfer this gift yet, wait {value} seconds.
500
539
STARGIFT_UPGRADE_UNAVAILABLE A received gift can only be upgraded to a collectible gift if the [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift)/[savedStarGift](https://core.telegram.org/constructor/savedStarGift).`can_upgrade` flag is set.
@@ -536,6 +575,7 @@ STORIES_NEVER_CREATED This peer hasn't ever posted any stories.
536
575
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.
537
576
STORY_ID_EMPTY You specified no story IDs.
538
577
STORY_ID_INVALID The specified story ID is invalid.
578
+
STORY_LIVE_ALREADY_X This peer already has an active live story, and its ID is equal to {value}.
539
579
STORY_NOT_MODIFIED The new story information you passed is equal to the previous story information, thus it wasn't modified.
540
580
STORY_PERIOD_INVALID The specified story period is invalid for this account.
541
581
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.
@@ -566,6 +606,7 @@ TITLE_INVALID The specified stickerpack title is invalid.
566
606
TMP_PASSWORD_DISABLED The temporary password is disabled.
567
607
TMP_PASSWORD_INVALID The passed tmp_password is invalid.
568
608
TODO_ITEMS_EMPTY A checklist was specified, but no [checklist items](https://core.telegram.org/api/todo) were passed.
609
+
TODO_ITEMS_TOO_MUCH You specified too many todo list items.
TODO_NOT_MODIFIED No todo items were specified, so no changes were made to the todo list.
571
612
TOKEN_EMPTY The specified token is empty.
@@ -591,6 +632,7 @@ TYPES_EMPTY No top peer type was provided.
591
632
TYPE_CONSTRUCTOR_INVALID The type constructor is invalid
592
633
UNSUPPORTED `require_payment` cannot be *set* by users, only by monoforums: users must instead use the [inputPrivacyKeyNoPaidMessages](https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages) privacy setting to remove a previously added exemption.
593
634
UNTIL_DATE_INVALID Invalid until date provided.
635
+
URL_EXPIRED The specified OAuth request has expired.
594
636
URL_INVALID Invalid URL provided.
595
637
USAGE_LIMIT_INVALID The specified usage limit is invalid.
596
638
USERNAMES_ACTIVE_TOO_MUCH The maximum number of active usernames was reached.
@@ -599,6 +641,7 @@ USERNAME_NOT_MODIFIED The username was not modified.
599
641
USERNAME_NOT_OCCUPIED The provided username is not occupied.
600
642
USERNAME_OCCUPIED The provided username is already occupied.
601
643
USERNAME_PURCHASE_AVAILABLE The specified username can be purchased on https://fragment.com.
644
+
USERNAME_SUFFIX_MISSING The required `bot` suffix is missing from the passed username.
602
645
USERPIC_UPLOAD_REQUIRED You must have a profile picture to publish your geolocation.
603
646
USERS_TOO_FEW Not enough users (to create a chat, for example).
604
647
USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example).
@@ -624,6 +667,7 @@ USER_PUBLIC_MISSING Cannot generate a link to stories posted by a peer without a
624
667
USER_VOLUME_INVALID The specified user volume is invalid.
625
668
VENUE_ID_INVALID The specified venue ID is invalid.
626
669
VIDEO_CONTENT_TYPE_INVALID The video's content type is invalid.
670
+
VIDEO_DURATION_INVALID The duration of the specified video is invalid.
627
671
VIDEO_FILE_INVALID The specified video file is invalid.
628
672
VIDEO_PAUSE_FORBIDDEN You cannot pause the video stream.
629
673
VIDEO_STOP_FORBIDDEN You cannot stop the video stream.
@@ -635,6 +679,8 @@ WALLPAPER_INVALID The specified wallpaper is invalid.
635
679
WALLPAPER_MIME_INVALID The specified wallpaper MIME type is invalid.
636
680
WALLPAPER_NOT_FOUND The specified wallpaper could not be found.
637
681
WC_CONVERT_URL_INVALID WC convert URL invalid.
682
+
WEBAPP_REQ_ID_INVALID The specified webapp_req_id is invalid.
683
+
WEBAUTH_TOKEN_EXPIRED The specified auth token has expired.
0 commit comments