payments.giveawayInfoResults
A giveaway has ended.
type tg.PaymentsGiveawayInfoResults struct { /* ... */ }
Implements payments.GiveawayInfo.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Winner | bool | — | Whether we're one of the winners of this giveaway. |
Refunded | bool | — | Whether the giveaway was canceled and was fully refunded. |
StartDate | int | yes | Start date of the giveaway |
GiftCodeSlug | 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 | int64 | — | If we're one of the winners of this Telegram Star giveaway, the number Telegram Stars we won. |
FinishDate | int | yes | End date of the giveaway. May be bigger than the end date specified in parameters of the giveaway. |
WinnersCount | int | yes | Number of winners in the giveaway |
ActivatedCount | int | — | Number of winners, which activated their gift codes. |
References
- Official documentation
- Generated Go reference
- TL definition:
payments.giveawayInfoResults#e175e66f