Package org.drinkless.tdlib
Class TdApi.StorePaymentPurposeStars
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StorePaymentPurpose
org.drinkless.tdlib.TdApi.StorePaymentPurposeStars
- Enclosing class:
- TdApi
The user buying Telegram Stars.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongPaid amount, in the smallest units of the currency.static final intIdentifier uniquely determining type of the object.ISO 4217 currency code of the payment currency.longNumber of bought Telegram Stars. -
Constructor Summary
ConstructorsConstructorDescriptionThe user buying Telegram Stars.StorePaymentPurposeStars(String currency, long amount, long starCount) The user buying Telegram Stars. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
currency
ISO 4217 currency code of the payment currency. -
amount
public long amountPaid amount, in the smallest units of the currency. -
starCount
public long starCountNumber of bought Telegram Stars. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StorePaymentPurposeStars
public StorePaymentPurposeStars()The user buying Telegram Stars. -
StorePaymentPurposeStars
The user buying Telegram Stars.- Parameters:
currency- ISO 4217 currency code of the payment currency.amount- Paid amount, in the smallest units of the currency.starCount- Number of bought Telegram Stars.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-