Interface LaunchPrepaidGiveaway

Launches a prepaid giveaway. Request type for Tdjson#launchPrepaidGiveaway.

interface LaunchPrepaidGiveaway {
    @type: "launchPrepaidGiveaway";
    giveaway_id: string;
    parameters: GiveawayParameters;
    star_count: number;
    winner_count: number;
}

Properties

@type: "launchPrepaidGiveaway"
giveaway_id: string

Unique identifier of the prepaid giveaway.

parameters: GiveawayParameters

Giveaway parameters.

star_count: number

The number of Telegram Stars to be distributed through the giveaway; pass 0 for Telegram Premium giveaways.

winner_count: number

The number of users to receive giveaway prize.