Add some errors to known errors

This commit is contained in:
KurimuzonAkuma 2024-01-20 21:11:07 +03:00
parent f7d1e581ed
commit 0b97d0cbff
6 changed files with 20 additions and 15 deletions

View File

@ -57,8 +57,8 @@ CHANNEL_TOO_LARGE The channel is too large
CHAT_ABOUT_NOT_MODIFIED The chat about text was not modified because you tried to edit it using the same content
CHAT_ABOUT_TOO_LONG The chat about text is too long
CHAT_ADMIN_REQUIRED The method requires chat admin privileges
CHAT_FORWARDS_RESTRICTED The chat restricts forwarding content
CHAT_DISCUSSION_UNALLOWED The chat discussion is not allowed
CHAT_FORWARDS_RESTRICTED The chat restricts forwarding content
CHAT_ID_EMPTY The provided chat id is empty
CHAT_ID_INVALID The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it
CHAT_INVALID The chat is invalid
@ -137,9 +137,9 @@ FROM_MESSAGE_BOT_DISABLED Bots can't use fromMessage min constructors
FROM_PEER_INVALID The from peer value is invalid
GAME_BOT_INVALID You cannot send that game with the current bot
GEO_POINT_INVALID Invalid geo point provided
GIFT_SLUG_EXPIRED The gift slug is expired
GIF_CONTENT_TYPE_INVALID GIF content-type invalid
GIF_ID_INVALID The provided gif/animation id is invalid
GIFT_SLUG_EXPIRED The gift slug is expired
GRAPH_INVALID_RELOAD Invalid graph token provided, please reload the stats and provide the updated token
GRAPH_OUTDATED_RELOAD The graph data is outdated
GROUPCALL_SSRC_DUPLICATE_MUCH Too many group call synchronization source duplicates
@ -165,6 +165,7 @@ 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
INVITE_SLUG_EMPTY The invite slug is empty
INVITE_SLUG_EXPIRED The invite slug is expired
LANG_PACK_INVALID The provided language pack is invalid
LASTNAME_INVALID The last name is invalid
LIMIT_INVALID The limit parameter is invalid
@ -175,7 +176,7 @@ MAX_QTS_INVALID The provided QTS is invalid
MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
MEDIA_CAPTION_TOO_LONG The media caption is too long
MEDIA_EMPTY The media you tried to send is invalid
MEDIA_FILE_INVALID The media file is invalid
MEDIA_FILE_INVALID The provided media file is invalid
MEDIA_INVALID The media is invalid
MEDIA_NEW_INVALID The new media to edit the message with is invalid
MEDIA_PREV_INVALID The previous media cannot be edited with anything else
@ -267,6 +268,7 @@ RANDOM_ID_EMPTY The random ID is empty
RANDOM_ID_INVALID The provided random ID is invalid
RANDOM_LENGTH_INVALID The random length is invalid
RANGES_INVALID Invalid range provided
REACTIONS_TOO_MANY Non-premium users, can set up only one reaction per message
REACTION_EMPTY The reaction provided is empty
REACTION_INVALID Invalid reaction provided (only valid emoji are allowed)
REFLECTOR_NOT_AVAILABLE The call reflector is not available
@ -316,6 +318,7 @@ STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a pn
STICKER_TGS_NOTGS A tgs sticker 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
STORIES_NEVER_CREATED You have never created any stories
STORIES_TOO_MUCH Too many stories in the current account
STORY_PERIOD_INVALID The story period is invalid
TAKEOUT_INVALID The takeout id is invalid
@ -364,6 +367,7 @@ USER_IS_BOT A bot cannot send messages to other bots or to itself
USER_KICKED This user was kicked from this chat
USER_NOT_MUTUAL_CONTACT The user is not a mutual contact
USER_NOT_PARTICIPANT The user is not a member of this chat
USER_PUBLIC_MISSING The accounts username is missing
VIDEO_CONTENT_TYPE_INVALID The video content type is invalid (i.e.: not streamable)
VIDEO_FILE_INVALID The video file is invalid
VOICE_MESSAGES_FORBIDDEN Voice messages are restricted
@ -380,5 +384,3 @@ 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
STORIES_NEVER_CREATED You have never created any stories
MEDIA_FILE_INVALID The provided media file is invalid

