Constructor: inputStorePaymentStarsGiveaway
Attributes:
Name | Type | Required |
---|---|---|
only_new_subscribers | Bool | Optional |
winners_are_visible | Bool | Optional |
stars | long | Yes |
boost_peer | Username, chat ID, Update, Message or InputPeer | Optional |
additional_peers | Array of Username, chat ID, Update, Message or InputPeer | Optional |
countries_iso2 | Array of string | Optional |
prize_description | string | Optional |
until_date | int | Yes |
currency | string | Yes |
amount | long | Yes |
users | int | Yes |
Type: InputStorePaymentPurpose
Example:
$inputStorePaymentStarsGiveaway = ['_' => 'inputStorePaymentStarsGiveaway', 'only_new_subscribers' => Bool, 'winners_are_visible' => Bool, 'stars' => long, 'boost_peer' => InputPeer, 'additional_peers' => [InputPeer, InputPeer], 'countries_iso2' => ['string', 'string'], 'prize_description' => 'string', 'until_date' => int, 'currency' => 'string', 'amount' => long, 'users' => int];