uploadStickerFile
Upload a sticker file to Telegram to make it available for creating or updating sticker sets. Supports static, animated, and video sticker formats.
Instructions
Upload a file with a sticker for later use in the createNewStickerSet, addStickerToSet, or replaceStickerInSet methods. Returns the uploaded File on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sticker | Yes | A file with the sticker in .WEBP, .PNG, .TGS, or .WEBM format. See https://core.telegram.org/stickers for technical requirements. | |
| user_id | Yes | User identifier of sticker file owner. | |
| sticker_format | Yes | Format of the sticker: "static" for .WEBP or .PNG, "animated" for .TGS, "video" for .WEBM. |