diff --git a/telethon_generator/data/errors.csv b/telethon_generator/data/errors.csv index 3604dfa8..f4f54082 100644 --- a/telethon_generator/data/errors.csv +++ b/telethon_generator/data/errors.csv @@ -87,6 +87,7 @@ EMAIL_INVALID,400,The given email is invalid EMAIL_UNCONFIRMED_X,400,"Email unconfirmed, the length of the code must be {code_length}" 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 ENCRYPTED_MESSAGE_INVALID,400,Encrypted message invalid ENCRYPTION_ALREADY_ACCEPTED,400,Secret chat already accepted ENCRYPTION_ALREADY_DECLINED,400,The secret chat was already declined diff --git a/telethon_generator/data/methods.csv b/telethon_generator/data/methods.csv index 73a78486..36830b47 100644 --- a/telethon_generator/data/methods.csv +++ b/telethon_generator/data/methods.csv @@ -236,7 +236,7 @@ messages.getScheduledMessages,user, messages.getSearchCounters,user, messages.getSplitRanges,user, messages.getStatsURL,user, -messages.getStickerSet,both,STICKERSET_INVALID +messages.getStickerSet,both,EMOTICON_STICKERPACK_MISSING STICKERSET_INVALID messages.getStickers,user,EMOTICON_EMPTY messages.getSuggestedDialogFilters,user, messages.getUnreadMentions,user,PEER_ID_INVALID