Interface MessageGiveawayCompleted

A giveaway without public winners has been completed for the chat. Subtype of MessageContent.

interface MessageGiveawayCompleted {
    @type: "messageGiveawayCompleted";
    giveaway_message_id: number;
    is_star_giveaway?: boolean;
    unclaimed_prize_count: number;
    winner_count: number;
}

Properties

@type: "messageGiveawayCompleted"
giveaway_message_id: number

Identifier of the message with the giveaway; can be 0 if the message was deleted.

is_star_giveaway?: boolean

True, if the giveaway is a Telegram Star giveaway.

unclaimed_prize_count: number

Number of undistributed prizes; for Telegram Premium giveaways only.

winner_count: number

Number of winners in the giveaway.