Package org.drinkless.tdlib
Class TdApi.TelegramPaymentPurposeStars
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.TelegramPaymentPurpose
org.drinkless.tdlib.TdApi.TelegramPaymentPurposeStars
- Enclosing class:
- TdApi
The user buying Telegram stars.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.TelegramPaymentPurpose
TdApi.TelegramPaymentPurpose.Constructors -
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 stars. -
Constructor Summary
ConstructorsConstructorDescriptionThe user buying Telegram stars.TelegramPaymentPurposeStars(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 stars. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
TelegramPaymentPurposeStars
public TelegramPaymentPurposeStars()The user buying Telegram stars. -
TelegramPaymentPurposeStars
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 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.TelegramPaymentPurpose- Returns:
- this.CONSTRUCTOR
-