telegramx.js

GiveawayCompleted

interface

This object represents a service message about the completion of a giveaway without public winners.

Declaration

interface GiveawayCompleted 

Properties

giveaway_message?: Message;

Optional. Message with the giveaway that was completed, if it wasn't deleted

is_star_giveaway?: boolean;

Optional. True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.

unclaimed_prize_count?: number;

Optional. Number of undistributed prizes

winner_count: number;

Number of winners in the giveaway