Update layer and known errors again

This commit is contained in:
Lonami Exo
2020-12-23 20:11:16 +01:00
parent 4b6c69ac1e
commit acd4c8648e
3 changed files with 9 additions and 5 deletions

View File

@@ -134,11 +134,13 @@ FOLDER_ID_INVALID,400,The folder you tried to use was not valid
FRESH_CHANGE_ADMINS_FORBIDDEN,400,Recently logged-in users cannot add or change admins
FRESH_CHANGE_PHONE_FORBIDDEN,406,Recently logged-in users cannot use this request
FRESH_RESET_AUTHORISATION_FORBIDDEN,406,The current session is too new and cannot be used to reset other authorisations yet
FROM_PEER_INVALID,400,The given from_user peer cannot be used for the parameter
GAME_BOT_INVALID,400,You cannot send that game with the current bot
GIF_ID_INVALID,400,The provided GIF ID is invalid
GRAPH_OUTDATED_RELOAD,400,"Data can't be used for the channel statistics, graphs outdated"
GROUP_CALL_INVALID,400,Group call invalid
GROUPCALL_SSRC_DUPLICATE_MUCH,400,
GROUPED_MEDIA_INVALID,400,Invalid grouped media
GROUP_CALL_INVALID,400,Group call invalid
HASH_INVALID,400,The provided hash is invalid
HISTORY_GET_FAILED,500,Fetching of history failed
IMAGE_PROCESS_FAILED,400,Failure while processing image
@@ -290,6 +292,7 @@ SESSION_TOO_FRESH_X,400,The session logged in too recently and {seconds} seconds
SHA256_HASH_INVALID,400,The provided SHA256 hash is invalid
SHORTNAME_OCCUPY_FAILED,400,An error occurred when trying to register the short-name used for the sticker pack. Try a different name
SLOWMODE_WAIT_X,420,A wait of {seconds} seconds is required before sending another message in this chat
SRP_ID_INVALID,400,
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}
1 name codes description
134 FRESH_CHANGE_ADMINS_FORBIDDEN 400 Recently logged-in users cannot add or change admins
135 FRESH_CHANGE_PHONE_FORBIDDEN 406 Recently logged-in users cannot use this request
136 FRESH_RESET_AUTHORISATION_FORBIDDEN 406 The current session is too new and cannot be used to reset other authorisations yet
137 FROM_PEER_INVALID 400 The given from_user peer cannot be used for the parameter
138 GAME_BOT_INVALID 400 You cannot send that game with the current bot
139 GIF_ID_INVALID 400 The provided GIF ID is invalid
140 GRAPH_OUTDATED_RELOAD 400 Data can't be used for the channel statistics, graphs outdated
141 GROUP_CALL_INVALID GROUPCALL_SSRC_DUPLICATE_MUCH 400 Group call invalid
142 GROUPED_MEDIA_INVALID 400 Invalid grouped media
143 GROUP_CALL_INVALID 400 Group call invalid
144 HASH_INVALID 400 The provided hash is invalid
145 HISTORY_GET_FAILED 500 Fetching of history failed
146 IMAGE_PROCESS_FAILED 400 Failure while processing image
292 SHA256_HASH_INVALID 400 The provided SHA256 hash is invalid
293 SHORTNAME_OCCUPY_FAILED 400 An error occurred when trying to register the short-name used for the sticker pack. Try a different name
294 SLOWMODE_WAIT_X 420 A wait of {seconds} seconds is required before sending another message in this chat
295 SRP_ID_INVALID 400
296 START_PARAM_EMPTY 400 The start parameter is empty
297 START_PARAM_INVALID 400 Start parameter invalid
298 STATS_MIGRATE_X 303 The channel statistics must be fetched from DC {dc}