public static class TdApi.StorePaymentPurposeStarGiveaway extends TdApi.StorePaymentPurpose
| Modifier and Type | Field and Description |
|---|---|
long |
amount
Paid amount, in the smallest units of the currency.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
currency
ISO 4217 currency code of the payment currency.
|
TdApi.GiveawayParameters |
parameters
Giveaway parameters.
|
long |
starCount
The number of Telegram Stars to be distributed through the giveaway.
|
int |
winnerCount
The number of users to receive Telegram Stars.
|
| Constructor and Description |
|---|
StorePaymentPurposeStarGiveaway()
The user creating a Telegram Star giveaway.
|
StorePaymentPurposeStarGiveaway(TdApi.GiveawayParameters parameters,
java.lang.String currency,
long amount,
int winnerCount,
long starCount)
The user creating a Telegram Star giveaway.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.GiveawayParameters parameters
public java.lang.String currency
public long amount
public int winnerCount
public long starCount
public static final int CONSTRUCTOR
public StorePaymentPurposeStarGiveaway()
public StorePaymentPurposeStarGiveaway(TdApi.GiveawayParameters parameters, java.lang.String currency, long amount, int winnerCount, long starCount)
parameters - Giveaway parameters.currency - ISO 4217 currency code of the payment currency.amount - Paid amount, in the smallest units of the currency.winnerCount - The number of users to receive Telegram Stars.starCount - The number of Telegram Stars to be distributed through the giveaway.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object