telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface Sticker

    interface Sticker {
        custom_emoji_id?: string;
        emoji?: string;
        file_id: string;
        file_size?: number;
        file_unique_id: string;
        height: number;
        is_animated: boolean;
        is_video: boolean;
        mask_position?: MaskPosition;
        needs_repainting?: boolean;
        premium_animation?: File;
        set_name?: string;
        thumbnail?: PhotoSize;
        type: "custom_emoji" | "regular" | "mask";
        width: number;
    }
    Index
    custom_emoji_id?: string

    For custom emoji stickers, unique identifier of the custom emoji.

    emoji?: string

    Emoji associated with the sticker.

    file_id: string

    Identifier for this file, which can be used to download or reuse the file.

    file_size?: number

    File size in bytes.

    file_unique_id: string

    Unique identifier for this file, which is supposed to be the same over time and for different bots.

    height: number

    Sticker height.

    is_animated: boolean

    True, if the sticker is animated.

    is_video: boolean

    True, if the sticker is a video sticker.

    mask_position?: MaskPosition

    For mask stickers, the position where the mask should be placed.

    needs_repainting?: boolean

    True, if the sticker must be repainted to a text color in messages.

    premium_animation?: File

    For premium regular stickers, premium animation for the sticker.

    set_name?: string

    Name of the sticker set to which the sticker belongs.

    thumbnail?: PhotoSize

    Sticker thumbnail in the .WEBP or .JPG format.

    type: "custom_emoji" | "regular" | "mask"

    Type of the sticker, currently one of "regular", "mask", "custom_emoji".

    width: number

    Sticker width.