From 3db7bd1dae26f92ee6c40fdc15d7ad6216b27269 Mon Sep 17 00:00:00 2001 From: KurimuzonAkuma Date: Fri, 31 May 2024 00:44:08 +0300 Subject: [PATCH] pyrofork: Add some errors to known errors Signed-off-by: wulan17 --- compiler/errors/source/400_BAD_REQUEST.tsv | 3 +++ compiler/errors/source/403_FORBIDDEN.tsv | 1 + compiler/errors/source/420_FLOOD.tsv | 1 + 3 files changed, 5 insertions(+) diff --git a/compiler/errors/source/400_BAD_REQUEST.tsv b/compiler/errors/source/400_BAD_REQUEST.tsv index 9e4ada67..1160f811 100644 --- a/compiler/errors/source/400_BAD_REQUEST.tsv +++ b/compiler/errors/source/400_BAD_REQUEST.tsv @@ -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 \ No newline at end of file diff --git a/compiler/errors/source/403_FORBIDDEN.tsv b/compiler/errors/source/403_FORBIDDEN.tsv index b1872c2f..44a76324 100644 --- a/compiler/errors/source/403_FORBIDDEN.tsv +++ b/compiler/errors/source/403_FORBIDDEN.tsv @@ -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 diff --git a/compiler/errors/source/420_FLOOD.tsv b/compiler/errors/source/420_FLOOD.tsv index b45fb3f6..b29c223a 100644 --- a/compiler/errors/source/420_FLOOD.tsv +++ b/compiler/errors/source/420_FLOOD.tsv @@ -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