Skip to main content

payments.giveawayInfoResults

A giveaway has ended.

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

Implements payments.GiveawayInfo.

Fields​

NameTypeRequiredDescription
Winnerbool—Whether we're one of the winners of this giveaway.
Refundedbool—Whether the giveaway was canceled and was fully refunded.
StartDateintyesStart date of the giveaway
GiftCodeSlugstring—If we're one of the winners of this giveaway, contains the Premium gift code, see here » for more info on the full giveaway flow.
StarsPrizeint64—If 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
ActivatedCountint—Number of winners, which activated their gift codes.

References​