Interface InputSticker

A sticker to be added to a sticker set.

interface InputSticker {
    @type: "inputSticker";
    emojis: string;
    format: StickerFormat;
    keywords: string[];
    mask_position: MaskPosition;
    sticker: InputFile;
}

Properties

@type: "inputSticker"
emojis: string

String with 1-20 emoji corresponding to the sticker.

Format of the sticker.

keywords: string[]

List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker.

mask_position: MaskPosition

Position where the mask is placed; pass null if not specified.

sticker: InputFile

File with the sticker; 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.