Interface MessageGiveaway

A giveaway. Subtype of MessageContent.

interface MessageGiveaway {
    @type: "messageGiveaway";
    parameters: GiveawayParameters;
    prize: GiveawayPrize;
    sticker: Sticker;
    winner_count: number;
}

Properties

@type: "messageGiveaway"
parameters: GiveawayParameters

Giveaway parameters.

Prize of the giveaway.

sticker: Sticker

A sticker to be shown in the message; may be null if unknown.

winner_count: number

Number of users which will receive Telegram Premium subscription gift codes.