Link Search Menu Expand Document

Constructor: starsGiveawayOption

Back to constructors index

Attributes:

NameTypeRequired
extendedBoolOptional
defaultBoolOptional
starslongYes
yearly_boostsintYes
store_productstringOptional
currencystringYes
amountlongYes
winnersArray of StarsGiveawayWinnersOptionYes

Type: StarsGiveawayOption

Example:

$starsGiveawayOption = ['_' => 'starsGiveawayOption', 'extended' => Bool, 'default' => Bool, 'stars' => long, 'yearly_boosts' => int, 'store_product' => 'string', 'currency' => 'string', 'amount' => long, 'winners' => [StarsGiveawayWinnersOption, StarsGiveawayWinnersOption]];