Update docs and list of errors

Includes the changes of #1654.
This commit is contained in:
Lonami Exo
2020-12-19 20:33:20 +01:00
parent dd00829f1e
commit 4b6c69ac1e
3 changed files with 7 additions and 5 deletions

View File

@@ -74,6 +74,7 @@ CHAT_SEND_MEDIA_FORBIDDEN,403,You can't send media in this chat
CHAT_SEND_STICKERS_FORBIDDEN,403,You can't send stickers in this chat
CHAT_TITLE_EMPTY,400,No chat title provided
CHAT_WRITE_FORBIDDEN,403,You can't write in this chat
CHP_CALL_FAIL,500,The statistics cannot be retrieved at this time
CODE_EMPTY,400,The provided code is empty
CODE_HASH_INVALID,400,Code hash invalid
CODE_INVALID,400,Code invalid (i.e. from email)
@@ -194,6 +195,7 @@ NEED_MEMBER_INVALID,500,The provided member is invalid or does not exist (for ex
NETWORK_MIGRATE_X,303,The source IP address is associated with DC {new_dc}
NEW_SALT_INVALID,400,The new salt is invalid
NEW_SETTINGS_INVALID,400,The new settings are invalid
NEXT_OFFSET_INVALID,400,The value for next_offset is invalid. Check that it has normal characters and is not too long
OFFSET_INVALID,400,"The given offset was invalid, it must be divisible by 1KB. See https://core.telegram.org/api/files#downloading-files"
OFFSET_PEER_ID_INVALID,400,The provided offset peer is invalid
OPTIONS_TOO_MUCH,400,You defined too many options for the poll
1 name codes description
74 CHAT_SEND_STICKERS_FORBIDDEN 403 You can't send stickers in this chat
75 CHAT_TITLE_EMPTY 400 No chat title provided
76 CHAT_WRITE_FORBIDDEN 403 You can't write in this chat
77 CHP_CALL_FAIL 500 The statistics cannot be retrieved at this time
78 CODE_EMPTY 400 The provided code is empty
79 CODE_HASH_INVALID 400 Code hash invalid
80 CODE_INVALID 400 Code invalid (i.e. from email)
195 NETWORK_MIGRATE_X 303 The source IP address is associated with DC {new_dc}
196 NEW_SALT_INVALID 400 The new salt is invalid
197 NEW_SETTINGS_INVALID 400 The new settings are invalid
198 NEXT_OFFSET_INVALID 400 The value for next_offset is invalid. Check that it has normal characters and is not too long
199 OFFSET_INVALID 400 The given offset was invalid, it must be divisible by 1KB. See https://core.telegram.org/api/files#downloading-files
200 OFFSET_PEER_ID_INVALID 400 The provided offset peer is invalid
201 OPTIONS_TOO_MUCH 400 You defined too many options for the poll