Skip to content

Commit 2348e7d

Browse files
committed
add some more errors
1 parent 6ddd7fc commit 2348e7d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

compiler/errors/source/400_BAD_REQUEST.tsv

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ CHANNEL_TOO_LARGE The channel is too large
5555
CHAT_ABOUT_NOT_MODIFIED The chat about text was not modified because you tried to edit it using the same content
5656
CHAT_ABOUT_TOO_LONG The chat about text is too long
5757
CHAT_ADMIN_REQUIRED The method requires chat admin privileges
58+
CHAT_DISCUSSION_UNALLOWED The chat discussion is not allowed
5859
CHAT_FORWARDS_RESTRICTED The chat restricts forwarding content
5960
CHAT_ID_EMPTY The provided chat id is empty
6061
CHAT_ID_INVALID The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it
@@ -168,9 +169,12 @@ MAX_QTS_INVALID The provided QTS is invalid
168169
MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
169170
MEDIA_CAPTION_TOO_LONG The media caption is too long
170171
MEDIA_EMPTY The media you tried to send is invalid
172+
MEDIA_FILE_INVALID The media file is invalid
171173
MEDIA_INVALID The media is invalid
172174
MEDIA_NEW_INVALID The new media to edit the message with is invalid
173175
MEDIA_PREV_INVALID The previous media cannot be edited with anything else
176+
MEDIA_TTL_INVALID The media ttl is invalid
177+
MEDIA_VIDEO_STORY_MISSING The media does not have a photo or a video
174178
MEGAGROUP_ID_INVALID The supergroup is invalid
175179
MEGAGROUP_PREHISTORY_HIDDEN The action failed because the supergroup has the pre-history hidden
176180
MEGAGROUP_REQUIRED The request can only be used with a supergroup
@@ -183,6 +187,7 @@ MESSAGE_POLL_CLOSED You can't interact with a closed poll
183187
MESSAGE_TOO_LONG The message text is too long
184188
METHOD_INVALID The API method is invalid and cannot be used
185189
MSG_ID_INVALID The message ID used in the peer was invalid
190+
MSG_VOICE_MISSING The message does not contain a voice message
186191
MSG_WAIT_FAILED A waiting call returned an error
187192
MULTI_MEDIA_TOO_LONG The album/media group contains too many items
188193
NEW_SALT_INVALID The new salt is invalid
@@ -240,6 +245,7 @@ POLL_OPTION_INVALID A poll option used invalid data (the data may be too long)
240245
POLL_QUESTION_INVALID The poll question is invalid
241246
POLL_UNSUPPORTED This layer does not support polls in the invoked method
242247
POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
248+
PREMIUM_ACCOUNT_REQUIRED The method requires a premium user account
243249
PRIVACY_KEY_INVALID The privacy key is invalid
244250
PRIVACY_TOO_LONG Your privacy exception list has exceeded the maximum capacity
245251
PRIVACY_VALUE_INVALID The privacy value is invalid
@@ -302,6 +308,7 @@ STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a pn
302308
STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided
303309
STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided
304310
STICKER_VIDEO_NOWEBM A webm video file was expected, but something else was provided
311+
STORIES_TOO_MUCH Too many stories in the current account
305312
TAKEOUT_INVALID The takeout id is invalid
306313
TAKEOUT_REQUIRED The method must be invoked inside a takeout session
307314
TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty
@@ -312,6 +319,7 @@ THEME_MIME_INVALID You cannot create this theme because the mime-type is invalid
312319
TMP_PASSWORD_DISABLED The temporary password is disabled
313320
TMP_PASSWORD_INVALID The temporary password is invalid
314321
TOKEN_INVALID The provided token is invalid
322+
TRANSCRIPTION_FAILED Telegram is having internal problems. Please try again later to transcribe the audio.
315323
TTL_DAYS_INVALID The provided TTL days is invalid
316324
TTL_MEDIA_INVALID The media does not support self-destruction
317325
TYPES_EMPTY The types parameter is empty

0 commit comments

Comments
 (0)