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

    Interface UniqueGiftInfo

    interface UniqueGiftInfo {
        entities?: MessageEntity[];
        gift: UniqueGift;
        is_private?: boolean;
        last_resale_amount?: number;
        last_resale_currency?: string;
        next_transfer_date?: number;
        origin: string;
        owned_gift_id?: string;
        text?: string;
        transfer_star_count?: number;
    }
    Index
    entities?: MessageEntity[]

    Special entities that appear in the text (Bot API 10.3+).

    Information about the gift.

    is_private?: boolean

    True, if the sender and gift text are shown only to the gift receiver (Bot API 10.3+).

    last_resale_amount?: number

    Price paid for the gift in either Telegram Stars or nanograms.

    last_resale_currency?: string

    Currency in which the payment for the gift was done ('XTR', 'TON').

    next_transfer_date?: number

    Point in time (Unix timestamp) when the gift can be transferred.

    origin: string

    Origin of the gift ('upgrade', 'transfer', 'resale', 'gifted_upgrade', 'offer').

    owned_gift_id?: string

    Unique identifier of the received gift for the bot.

    text?: string

    Text of the message that was added to the gift (Bot API 10.3+).

    transfer_star_count?: number

    Number of Telegram Stars that must be paid to transfer the gift.