From 0a4b827d8ec50d17bfecb03c3c3f75420e810351 Mon Sep 17 00:00:00 2001 From: Shrimadhav U K Date: Sat, 28 Aug 2021 03:48:37 +0530 Subject: [PATCH] Document new known RPC errors (#3137) --- telethon_generator/data/errors.csv | 2 ++ telethon_generator/data/methods.csv | 1 + 2 files changed, 3 insertions(+) diff --git a/telethon_generator/data/errors.csv b/telethon_generator/data/errors.csv index e50db207..6e50f683 100644 --- a/telethon_generator/data/errors.csv +++ b/telethon_generator/data/errors.csv @@ -101,6 +101,8 @@ DOCUMENT_INVALID,400,The document file was invalid and can't be used in inline m EMAIL_HASH_EXPIRED,400,The email hash expired and cannot be used to verify it EMAIL_INVALID,400,The given email is invalid EMAIL_UNCONFIRMED_X,400,"Email unconfirmed, the length of the code must be {code_length}" +EMOJI_INVALID,400, +EMOJI_NOT_MODIFIED,400, EMOTICON_EMPTY,400,The emoticon field cannot be empty EMOTICON_INVALID,400,The specified emoticon cannot be used or was not a emoticon EMOTICON_STICKERPACK_MISSING,400,The emoticon sticker pack you are trying to get is missing diff --git a/telethon_generator/data/methods.csv b/telethon_generator/data/methods.csv index 381745a5..9066202d 100644 --- a/telethon_generator/data/methods.csv +++ b/telethon_generator/data/methods.csv @@ -286,6 +286,7 @@ messages.sendVote,user,MESSAGE_POLL_CLOSED OPTION_INVALID messages.setBotCallbackAnswer,both,QUERY_ID_INVALID URL_INVALID messages.setBotPrecheckoutResults,both,ERROR_TEXT_EMPTY messages.setBotShippingResults,both,QUERY_ID_INVALID +messages.setChatTheme,user,EMOJI_INVALID EMOJI_NOT_MODIFIED messages.setEncryptedTyping,user,CHAT_ID_INVALID messages.setGameScore,bot,PEER_ID_INVALID USER_BOT_REQUIRED messages.setHistoryTTL,user,CHAT_NOT_MODIFIED TTL_PERIOD_INVALID