Add new known server error POSTPONED_TIMEOUT

This commit is contained in:
Rongrong 2022-07-25 16:47:06 +08:00
parent 58284815a2
commit e4192820c2
No known key found for this signature in database
GPG Key ID: 1C2D45D45AB7FE94

View File

@ -280,6 +280,7 @@ POLL_OPTION_INVALID,400,A poll option used invalid data (the data may be too lon
POLL_QUESTION_INVALID,400,The poll question was either empty or too long
POLL_UNSUPPORTED,400,This layer does not support polls in the issued method
POLL_VOTE_REQUIRED,403,
POSTPONED_TIMEOUT,500,The postponed call has timed out
PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_XMIN,406,"Similar to a flood wait, must wait {minutes} minutes"
PRIVACY_KEY_INVALID,400,The privacy key is invalid
PRIVACY_TOO_LONG,400,Cannot add that many entities in a single request

1 name codes description
280 POLL_QUESTION_INVALID 400 The poll question was either empty or too long
281 POLL_UNSUPPORTED 400 This layer does not support polls in the issued method
282 POLL_VOTE_REQUIRED 403
283 POSTPONED_TIMEOUT 500 The postponed call has timed out
284 PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_XMIN 406 Similar to a flood wait, must wait {minutes} minutes
285 PRIVACY_KEY_INVALID 400 The privacy key is invalid
286 PRIVACY_TOO_LONG 400 Cannot add that many entities in a single request