View Source ExTDLib.Method.UploadStickerFile (ExTDLib v0.0.4)

Uploads a file with a sticker; returns the uploaded file. Returns object_ptr<File>.

NameTypeDescription
user_idstringSticker file owner; ignored for regular users.
sticker_formatStickerFormatSticker format.
stickerInputFileFile 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.

More details on telegram's documentation.