GiveawayCompleted constructor
const
GiveawayCompleted({})
Constructor
Implementation
const factory GiveawayCompleted({
/// Number of winners in the giveaway
@JsonKey(name: 'winner_count') required int winnerCount,
/// Number of undistributed prizes
@JsonKey(name: 'unclaimed_prize_count') int? unclaimedPrizeCount,
/// Message with the giveaway that was completed, if it wasn't deleted
@JsonKey(name: 'giveaway_message') Message? giveawayMessage,
/// Optional. True, if the giveaway is a Telegram Star giveaway. Otherwise,
/// currently, the giveaway is a Telegram Premium giveaway.
@JsonKey(name: 'is_star_giveaway') bool? isStarGiveaway,
}) = _GiveawayCompleted;