From 291c36dacfa7143142f90c74c6e1282623ee6471 Mon Sep 17 00:00:00 2001 From: Nick <64551534+null-nick@users.noreply.github.com> Date: Fri, 21 Jul 2023 14:13:53 +0200 Subject: [PATCH] Added some story error Signed-off-by: wulan17 --- compiler/errors/source/400_BAD_REQUEST.tsv | 4 +++- compiler/errors/source/403_FORBIDDEN.tsv | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/compiler/errors/source/400_BAD_REQUEST.tsv b/compiler/errors/source/400_BAD_REQUEST.tsv index 063d151f8..ccf6c618f 100644 --- a/compiler/errors/source/400_BAD_REQUEST.tsv +++ b/compiler/errors/source/400_BAD_REQUEST.tsv @@ -359,4 +359,6 @@ WEBDOCUMENT_URL_EMPTY The web document URL is empty 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 \ No newline at end of file +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 diff --git a/compiler/errors/source/403_FORBIDDEN.tsv b/compiler/errors/source/403_FORBIDDEN.tsv index 027f2e852..7fa9303e2 100644 --- a/compiler/errors/source/403_FORBIDDEN.tsv +++ b/compiler/errors/source/403_FORBIDDEN.tsv @@ -25,4 +25,12 @@ USER_INVALID The provided user is invalid USER_IS_BLOCKED The user is blocked USER_NOT_MUTUAL_CONTACT The provided user is not a mutual contact USER_PRIVACY_RESTRICTED The user's privacy settings is preventing you to perform this action -USER_RESTRICTED You are limited/restricted. You can't perform this action \ No newline at end of file +USER_RESTRICTED You are limited/restricted. You can't perform this action +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_VIDEOS_FORBIDDEN You can't send videos in this chat +CHAT_SEND_VOICES_FORBIDDEN You can't send voice recordings in this chat +GROUPCALL_FORBIDDEN The group call has already ended +LIVE_DISABLED Story is disabled server-side