upload_sticker_file


Description:

public async File upload_sticker_file (int64 user_id, StickerFormat sticker_format, InputFile sticker) throws TDLibError

Uploads a file with a sticker; returns the uploaded file

Parameters:

user_id

Sticker file owner; ignored for regular users

sticker_format

Sticker format

sticker

File 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