Skip to main content

payments.giveawayInfoResults

A giveaway has ended.

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

Implements payments.GiveawayInfo.

Fields

NameTypeRequiredDescription
WinnerboolWhether we're one of the winners of this giveaway.
RefundedboolWhether the giveaway was canceled and was fully refunded.
StartDateintyesStart date of the giveaway
GiftCodeSlugstringIf we're one of the winners of this giveaway, contains the Premium gift code, see here » for more info on the full giveaway flow.
StarsPrizeint64If we're one of the winners of this Telegram Star giveaway, the number Telegram Stars we won.
FinishDateintyesEnd date of the giveaway. May be bigger than the end date specified in parameters of the giveaway.
WinnersCountintyesNumber of winners in the giveaway
ActivatedCountintNumber of winners, which activated their gift codes.

References