Add some sticker-related errors (#1055)

* Add STICKERS_TOO_MUCH, STICKERSET_NOT_MODIFIED, STICKER_VIDEO_NOWEBM error description

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
This commit is contained in:
AsmSafone 2022-08-11 17:56:21 +06:00 committed by GitHub
parent de3127720e
commit 0505ff0d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,7 +285,9 @@ START_PARAM_EMPTY The start parameter is empty
START_PARAM_INVALID The start parameter is invalid
START_PARAM_TOO_LONG The start parameter is too long
STICKERSET_INVALID The requested sticker set is invalid
STICKERSET_NOT_MODIFIED The sticker set is not modified
STICKERS_EMPTY The sticker provided is empty
STICKERS_TOO_MUCH Too many stickers in the set
STICKER_DOCUMENT_INVALID The sticker document is invalid
STICKER_EMOJI_INVALID The sticker emoji is invalid
STICKER_FILE_INVALID The sticker file is invalid
@ -294,6 +296,7 @@ STICKER_INVALID The provided sticker is invalid
STICKER_PNG_DIMENSIONS The sticker png dimensions are invalid
STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a png
STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided
STICKER_VIDEO_NOWEBM A webm video file was expected, but something else was provided
STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided
TAKEOUT_INVALID The takeout id is invalid
TAKEOUT_REQUIRED The method must be invoked inside a takeout session
@ -350,4 +353,4 @@ WEBDOCUMENT_URL_INVALID The web document URL is invalid
WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL
WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media
YOU_BLOCKED_USER You blocked this user
ENTITY_BOUNDS_INVALID The message entity bounds are invalid
ENTITY_BOUNDS_INVALID The message entity bounds are invalid

1 id message
285 START_PARAM_INVALID The start parameter is invalid
286 START_PARAM_TOO_LONG The start parameter is too long
287 STICKERSET_INVALID The requested sticker set is invalid
288 STICKERSET_NOT_MODIFIED The sticker set is not modified
289 STICKERS_EMPTY The sticker provided is empty
290 STICKERS_TOO_MUCH Too many stickers in the set
291 STICKER_DOCUMENT_INVALID The sticker document is invalid
292 STICKER_EMOJI_INVALID The sticker emoji is invalid
293 STICKER_FILE_INVALID The sticker file is invalid
296 STICKER_PNG_DIMENSIONS The sticker png dimensions are invalid
297 STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a png
298 STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided
299 STICKER_VIDEO_NOWEBM A webm video file was expected, but something else was provided
300 STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided
301 TAKEOUT_INVALID The takeout id is invalid
302 TAKEOUT_REQUIRED The method must be invoked inside a takeout session
353 WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL
354 WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media
355 YOU_BLOCKED_USER You blocked this user
356 ENTITY_BOUNDS_INVALID The message entity bounds are invalid