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

    Interface ChatBoostSourceGiveaway

    interface ChatBoostSourceGiveaway {
        giveaway_message_id: number;
        is_unclaimed?: boolean;
        prize_star_count?: number;
        source: "giveaway";
        user?: User;
    }
    Index
    giveaway_message_id: number

    Identifier of a message in the chat with the giveaway; the message could have been deleted.

    is_unclaimed?: boolean

    True, if the giveaway was completed, but no user won the prize.

    prize_star_count?: number

    The number of Telegram Stars to be split among giveaway winners.

    source: "giveaway"

    Source of the boost, always 'giveaway'.

    user?: User

    User that won the prize in the giveaway if any.