Document two new RPC errors (#1591)

This commit is contained in:
Andrew Lane
2020-10-13 10:50:05 +02:00
committed by GitHub
parent adf52a1b74
commit 7de1c0e237
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -88,6 +88,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
@@ -272,6 +273,7 @@ START_PARAM_EMPTY,400,The start parameter is empty
START_PARAM_INVALID,400,Start parameter invalid
STATS_MIGRATE_X,303,The channel statistics must be fetched from DC {dc}
STICKERSET_INVALID,400,The provided sticker set is invalid
STICKERSET_OWNER_ANONYMOUS,406,This sticker set can't be used as the group's official stickers because it was created by one of its anonymous admins
STICKERS_EMPTY,400,No sticker provided
STICKER_DOCUMENT_INVALID,400,"The sticker file was invalid (this file has failed Telegram internal checks, make sure to use the correct format and comply with https://core.telegram.org/animated_stickers)"
STICKER_EMOJI_INVALID,400,Sticker emoji invalid
1 name codes description
88 EMAIL_UNCONFIRMED_X 400 Email unconfirmed, the length of the code must be {code_length}
89 EMOTICON_EMPTY 400 The emoticon field cannot be empty
90 EMOTICON_INVALID 400 The specified emoticon cannot be used or was not a emoticon
91 EMOTICON_STICKERPACK_MISSING 400 The emoticon sticker pack you are trying to get is missing
92 ENCRYPTED_MESSAGE_INVALID 400 Encrypted message invalid
93 ENCRYPTION_ALREADY_ACCEPTED 400 Secret chat already accepted
94 ENCRYPTION_ALREADY_DECLINED 400 The secret chat was already declined
273 START_PARAM_INVALID 400 Start parameter invalid
274 STATS_MIGRATE_X 303 The channel statistics must be fetched from DC {dc}
275 STICKERSET_INVALID 400 The provided sticker set is invalid
276 STICKERSET_OWNER_ANONYMOUS 406 This sticker set can't be used as the group's official stickers because it was created by one of its anonymous admins
277 STICKERS_EMPTY 400 No sticker provided
278 STICKER_DOCUMENT_INVALID 400 The sticker file was invalid (this file has failed Telegram internal checks, make sure to use the correct format and comply with https://core.telegram.org/animated_stickers)
279 STICKER_EMOJI_INVALID 400 Sticker emoji invalid