Interface PushMessageContentGiveaway

A message with a giveaway. Subtype of PushMessageContent.

interface PushMessageContentGiveaway {
    @type: "pushMessageContentGiveaway";
    is_pinned?: boolean;
    prize: GiveawayPrize;
    winner_count: number;
}

Properties

@type: "pushMessageContentGiveaway"
is_pinned?: boolean

True, if the message is a pinned message with the specified content.

Prize of the giveaway; may be null for pinned message.

winner_count: number

Number of users which will receive giveaway prizes; 0 for pinned message.