Link Search Menu Expand Document

Constructor: payments.giveawayInfoResults

Back to constructors index

A giveaway has ended.

Attributes:

NameTypeRequiredDescription
winnerBoolOptionalWhether we’re one of the winners of this giveaway.
refundedBoolOptionalWhether the giveaway was canceled and was fully refunded.
start_dateintYesStart date of the giveaway
gift_code_slugstringOptionalIf 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_prizelongOptional
finish_dateintYesEnd date of the giveaway. May be bigger than the end date specified in parameters of the giveaway.
winners_countintYesNumber of winners in the giveaway
activated_countintOptionalNumber 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];