Update to layer 109

This commit is contained in:
Lonami Exo
2020-01-23 13:43:20 +01:00
parent dd4c22d02d
commit 22e645e22f
6 changed files with 45 additions and 15 deletions

View File

@@ -201,14 +201,20 @@ PHOTO_INVALID_DIMENSIONS,400,The photo dimensions are invalid (hint: `pip instal
PHOTO_SAVE_FILE_INVALID,400,The photo you tried to send cannot be saved by Telegram. A reason may be that it exceeds 10MB. Try resizing it locally
PHOTO_THUMB_URL_EMPTY,400,The URL used as a thumbnail appears to be empty or has caused another HTTP error
PIN_RESTRICTED,400,You can't pin messages in private chats with other people
POLL_ANSWERS_INVALID,400,The poll did not have enough answers or had too many
POLL_OPTION_DUPLICATE,400,A duplicate option was sent in the same poll
POLL_OPTION_INVALID,400,A poll option used invalid data (the data may be too long)
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
PRIVACY_KEY_INVALID,400,The privacy key is invalid
PTS_CHANGE_EMPTY,500,No PTS change
QUERY_ID_EMPTY,400,The query ID is empty
QUERY_ID_INVALID,400,The query ID is invalid
QUERY_TOO_SHORT,400,The query string is too short
QUIZ_CORRECT_ANSWERS_EMPTY,400,A quiz must specify one correct answer
QUIZ_CORRECT_ANSWERS_TOO_MUCH,400,There can only be one correct answer
QUIZ_CORRECT_ANSWER_INVALID,400,The correct answer is not an existing answer
QUIZ_MULTIPLE_INVALID,400,A poll cannot be both multiple choice and quiz
RANDOM_ID_DUPLICATE,500,You provided a random ID that was already used
RANDOM_ID_INVALID,400,A provided random ID is invalid
RANDOM_LENGTH_INVALID,400,Random length invalid
1 name codes description
201 PHOTO_SAVE_FILE_INVALID 400 The photo you tried to send cannot be saved by Telegram. A reason may be that it exceeds 10MB. Try resizing it locally
202 PHOTO_THUMB_URL_EMPTY 400 The URL used as a thumbnail appears to be empty or has caused another HTTP error
203 PIN_RESTRICTED 400 You can't pin messages in private chats with other people
204 POLL_ANSWERS_INVALID 400 The poll did not have enough answers or had too many
205 POLL_OPTION_DUPLICATE 400 A duplicate option was sent in the same poll
206 POLL_OPTION_INVALID 400 A poll option used invalid data (the data may be too long)
207 POLL_QUESTION_INVALID 400 The poll question was either empty or too long
208 POLL_UNSUPPORTED 400 This layer does not support polls in the issued method
209 PRIVACY_KEY_INVALID 400 The privacy key is invalid
210 PTS_CHANGE_EMPTY 500 No PTS change
211 QUERY_ID_EMPTY 400 The query ID is empty
212 QUERY_ID_INVALID 400 The query ID is invalid
213 QUERY_TOO_SHORT 400 The query string is too short
214 QUIZ_CORRECT_ANSWERS_EMPTY 400 A quiz must specify one correct answer
215 QUIZ_CORRECT_ANSWERS_TOO_MUCH 400 There can only be one correct answer
216 QUIZ_CORRECT_ANSWER_INVALID 400 The correct answer is not an existing answer
217 QUIZ_MULTIPLE_INVALID 400 A poll cannot be both multiple choice and quiz
218 RANDOM_ID_DUPLICATE 500 You provided a random ID that was already used
219 RANDOM_ID_INVALID 400 A provided random ID is invalid
220 RANDOM_LENGTH_INVALID 400 Random length invalid