Interface MessageGiveawayCreated

A giveaway was created for the chat. Use telegramPaymentPurposePremiumGiveaway, storePaymentPurposePremiumGiveaway, telegramPaymentPurposeStarGiveaway, or storePaymentPurposeStarGiveaway to create a giveaway. Subtype of MessageContent.

interface MessageGiveawayCreated {
    @type: "messageGiveawayCreated";
    star_count: number;
}

Properties

Properties

@type: "messageGiveawayCreated"
star_count: number

Number of Telegram Stars that will be shared by winners of the giveaway; 0 for Telegram Premium giveaways.