View Source ExTDLib.Method.UploadStickerFile (ExTDLib v0.0.4)
Uploads a file with a sticker; returns the uploaded file. Returns object_ptr<File>.
| Name | Type | Description |
|---|---|---|
| user_id | string | Sticker file owner; ignored for regular users. |
| sticker_format | StickerFormat | Sticker format. |
| sticker | InputFile | 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. |
More details on telegram's documentation.