From 00755347533c03f33f315aa8db5b8b1af615a61c Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 8 Jun 2019 19:13:27 +0200 Subject: [PATCH] Add a bunch of new errors - MEGAGROUP_PREHISTORY_HIDDEN - CHAT_LINK_EXISTS - LINK_NOT_MODIFIED - BROADCAST_ID_INVALID - MEGAGROUP_ID_INVALID --- compiler/error/source/400_BAD_REQUEST.tsv | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/compiler/error/source/400_BAD_REQUEST.tsv b/compiler/error/source/400_BAD_REQUEST.tsv index 815ce3fb..8e82c9f6 100644 --- a/compiler/error/source/400_BAD_REQUEST.tsv +++ b/compiler/error/source/400_BAD_REQUEST.tsv @@ -100,4 +100,9 @@ ACCESS_TOKEN_INVALID The bot access token is invalid INVITE_HASH_EXPIRED The chat invite link is no longer valid USER_BANNED_IN_CHANNEL You are limited, check @SpamBot for details MESSAGE_EDIT_TIME_EXPIRED You can no longer edit this message -FOLDER_ID_INVALID The folder id is invalid \ No newline at end of file +FOLDER_ID_INVALID The folder id is invalid +MEGAGROUP_PREHISTORY_HIDDEN The action failed because the supergroup has the pre-history hidden +CHAT_LINK_EXISTS The action failed because the supergroup is linked to a channel +LINK_NOT_MODIFIED The chat link was not modified because you tried to link to the same target +BROADCAST_ID_INVALID The channel is invalid +MEGAGROUP_ID_INVALID The supergroup is invalid \ No newline at end of file