Package org.drinkless.tdlib
Class TdApi.StorePaymentPurposeGiftedPremium
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StorePaymentPurpose
org.drinkless.tdlib.TdApi.StorePaymentPurposeGiftedPremium
- Enclosing class:
- TdApi
The user gifting Telegram Premium to another user.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.StorePaymentPurpose
TdApi.StorePaymentPurpose.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.longIdentifier of the user to which Premium was gifted. -
Constructor Summary
ConstructorsConstructorDescriptionThe user gifting Telegram Premium to another user.StorePaymentPurposeGiftedPremium(long userId, String currency, long amount) The user gifting Telegram Premium to another user. -
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
-
userId
public long userIdIdentifier of the user to which Premium was gifted. -
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
-
StorePaymentPurposeGiftedPremium
public StorePaymentPurposeGiftedPremium()The user gifting Telegram Premium to another user. -
StorePaymentPurposeGiftedPremium
The user gifting Telegram Premium to another user.- Parameters:
userId- Identifier of the user to which Premium was gifted.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.StorePaymentPurpose- Returns:
- this.CONSTRUCTOR
-