1 id message
57 CHAT_ABOUT_NOT_MODIFIED The chat about text was not modified because you tried to edit it using the same content
58 CHAT_ABOUT_TOO_LONG The chat about text is too long
59 CHAT_ADMIN_REQUIRED The method requires chat admin privileges
CHAT_FORWARDS_RESTRICTED The chat restricts forwarding content
60 CHAT_DISCUSSION_UNALLOWED The chat discussion is not allowed
61 CHAT_FORWARDS_RESTRICTED The chat restricts forwarding content
62 CHAT_ID_EMPTY The provided chat id is empty
63 CHAT_ID_INVALID The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it
64 CHAT_INVALID The chat is invalid
137 FROM_PEER_INVALID The from peer value is invalid
138 GAME_BOT_INVALID You cannot send that game with the current bot
139 GEO_POINT_INVALID Invalid geo point provided
140 GIFT_SLUG_EXPIRED The gift slug is expired
141 GIF_CONTENT_TYPE_INVALID GIF content-type invalid
142 GIF_ID_INVALID The provided gif/animation id is invalid
GIFT_SLUG_EXPIRED The gift slug is expired
143 GRAPH_INVALID_RELOAD Invalid graph token provided, please reload the stats and provide the updated token
144 GRAPH_OUTDATED_RELOAD The graph data is outdated
145 GROUPCALL_SSRC_DUPLICATE_MUCH Too many group call synchronization source duplicates
165 INVITE_REQUEST_SENT The request to join this chat or channel has been successfully sent
166 INVITE_REVOKED_MISSING The action required a chat invite link to be revoked first
167 INVITE_SLUG_EMPTY The invite slug is empty
168 INVITE_SLUG_EXPIRED The invite slug is expired
169 LANG_PACK_INVALID The provided language pack is invalid
170 LASTNAME_INVALID The last name is invalid
171 LIMIT_INVALID The limit parameter is invalid
176 MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
177 MEDIA_CAPTION_TOO_LONG The media caption is too long
178 MEDIA_EMPTY The media you tried to send is invalid
179 MEDIA_FILE_INVALID The media file is invalid The provided media file is invalid
180 MEDIA_INVALID The media is invalid
181 MEDIA_NEW_INVALID The new media to edit the message with is invalid
182 MEDIA_PREV_INVALID The previous media cannot be edited with anything else
268 RANDOM_ID_INVALID The provided random ID is invalid
269 RANDOM_LENGTH_INVALID The random length is invalid
270 RANGES_INVALID Invalid range provided
271 REACTIONS_TOO_MANY Non-premium users, can set up only one reaction per message
272 REACTION_EMPTY The reaction provided is empty
273 REACTION_INVALID Invalid reaction provided (only valid emoji are allowed)
274 REFLECTOR_NOT_AVAILABLE The call reflector is not available
318 STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided
319 STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided
320 STICKER_VIDEO_NOWEBM A webm video file was expected, but something else was provided
321 STORIES_NEVER_CREATED You have never created any stories
322 STORIES_TOO_MUCH Too many stories in the current account
323 STORY_PERIOD_INVALID The story period is invalid
324 TAKEOUT_INVALID The takeout id is invalid
367 USER_KICKED This user was kicked from this chat
368 USER_NOT_MUTUAL_CONTACT The user is not a mutual contact
369 USER_NOT_PARTICIPANT The user is not a member of this chat
370 USER_PUBLIC_MISSING The accounts username is missing
371 VIDEO_CONTENT_TYPE_INVALID The video content type is invalid (i.e.: not streamable)
372 VIDEO_FILE_INVALID The video file is invalid
373 VOICE_MESSAGES_FORBIDDEN Voice messages are restricted
384 WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL
385 WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media
386 YOU_BLOCKED_USER You blocked this user
STORIES_NEVER_CREATED You have never created any stories
MEDIA_FILE_INVALID The provided media file is invalid

View File

