GiveawayCompleted

@Serializable
data class GiveawayCompleted(val winnerCount: Int, val unclaimedPrizeCount: Int? = null, val giveawayMessage: Message? = null, val isStarGiveaway: Boolean? = null)

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

Api reference

Constructors

Link copied to clipboard
constructor(winnerCount: Int, unclaimedPrizeCount: Int? = null, giveawayMessage: Message? = null, isStarGiveaway: Boolean? = null)

Properties

Link copied to clipboard

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

Link copied to clipboard
val isStarGiveaway: Boolean? = null

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

Link copied to clipboard

Optional. Number of undistributed prizes

Link copied to clipboard

Number of winners in the giveaway