Interface Sticker

Describes a sticker.

interface Sticker {
    @type: "sticker";
    emoji: string;
    format: StickerFormat;
    full_type: StickerFullType;
    height: number;
    id: string;
    set_id: string;
    sticker: File;
    thumbnail: Thumbnail;
    width: number;
}

Properties

@type: "sticker"
emoji: string

Emoji corresponding to the sticker.

Sticker format.

full_type: StickerFullType

Sticker's full type.

height: number

Sticker height; as defined by the sender.

id: string

Unique sticker identifier within the set; 0 if none.

set_id: string

Identifier of the sticker set to which the sticker belongs; 0 if none.

sticker: File

File containing the sticker.

thumbnail: Thumbnail

Sticker thumbnail in WEBP or JPEG format; may be null.

width: number

Sticker width; as defined by the sender.