@ -5,15 +5,15 @@ CHAT_ADMIN_INVITE_REQUIRED You don't have rights to invite other users
CHAT_ADMIN_REQUIRED The method requires chat admin privileges
CHAT_FORBIDDEN You cannot write in this chat
CHAT_GUEST_SEND_FORBIDDEN You need to join the discussion group before commenting
CHAT_SEND_AUDIOS_FORBIDDEN You can't send audio messages in this chat
CHAT_SEND_GAME_FORBIDDEN You can't send a game to this chat
CHAT_SEND_GIFS_FORBIDDEN You can't send animations in this chat
CHAT_SEND_INLINE_FORBIDDEN You cannot use inline bots to send messages in this chat
CHAT_SEND_MEDIA_FORBIDDEN You can't send media messages in this chat
CHAT_SEND_POLL_FORBIDDEN You can't send polls in this chat
CHAT_SEND_STICKERS_FORBIDDEN You can't send stickers in this chat
CHAT_SEND_AUDIOS_FORBIDDEN You can't send audio messages in this chat
CHAT_SEND_GAME_FORBIDDEN You can't send a game to this chat
CHAT_SEND_PHOTOS_FORBIDDEN You can't send photos in this chat
CHAT_SEND_PLAIN_FORBIDDEN You can't send non-media (text) messages in this chat
CHAT_SEND_POLL_FORBIDDEN You can't send polls in this chat
CHAT_SEND_STICKERS_FORBIDDEN You can't send stickers in this chat
CHAT_SEND_VIDEOS_FORBIDDEN You can't send videos in this chat
CHAT_SEND_VOICES_FORBIDDEN You can't send voice recordings in this chat
CHAT_WRITE_FORBIDDEN You don't have rights to send messages in this chat
@ -25,6 +25,7 @@ MESSAGE_AUTHOR_REQUIRED You are not the author of this message
MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat, most likely because you are not the author of them
POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
PREMIUM_ACCOUNT_REQUIRED This action requires a premium account
PRIVACY_PREMIUM_REQUIRED The user has restricted from sending messages or this action requires a premium account
RIGHT_FORBIDDEN You don't have enough rights for this action, or you tried to set one or more admin rights that can't be applied to this kind of chat (channel or supergroup)
SENSITIVE_CHANGE_FORBIDDEN Your sensitive content settings can't be changed at this time
TAKEOUT_REQUIRED The method must be invoked inside a takeout session

1 id message
5 CHAT_ADMIN_REQUIRED The method requires chat admin privileges
6 CHAT_FORBIDDEN You cannot write in this chat
7 CHAT_GUEST_SEND_FORBIDDEN You need to join the discussion group before commenting
8 CHAT_SEND_AUDIOS_FORBIDDEN You can't send audio messages in this chat
9 CHAT_SEND_GAME_FORBIDDEN You can't send a game to this chat
10 CHAT_SEND_GIFS_FORBIDDEN You can't send animations in this chat
11 CHAT_SEND_INLINE_FORBIDDEN You cannot use inline bots to send messages in this chat
12 CHAT_SEND_MEDIA_FORBIDDEN You can't send media messages in this chat
CHAT_SEND_POLL_FORBIDDEN You can't send polls in this chat
CHAT_SEND_STICKERS_FORBIDDEN You can't send stickers in this chat
CHAT_SEND_AUDIOS_FORBIDDEN You can't send audio messages in this chat
CHAT_SEND_GAME_FORBIDDEN You can't send a game to this chat
13 CHAT_SEND_PHOTOS_FORBIDDEN You can't send photos in this chat
14 CHAT_SEND_PLAIN_FORBIDDEN You can't send non-media (text) messages in this chat
15 CHAT_SEND_POLL_FORBIDDEN You can't send polls in this chat
16 CHAT_SEND_STICKERS_FORBIDDEN You can't send stickers in this chat
17 CHAT_SEND_VIDEOS_FORBIDDEN You can't send videos in this chat
18 CHAT_SEND_VOICES_FORBIDDEN You can't send voice recordings in this chat
19 CHAT_WRITE_FORBIDDEN You don't have rights to send messages in this chat
25 MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat, most likely because you are not the author of them
26 POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
27 PREMIUM_ACCOUNT_REQUIRED This action requires a premium account
28 PRIVACY_PREMIUM_REQUIRED The user has restricted from sending messages or this action requires a premium account
29 RIGHT_FORBIDDEN You don't have enough rights for this action, or you tried to set one or more admin rights that can't be applied to this kind of chat (channel or supergroup)
30 SENSITIVE_CHANGE_FORBIDDEN Your sensitive content settings can't be changed at this time
31 TAKEOUT_REQUIRED The method must be invoked inside a takeout session

View File

