From 58284815a2785056983b0a1951c0a7e80542e6d3 Mon Sep 17 00:00:00 2001 From: Rongrong Date: Mon, 25 Jul 2022 16:46:43 +0800 Subject: [PATCH] Add new known rpc error ENTITY_BOUNDS_INVALID --- telethon_generator/data/errors.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/telethon_generator/data/errors.csv b/telethon_generator/data/errors.csv index 047547b5..c96ae45a 100644 --- a/telethon_generator/data/errors.csv +++ b/telethon_generator/data/errors.csv @@ -115,6 +115,7 @@ ENCRYPTION_DECLINED,400,The secret chat was declined ENCRYPTION_ID_INVALID,400,The provided secret chat ID is invalid ENCRYPTION_OCCUPY_FAILED,500,TDLib developer claimed it is not an error while accepting secret chats and 500 is used instead of 420 ENTITIES_TOO_LONG,400,It is no longer possible to send such long data inside entity tags (for example inline text URLs) +ENTITY_BOUNDS_INVALID,400,Some of provided entities have invalid bounds (length is zero or out of the boundaries of the string) ENTITY_MENTION_USER_INVALID,400,You can't use this entity ERROR_TEXT_EMPTY,400,The provided error message is empty EXPIRE_FORBIDDEN,400,