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
Copy file name to clipboardExpand all lines: compiler/errors/source/400_BAD_REQUEST.tsv
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,7 @@ DC_ID_INVALID The provided dc_id is invalid.
153
153
DH_G_A_INVALID The g_a parameter is invalid.
154
154
DOCUMENT_INVALID The specified document is invalid.
155
155
EFFECT_ID_INVALID The specified effect id is invalid.
156
+
EMAIL_CODE_EMPTY The email code is empty.
156
157
EMAIL_HASH_EXPIRED The email hash expired and cannot be used to verify it.
157
158
EMAIL_INVALID The specified email is invalid.
158
159
EMAIL_NOT_ALLOWED The specified email cannot be used to complete the operation.
@@ -182,6 +183,7 @@ EXTENDED_MEDIA_AMOUNT_INVALID The specified `stars_amount` of the passed [inputM
182
183
EXTENDED_MEDIA_PEER_INVALID The specified chat type is invalid.
183
184
EXTENDED_MEDIA_TYPE_INVALID The specified extended media type is unsupported.
184
185
EXTERNAL_URL_INVALID The external media URL is invalid.
186
+
FEATURE_DISABLED This feature is disabled.
185
187
FIELD_NAME_EMPTY The field with the name FIELD_NAME is missing.
186
188
FIELD_NAME_INVALID The field with the name FIELD_NAME is invalid.
187
189
FILE_CONTENT_TYPE_INVALID File content-type is invalid.
@@ -207,6 +209,7 @@ FILE_TITLE_EMPTY An empty file title was specified.
207
209
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.
208
210
FILTER_ID_INVALID The specified filter ID is invalid.
209
211
FILTER_INCLUDE_EMPTY The list of include_peers of the folder is empty.
212
+
FILTER_INCLUDE_TOO_MUCH You can't add more chats to this folder.
210
213
FILTER_NOT_SUPPORTED The specified filter cannot be used in this context.
211
214
FILTER_TITLE_EMPTY The title field of the filter is empty.
212
215
FIRSTNAME_INVALID The first name is invalid.
@@ -276,6 +279,7 @@ INVITE_REVOKED_MISSING The action required a chat invite link to be revoked firs
276
279
INVITE_SLUG_EMPTY The specified invite slug is empty.
277
280
INVITE_SLUG_EXPIRED The specified invite slug has expired.
278
281
INVITE_SLUG_INVALID The specified invite slug is invalid.
282
+
INVOICE_INVALID The specified invoice is invalid.
279
283
INVOICE_PAYLOAD_INVALID The specified invoice payload is invalid.
280
284
JOIN_AS_PEER_INVALID The specified peer cannot be used to join a group call.
281
285
LANGUAGE_INVALID The specified lang_code is invalid.
@@ -321,6 +325,7 @@ MSG_ID_INVALID The message ID used in the peer was invalid.
321
325
MSG_TOO_OLD chat_read_mark_expire_period have passed since the message was sent, read receipts were deleted.
322
326
MSG_VOICE_MISSING The message does not contain a voice message.
323
327
MSG_WAIT_FAILED A waiting call returned an error.
328
+
MTPROTO_CLUSTER_INVALID The MTProto cluster is invalid.
324
329
MULTI_MEDIA_TOO_LONG The album contains too many items.
325
330
NEW_SALT_INVALID The new salt is invalid.
326
331
NEW_SETTINGS_EMPTY No password is set on the current account, and no new password was specified in `new_settings`.
@@ -483,6 +488,7 @@ STARGIFT_MESSAGE_INVALID The provided message for this gift is invalid.
483
488
STARGIFT_NOT_FOUND The specified star gift was not found.
484
489
STARGIFT_NOT_OWNER You can't control this gift because it doesn't belong to you.
485
490
STARGIFT_OWNER_INVALID The specified gift owner is invalid.
491
+
STARGIFT_RESELL_CURRENCY_NOT_ALLOWED The currency provided for gift resell is not allowed.
486
492
STARGIFT_RESELL_NOT_ALLOWED You can't buy this gift. Someone else may have already bought it or this gift is not for sale.
487
493
STARGIFT_RESELL_TOO_EARLY_X A wait of {value} seconds is required to resell this gift.
488
494
STARGIFT_SLUG_INVALID The provided star gift slug is invalid (must match the format CollectionName-123).
@@ -530,6 +536,7 @@ STORY_ID_EMPTY You specified no story IDs.
530
536
STORY_ID_INVALID The specified story ID is invalid.
531
537
STORY_NOT_MODIFIED The new story information you passed is equal to the previous story information, thus it wasn't modified.
532
538
STORY_PERIOD_INVALID The specified story period is invalid for this account.
539
+
STORY_PUBLIC_MISSING The story you are trying to access or manipulate is not publicly available.
533
540
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.
534
541
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.
535
542
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).
@@ -607,6 +614,7 @@ USER_KICKED This user was kicked from this chat.
607
614
USER_NOT_MUTUAL_CONTACT The provided user is not a mutual contact.
608
615
USER_NOT_PARTICIPANT You're not a member of this chat.
609
616
USER_PUBLIC_MISSING The accounts username is missing.
617
+
USER_RIGHTS_MISSING The user rights is missing.
610
618
USER_VOLUME_INVALID The specified user volume is invalid.
611
619
VENUE_ID_INVALID The specified venue ID is invalid.
612
620
VIDEO_CONTENT_TYPE_INVALID The video content type is invalid (i.e.: not streamable).
Copy file name to clipboardExpand all lines: compiler/errors/source/401_UNAUTHORIZED.tsv
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ id message
2
2
ACTIVE_USER_REQUIRED The method is only available to already activated users.
3
3
AUTH_KEY_INVALID The specified auth key is invalid.
4
4
AUTH_KEY_PERM_EMPTY The method is unavailable for temporary authorization keys, not bound to a permanent authorization key.
5
-
AUTH_KEY_UNREGISTERED The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). . Delete your session file and login again.
5
+
AUTH_KEY_UNREGISTERED The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). Delete your session file and login again.
6
6
SESSION_EXPIRED The session has expired.
7
7
SESSION_PASSWORD_NEEDED The two-step verification is enabled, use a password to login.
8
8
SESSION_REVOKED The authorization has been invalidated, because of the user terminating all sessions.
Copy file name to clipboardExpand all lines: compiler/errors/source/403_FORBIDDEN.tsv
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ TAKEOUT_REQUIRED The method must be invoked inside a [takeout](https://core.tele
47
47
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.
48
48
USER_CHANNELS_TOO_MUCH One of the users you tried to add is already in too many channels/supergroups.
49
49
USER_DELETED You can't send this secret message because the other participant deleted their account.
50
+
USER_DISALLOWED_STARGIFTS You can't send gifts to this user due to their privacy settings.
50
51
USER_INVALID The provided user is invalid.
51
52
USER_IS_BLOCKED You were blocked by this user.
52
53
USER_NOT_MUTUAL_CONTACT The provided user is not a mutual contact.
Copy file name to clipboardExpand all lines: compiler/errors/source/406_NOT_ACCEPTABLE.tsv
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
idmessage
2
+
API_GIFT_RESTRICTED_UPDATE_APP Please update your Telegram app to send this gift.
2
3
AUTH_KEY_DUPLICATED The same authorization key (session file) was used in more than one place simultaneously, the current session was invalidated by the server for security reasons! You must delete your session file and log in again with your phone number or bot token.
3
4
BANNED_RIGHTS_INVALID You provided some invalid flags in the banned rights.
0 commit comments