telegram api constructor · layer 229 · #e175e66f

payments.giveawayInfoResults

A giveaway has ended.

definition

payments.giveawayInfoResults#e175e66f flags:# winner:flags.0?true refunded:flags.1?true start_date:int gift_code_slug:flags.3?string stars_prize:flags.4?long finish_date:int winners_count:int activated_count:flags.2?int = payments.GiveawayInfo;

parameters

nametypedescription
flags#Flags, see TL conditional fields
winnerflags.0?trueWhether we're one of the winners of this giveaway.
refundedflags.1?trueWhether the giveaway was canceled and was fully refunded.
start_dateintStart date of the giveaway
gift_code_slugflags.3?stringIf we're one of the winners of this giveaway, contains the Premium gift code, see here » for more info on the full giveaway flow.
stars_prizeflags.4?longIf we're one of the winners of this Telegram Star giveaway, the number Telegram Stars we won.
finish_dateintEnd date of the giveaway. May be bigger than the end date specified in parameters of the giveaway.
winners_countintNumber of winners in the giveaway
activated_countflags.2?intNumber of winners, which activated their gift codes.

type

payments.GiveawayInfo · other constructors: payments.giveawayInfo

history

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

idlayers
#00cd5570166–186
#e175e66f187–229