public static class TdApi.StorePaymentPurposePremiumGiveaway 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.
|
| Constructor and Description |
|---|
StorePaymentPurposePremiumGiveaway()
The user creating a Telegram Premium giveaway.
|
StorePaymentPurposePremiumGiveaway(TdApi.GiveawayParameters parameters,
java.lang.String currency,
long amount)
The user creating a Telegram Premium 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 static final int CONSTRUCTOR
public StorePaymentPurposePremiumGiveaway()
public StorePaymentPurposePremiumGiveaway(TdApi.GiveawayParameters parameters, java.lang.String currency, long amount)
parameters - Giveaway parameters.currency - ISO 4217 currency code of the payment currency.amount - Paid amount, in the smallest units of the currency.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object