Interface StarGiveawayWinnerOption

Describes an option for the number of winners of a Telegram Star giveaway.

interface StarGiveawayWinnerOption {
    @type: "starGiveawayWinnerOption";
    is_default?: boolean;
    winner_count: number;
    won_star_count: number;
}

Properties

@type: "starGiveawayWinnerOption"
is_default?: boolean

True, if the option must be chosen by default.

winner_count: number

The number of users that will be chosen as winners.

won_star_count: number

The number of Telegram Stars that will be won by the winners of the giveaway.