TelegramPaymentPurposeStarGiveaway¶
The user creating a Telegram Star giveaway
TelegramPaymentPurposeStarGiveaway(
parameters: GiveawayParameters,
currency: string,
amount: int53,
winner_count: int32,
star_count: int53
) → TelegramPaymentPurpose
parameters¶
Giveaway parameters
currency¶
string
ISO 4217 currency code of the payment currency
amount¶
int53
Paid amount, in the smallest units of the currency
winner_count¶
int32
The number of users to receive Telegram Stars
star_count¶
int53
The number of Telegram Stars to be distributed through the giveaway