Package org.drinkless.tdlib
Class TdApi.StorePaymentPurposePremiumGiveaway
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StorePaymentPurpose
org.drinkless.tdlib.TdApi.StorePaymentPurposePremiumGiveaway
- Enclosing class:
- TdApi
The user creating a Telegram Premium giveaway.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Paid amount, in the smallest units of the currency.static final int
Identifier uniquely determining type of the object.ISO 4217 currency code of the payment currency.Giveaway parameters. -
Constructor Summary
ConstructorsConstructorDescriptionThe user creating a Telegram Premium giveaway.StorePaymentPurposePremiumGiveaway
(TdApi.GiveawayParameters parameters, String currency, long amount) The user creating a Telegram Premium giveaway. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
parameters
Giveaway parameters. -
currency
ISO 4217 currency code of the payment currency. -
amount
public long amountPaid amount, in the smallest units of the currency. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StorePaymentPurposePremiumGiveaway
public StorePaymentPurposePremiumGiveaway()The user creating a Telegram Premium giveaway. -
StorePaymentPurposePremiumGiveaway
public StorePaymentPurposePremiumGiveaway(TdApi.GiveawayParameters parameters, String currency, long amount) The user creating a Telegram Premium giveaway.- Parameters:
parameters
- Giveaway parameters.currency
- ISO 4217 currency code of the payment currency.amount
- Paid amount, in the smallest units of the currency.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-