Layer 227
PaymentsGiveawayInfoResults
A giveaway has ended.
constructor
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
| Name | Type | Description |
|---|---|---|
| Winner | flags .0? true | Whether we're one of the winners of this giveaway. |
| Refunded | flags .1? true | Whether the giveaway was canceled and was fully refunded. |
| StartDate | int | Start date of the giveaway |
| GiftCodeSlug | flags .3? string | 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. |
| StarsPrize | flags .4? long | If we're one of the winners of this Telegram Star giveaway, the number Telegram Stars we won. |
| FinishDate | int | End date of the giveaway. May be bigger than the end date specified in parameters of the giveaway. |
| WinnersCount | int | Number of winners in the giveaway |
| ActivatedCount | flags .2? int | Number of winners, which activated their gift codes. |
Returns
payments.GiveawayInfoGogram Example
// Creating PaymentsGiveawayInfoResults constructor obj := &tg.PaymentsGiveawayInfoResults{ Winner: nil, Refunded: nil, StartDate: 42, GiftCodeSlug: "Hello, World!", StarsPrize: nil, FinishDate: 42, // ... more required fields }