Interface PrepaidGiveaway

Describes a prepaid giveaway.

interface PrepaidGiveaway {
    @type: "prepaidGiveaway";
    boost_count: number;
    id: string;
    payment_date: number;
    prize: GiveawayPrize;
    winner_count: number;
}

Properties

@type: "prepaidGiveaway"
boost_count: number

The number of boosts received by the chat from the giveaway; for Telegram Star giveaways only.

id: string

Unique identifier of the prepaid giveaway.

payment_date: number

Point in time (Unix timestamp) when the giveaway was paid.

Prize of the giveaway.

winner_count: number

Number of users which will receive giveaway prize.