Skip to main content

messageMediaGiveawayResults

A giveaway with public winners has finished, this constructor contains info about the winners.

type tg.MessageMediaGiveawayResults struct { /* ... */ }

Implements MessageMedia.

Fields

NameTypeRequiredDescription
OnlyNewSubscribersboolIf set, only new subscribers starting from the giveaway creation date participated in the giveaway.
RefundedboolIf set, the giveaway was canceled and was fully refunded.
ChannelIDint64yesID of the channel/supergroup that was automatically boosted by the winners of the giveaway for duration of the Premium subscription.
AdditionalPeersCountintNumber of other channels that participated in the giveaway.
LaunchMsgIDintyesIdentifier of the message with the giveaway in channel_id.
WinnersCountintyesTotal number of winners in the giveaway.
UnclaimedCountintyesNumber of not-yet-claimed prizes.
Winners[]int64yesUp to 100 user identifiers of the winners of the giveaway.
MonthsintDuration in months of each Telegram Premium subscription in the giveaway.
Starsint64For Telegram Star giveaways, the total number of Telegram Stars being given away.
PrizeDescriptionstringCan contain a textual description of additional giveaway prizes.
UntilDateintyesPoint in time (Unix timestamp) when the winners were selected. May be bigger than winners selection date specified in initial parameters of the giveaway.

References