Document new known RPC errors (#3137)

This commit is contained in:
Shrimadhav U K
2021-08-28 03:48:37 +05:30
committed by GitHub
parent 2ea3153cd5
commit 0a4b827d8e
2 changed files with 3 additions and 0 deletions

View File

@@ -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
1 name codes description
101 EMAIL_HASH_EXPIRED 400 The email hash expired and cannot be used to verify it
102 EMAIL_INVALID 400 The given email is invalid
103 EMAIL_UNCONFIRMED_X 400 Email unconfirmed, the length of the code must be {code_length}
104 EMOJI_INVALID 400
105 EMOJI_NOT_MODIFIED 400
106 EMOTICON_EMPTY 400 The emoticon field cannot be empty
107 EMOTICON_INVALID 400 The specified emoticon cannot be used or was not a emoticon
108 EMOTICON_STICKERPACK_MISSING 400 The emoticon sticker pack you are trying to get is missing