uploadStickerFile¶
Uploads a file with a sticker; returns the uploaded file
uploadStickerFile(
user_id: int53,
sticker_format: StickerFormat,
sticker: InputFile
) → File
user_id¶
int53
Sticker file owner; ignored for regular users
sticker_format¶
Sticker format
sticker¶
File to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements