Add some errors to known errors

This commit is contained in:
KurimuzonAkuma 2024-05-31 00:44:08 +03:00
parent 714feda6ef
commit 5c01cb9466
2 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,7 @@ AUTOARCHIVE_NOT_AVAILABLE This feature is not yet enabled for your account due t
BANK_CARD_NUMBER_INVALID The credit card number is invalid
BANNED_RIGHTS_INVALID You provided a set of restrictions that is invalid
BASE_PORT_LOC_INVALID The base port location is invalid
BOOSTS_EMPTY Boosts empty
BOOSTS_REQUIRED Boosts required
BOTS_TOO_MUCH The chat has too many bots
BOT_CHANNELS_NA Bots can't edit admin privileges
@ -108,6 +109,7 @@ DH_G_A_INVALID The g_a parameter invalid
DOCUMENT_INVALID The document is invalid
EMAIL_HASH_EXPIRED The email hash expired and cannot be used to verify it
EMAIL_INVALID The email provided is invalid
EMAIL_NOT_ALLOWED This email is not allowed
EMAIL_UNCONFIRMED Email unconfirmed
EMAIL_UNCONFIRMED_X The provided email isn't confirmed, {value} is the length of the verification code that was just sent to the email
EMAIL_VERIFY_EXPIRED The verification email has expired
@ -398,6 +400,7 @@ TMP_PASSWORD_INVALID The temporary password is invalid
TOKEN_INVALID The provided token is invalid
TOPIC_CLOSED The topic was closed
TOPIC_DELETED The topic was deleted
TOPIC_ID_INVALID The provided topic ID is invalid
TOPIC_NOT_MODIFIED The topic was not modified
TO_LANG_INVALID The specified destination language is invalid
TRANSCRIPTION_FAILED Telegram is having internal problems. Please try again later to transcribe the audio.

1 id message
23 BANK_CARD_NUMBER_INVALID The credit card number is invalid
24 BANNED_RIGHTS_INVALID You provided a set of restrictions that is invalid
25 BASE_PORT_LOC_INVALID The base port location is invalid
26 BOOSTS_EMPTY Boosts empty
27 BOOSTS_REQUIRED Boosts required
28 BOTS_TOO_MUCH The chat has too many bots
29 BOT_CHANNELS_NA Bots can't edit admin privileges
109 DOCUMENT_INVALID The document is invalid
110 EMAIL_HASH_EXPIRED The email hash expired and cannot be used to verify it
111 EMAIL_INVALID The email provided is invalid
112 EMAIL_NOT_ALLOWED This email is not allowed
113 EMAIL_UNCONFIRMED Email unconfirmed
114 EMAIL_UNCONFIRMED_X The provided email isn't confirmed, {value} is the length of the verification code that was just sent to the email
115 EMAIL_VERIFY_EXPIRED The verification email has expired
400 TOKEN_INVALID The provided token is invalid
401 TOPIC_CLOSED The topic was closed
402 TOPIC_DELETED The topic was deleted
403 TOPIC_ID_INVALID The provided topic ID is invalid
404 TOPIC_NOT_MODIFIED The topic was not modified
405 TO_LANG_INVALID The specified destination language is invalid
406 TRANSCRIPTION_FAILED Telegram is having internal problems. Please try again later to transcribe the audio.

View File

@ -25,6 +25,7 @@ LIVE_DISABLED Story is disabled server-side
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
NOT_ALLOWED Not allowed
NOT_ELIGIBLE You are not eligible for this action
PARTICIPANT_JOIN_MISSING Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall
POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
PREMIUM_ACCOUNT_REQUIRED This action requires a premium account

1 id message
25 MESSAGE_AUTHOR_REQUIRED You are not the author of this message
26 MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat, most likely because you are not the author of them
27 NOT_ALLOWED Not allowed
28 NOT_ELIGIBLE You are not eligible for this action
29 PARTICIPANT_JOIN_MISSING Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall
30 POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
31 PREMIUM_ACCOUNT_REQUIRED This action requires a premium account