From 419ecb1af5427a1a0bae8f1b782daf0dfbc40228 Mon Sep 17 00:00:00 2001 From: David Hu <81270448+D4v1dH03@users.noreply.github.com> Date: Mon, 20 Dec 2021 11:40:32 -0800 Subject: [PATCH] Add RPC Error: CHAT_FORWARDS_RESTRICTED (#825) * Add RPC Error: CHAT_FORWARD_RESTRICTED * Fix the typo in the previous commit Sorry, made a typo in the error name * Update 400_BAD_REQUEST.tsv Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com> --- compiler/errors/source/400_BAD_REQUEST.tsv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/errors/source/400_BAD_REQUEST.tsv b/compiler/errors/source/400_BAD_REQUEST.tsv index ab230697..e1d29f38 100644 --- a/compiler/errors/source/400_BAD_REQUEST.tsv +++ b/compiler/errors/source/400_BAD_REQUEST.tsv @@ -52,6 +52,7 @@ CHANNEL_TOO_LARGE The channel is too large to be deleted; this error is issued w 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_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 @@ -346,4 +347,4 @@ 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