@ -2,5 +2,7 @@ id message
2FA_CONFIRM_WAIT_X A wait of {value} seconds is required because this account is active and protected by a 2FA password
FLOOD_TEST_PHONE_WAIT_X A wait of {value} seconds is required in the test servers
FLOOD_WAIT_X A wait of {value} seconds is required
SLOWMODE_WAIT_X A wait of {value} seconds is required to send messages in this chat.
PREMIUM_SUB_ACTIVE_UNTIL_X A wait of {value} seconds is required
SLOWMODE_WAIT_X A wait of {value} seconds is required to send messages in this chat
STORY_SEND_FLOOD_X A wait of {value} seconds is required to continue posting stories
TAKEOUT_INIT_DELAY_X You have to confirm the data export request using one of your mobile devices or wait {value} seconds
1 id message
2 2FA_CONFIRM_WAIT_X A wait of {value} seconds is required because this account is active and protected by a 2FA password
3 FLOOD_TEST_PHONE_WAIT_X A wait of {value} seconds is required in the test servers
4 FLOOD_WAIT_X A wait of {value} seconds is required
5 SLOWMODE_WAIT_X PREMIUM_SUB_ACTIVE_UNTIL_X A wait of {value} seconds is required to send messages in this chat. A wait of {value} seconds is required
6 SLOWMODE_WAIT_X A wait of {value} seconds is required to send messages in this chat
7 STORY_SEND_FLOOD_X A wait of {value} seconds is required to continue posting stories
8 TAKEOUT_INIT_DELAY_X You have to confirm the data export request using one of your mobile devices or wait {value} seconds

View File

@ -8,6 +8,7 @@ CHAT_OCCUPY_USERNAME_FAILED Failure to occupy chat username due to Telegram havi
CHP_CALL_FAIL Telegram is having internal problems. Please try again later
ENCRYPTION_OCCUPY_ADMIN_FAILED Failed occupying memory for admin info due to Telegram having internal problems. Please try again later
ENCRYPTION_OCCUPY_FAILED Internal server error while accepting secret chat
FILE_WRITE_FAILED Telegram is having internal problems. Please try again later
FOLDER_DEAC_AUTOFIX_ALL Telegram is having internal problems. Please try again later
GROUPCALL_ADD_PARTICIPANTS_FAILED Failure while adding voice chat member due to Telegram having internal problems. Please try again later
GROUPED_ID_OCCUPY_FAILED Telegram is having internal problems. Please try again later
@ -43,4 +44,3 @@ UPLOAD_NO_VOLUME Telegram is having internal problems. Please try again later
VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later
WORKER_BUSY_TOO_LONG_RETRY Server workers are too busy right now due to Telegram having internal problems. Please try again later
WP_ID_GENERATE_FAILED Telegram is having internal problems. Please try again later
FILE_WRITE_FAILED Telegram is having internal problems. Please try again later

1 id message
8 CHP_CALL_FAIL Telegram is having internal problems. Please try again later
9 ENCRYPTION_OCCUPY_ADMIN_FAILED Failed occupying memory for admin info due to Telegram having internal problems. Please try again later
10 ENCRYPTION_OCCUPY_FAILED Internal server error while accepting secret chat
11 FILE_WRITE_FAILED Telegram is having internal problems. Please try again later
12 FOLDER_DEAC_AUTOFIX_ALL Telegram is having internal problems. Please try again later
13 GROUPCALL_ADD_PARTICIPANTS_FAILED Failure while adding voice chat member due to Telegram having internal problems. Please try again later
14 GROUPED_ID_OCCUPY_FAILED Telegram is having internal problems. Please try again later
44 VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later
45 WORKER_BUSY_TOO_LONG_RETRY Server workers are too busy right now due to Telegram having internal problems. Please try again later
46 WP_ID_GENERATE_FAILED Telegram is having internal problems. Please try again later
FILE_WRITE_FAILED Telegram is having internal problems. Please try again later

View File

@ -1,4 +1,4 @@
id message
ApiCallError Telegram is having internal problems. Please try again later.
Timeout Telegram is having internal problems. Please try again later.
Timedout Telegram is having internal problems. Please try again later.
Timeout Telegram is having internal problems. Please try again later.
1 id message
2 ApiCallError Telegram is having internal problems. Please try again later.
Timeout Telegram is having internal problems. Please try again later.
3 Timedout Telegram is having internal problems. Please try again later.
4 Timeout Telegram is having internal problems. Please try again later.