Interface MessageGiveawayPrizeStars

A Telegram Stars were received by the current user from a giveaway. Subtype of MessageContent.

interface MessageGiveawayPrizeStars {
    @type: "messageGiveawayPrizeStars";
    boosted_chat_id: number;
    giveaway_message_id: number;
    is_unclaimed?: boolean;
    star_count: number;
    sticker: Sticker;
    transaction_id: string;
}

Properties

@type: "messageGiveawayPrizeStars"
boosted_chat_id: number

Identifier of the supergroup or channel chat, which was automatically boosted by the winners of the giveaway.

giveaway_message_id: number

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

is_unclaimed?: boolean

True, if the corresponding winner wasn't chosen and the Telegram Stars were received by the owner of the boosted chat.

star_count: number

Number of Telegram Stars that were received.

sticker: Sticker

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

transaction_id: string

Identifier of the transaction for Telegram Stars credit.