Add more info on invalid sticker error (#1558)

This commit is contained in:
Daniil 2020-09-13 17:29:48 +03:00 committed by GitHub
parent 1d6fd7898a
commit 9ec5707c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -271,7 +271,7 @@ START_PARAM_INVALID,400,Start parameter invalid
STATS_MIGRATE_X,303,The channel statistics must be fetched from DC {dc}
STICKERSET_INVALID,400,The provided sticker set is invalid
STICKERS_EMPTY,400,No sticker provided
STICKER_DOCUMENT_INVALID,400,"The sticker file was invalid (make sure to use the correct format, animated stickers may not be allowed in this request)"
STICKER_DOCUMENT_INVALID,400,"The sticker file was invalid (this file has failed Telegram internal checks, make sure to use the correct format and comply with https://core.telegram.org/animated_stickers)"
STICKER_EMOJI_INVALID,400,Sticker emoji invalid
STICKER_FILE_INVALID,400,Sticker file invalid
STICKER_ID_INVALID,400,The provided sticker ID is invalid

1 name codes description
271 STATS_MIGRATE_X 303 The channel statistics must be fetched from DC {dc}
272 STICKERSET_INVALID 400 The provided sticker set is invalid
273 STICKERS_EMPTY 400 No sticker provided
274 STICKER_DOCUMENT_INVALID 400 The sticker file was invalid (make sure to use the correct format, animated stickers may not be allowed in this request) The sticker file was invalid (this file has failed Telegram internal checks, make sure to use the correct format and comply with https://core.telegram.org/animated_stickers)
275 STICKER_EMOJI_INVALID 400 Sticker emoji invalid
276 STICKER_FILE_INVALID 400 Sticker file invalid
277 STICKER_ID_INVALID 400 The provided sticker ID is invalid