telegram api constructor · layer 229 · #ceaa3ea1

messageMediaGiveawayResults

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

definition

messageMediaGiveawayResults#ceaa3ea1 flags:# only_new_subscribers:flags.0?true refunded:flags.2?true channel_id:long additional_peers_count:flags.3?int launch_msg_id:int winners_count:int unclaimed_count:int winners:Vector<long> months:flags.4?int stars:flags.5?long prize_description:flags.1?string until_date:int = MessageMedia;

parameters

nametypedescription
flags#Flags, see TL conditional fields
only_new_subscribersflags.0?trueIf set, only new subscribers starting from the giveaway creation date participated in the giveaway.
refundedflags.2?trueIf set, the giveaway was canceled and was fully refunded.
channel_idlongID of the channel/supergroup that was automatically boosted by the winners of the giveaway for duration of the Premium subscription.
additional_peers_countflags.3?intNumber of other channels that participated in the giveaway.
launch_msg_idintIdentifier of the message with the giveaway in channel_id.
winners_countintTotal number of winners in the giveaway.
unclaimed_countintNumber of not-yet-claimed prizes.
winnersVector<long>Up to 100 user identifiers of the winners of the giveaway.
monthsflags.4?intDuration in months of each Telegram Premium subscription in the giveaway.
starsflags.5?longFor Telegram Star giveaways, the total number of Telegram Stars being given away.
prize_descriptionflags.1?stringCan contain a textual description of additional giveaway prizes.
until_dateintPoint in time (Unix timestamp) when the winners were selected. May be bigger than winners selection date specified in initial parameters of the giveaway.

type

MessageMedia · 18 other constructors

history

present in layers 168–229 · constructor id changed 1×

idlayers
#c6991068168–186
#ceaa3ea1187–229