Constructor: payments.giveawayInfoResults
A giveaway has ended.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
winner | Bool | Optional | Whether we’re one of the winners of this giveaway. |
refunded | Bool | Optional | Whether the giveaway was canceled and was fully refunded. |
start_date | int | Yes | Start date of the giveaway |
gift_code_slug | string | Optional | 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. |
stars_prize | long | Optional | |
finish_date | int | Yes | End date of the giveaway. May be bigger than the end date specified in parameters of the giveaway. |
winners_count | int | Yes | Number of winners in the giveaway |
activated_count | int | Optional | Number of winners, which activated their gift codes. |
Type: payments.GiveawayInfo
Example:
$payments_giveawayInfoResults = ['_' => 'payments.giveawayInfoResults', 'winner' => Bool, 'refunded' => Bool, 'start_date' => int, 'gift_code_slug' => 'string', 'stars_prize' => long, 'finish_date' => int, 'winners_count' => int, 'activated_count' => int];