pyrofork: Add some errors to known errors

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
KurimuzonAkuma 2024-05-31 00:44:08 +03:00 committed by wulan17
parent ef002e0416
commit 3db7bd1dae
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5
3 changed files with 5 additions and 0 deletions

View file

@ -106,6 +106,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
@ -394,6 +395,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.
@ -459,3 +461,4 @@ MEDIA_FILE_INVALID The provided media file is invalid
CHANNEL_FORUM_MISSING The channel forum is missing
TTL_PERIOD_INVALID The provided TTL period is invalid
BOOSTS_REQUIRED Channel required more boost to upload a story
BOOSTS_EMPTY Boosts empty
1 id message
106 DOCUMENT_INVALID The document is invalid
107 EMAIL_HASH_EXPIRED The email hash expired and cannot be used to verify it
108 EMAIL_INVALID The email provided is invalid
109 EMAIL_NOT_ALLOWED This email is not allowed
110 EMAIL_UNCONFIRMED Email unconfirmed
111 EMAIL_UNCONFIRMED_X The provided email isn't confirmed, {value} is the length of the verification code that was just sent to the email
112 EMAIL_VERIFY_EXPIRED The verification email has expired
395 TOKEN_INVALID The provided token is invalid
396 TOPIC_CLOSED The topic was closed
397 TOPIC_DELETED The topic was deleted
398 TOPIC_ID_INVALID The provided topic ID is invalid
399 TOPIC_NOT_MODIFIED The topic was not modified
400 TO_LANG_INVALID The specified destination language is invalid
401 TRANSCRIPTION_FAILED Telegram is having internal problems. Please try again later to transcribe the audio.
461 CHANNEL_FORUM_MISSING The channel forum is missing
462 TTL_PERIOD_INVALID The provided TTL period is invalid
463 BOOSTS_REQUIRED Channel required more boost to upload a story
464 BOOSTS_EMPTY Boosts empty

View file

@ -10,6 +10,7 @@ INLINE_BOT_REQUIRED The action must be performed through an inline bot callback
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
10 MESSAGE_AUTHOR_REQUIRED You are not the author of this message
11 MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat, most likely because you are not the author of them
12 NOT_ALLOWED Not allowed
13 NOT_ELIGIBLE You are not eligible for this action
14 PARTICIPANT_JOIN_MISSING Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall
15 POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
16 PREMIUM_ACCOUNT_REQUIRED This action requires a premium account

View file

@ -2,6 +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
FLOOD_PREMIUM_WAIT_X A wait of {value} seconds is required
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

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 FLOOD_PREMIUM_WAIT_X A wait of {value} seconds is required
6 PREMIUM_SUB_ACTIVE_UNTIL_X A wait of {value} seconds is required
7 SLOWMODE_WAIT_X A wait of {value} seconds is required to send messages in this chat
8 STORY_SEND_FLOOD_X A wait of {value} seconds is required to continue posting stories