Input Sticker
@Serializable
This object describes a sticker to be added to a sticker set.
Constructors
Link copied to clipboard
constructor(sticker: String, format: StickerFormat, emojiList: List<String>, maskPosition: MaskPosition? = null, keywords: List<String>? = null)
constructor(sticker: InputFile, format: StickerFormat, emojiList: List<String>, maskPosition: MaskPosition? = null, keywords: List<String>? = null)
constructor(sticker: ImplicitFile, format: StickerFormat, emojiList: List<String>, maskPosition: MaskPosition? = null, keywords: List<String>? = null)
Properties
Link copied to clipboard
Format of the added sticker, must be one of "static" for a .WEBP or .PNG image, "animated" for a .TGS animation, "video" for a WEBM video
Link copied to clipboard
Optional. Position where the mask should be placed on faces. For "mask" stickers only.
Link copied to clipboard
The added sticker. Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, upload a new one using multipart/form-data, or pass "attach://