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

    Interface UniqueGift

    interface UniqueGift {
        backdrop: UniqueGiftBackdrop;
        base_name: string;
        colors?: UniqueGiftColors;
        gift_id: string;
        is_burned?: boolean;
        is_from_blockchain?: boolean;
        is_premium?: boolean;
        model: UniqueGiftModel;
        name: string;
        number: number;
        publisher_chat?: Chat;
        symbol: UniqueGiftSymbol;
    }
    Index

    Backdrop of the gift.

    base_name: string

    Human-readable name of the regular gift.

    The color scheme for user's name, replies, etc.

    gift_id: string

    Identifier of the regular gift from which the gift was upgraded.

    is_burned?: boolean

    True, if the gift was used to craft another gift and isn't available anymore.

    is_from_blockchain?: boolean

    True, if the gift is assigned from the TON blockchain.

    is_premium?: boolean

    True, if the original regular gift was exclusively purchaseable by Telegram Premium subscribers.

    Model of the gift.

    name: string

    Unique name of the gift.

    number: number

    Unique number of the upgraded gift.

    publisher_chat?: Chat

    Information about the chat that published the gift.

    Symbol of the gift.