Added some sticker related errors

This commit is contained in:
Alisa Sireneva 2021-05-05 20:22:34 +03:00 committed by GitHub
parent 319b6283a9
commit dd8a42bb3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -314,6 +314,9 @@ STICKER_ID_INVALID,400,The provided sticker ID is invalid
STICKER_INVALID,400,The provided sticker is invalid STICKER_INVALID,400,The provided sticker is invalid
STICKER_PNG_DIMENSIONS,400,Sticker png dimensions invalid STICKER_PNG_DIMENSIONS,400,Sticker png dimensions invalid
STICKER_PNG_NOPNG,400,Stickers must be a png file but the used image was not a png STICKER_PNG_NOPNG,400,Stickers must be a png file but the used image was not a png
STICKER_TGS_NOTGS,400,Stickers must be a tgs file but the used file was not a tgs
STICKER_THUMB_PNG_NOPNG,400,Stickerset thumb must be a png file but the used file was not png
STICKER_THUMB_TGS_NOTGS,400,Stickerset thumb must be a tgs file but the used file was not tgs
STORAGE_CHECK_FAILED,500,Server storage check failed STORAGE_CHECK_FAILED,500,Server storage check failed
STORE_INVALID_SCALAR_TYPE,500, STORE_INVALID_SCALAR_TYPE,500,
TAKEOUT_INIT_DELAY_X,420,A wait of {seconds} seconds is required before being able to initiate the takeout TAKEOUT_INIT_DELAY_X,420,A wait of {seconds} seconds is required before being able to initiate the takeout

1 name codes description
314 STICKER_INVALID 400 The provided sticker is invalid
315 STICKER_PNG_DIMENSIONS 400 Sticker png dimensions invalid
316 STICKER_PNG_NOPNG 400 Stickers must be a png file but the used image was not a png
317 STICKER_TGS_NOTGS 400 Stickers must be a tgs file but the used file was not a tgs
318 STICKER_THUMB_PNG_NOPNG 400 Stickerset thumb must be a png file but the used file was not png
319 STICKER_THUMB_TGS_NOTGS 400 Stickerset thumb must be a tgs file but the used file was not tgs
320 STORAGE_CHECK_FAILED 500 Server storage check failed
321 STORE_INVALID_SCALAR_TYPE 500
322 TAKEOUT_INIT_DELAY_X 420 A wait of {seconds} seconds is required before being able to initiate the takeout