java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.StorePaymentPurpose
it.tdlight.jni.TdApi.StorePaymentPurposeGiftedPremium
- Enclosing class:
- TdApi
The user gifted Telegram Premium to another user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongPaid amount, in the smallest units of the currency.static final intISO 4217 currency code of the payment currency.longIdentifier of the user for which Premium was gifted. -
Constructor Summary
ConstructorsConstructorDescriptionThe user gifted Telegram Premium to another user.StorePaymentPurposeGiftedPremium(long userId, String currency, long amount) The user gifted Telegram Premium to another user.The user gifted Telegram Premium to another user. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
userId
public long userIdIdentifier of the user for 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 CONSTRUCTOR- See Also:
-
-
Constructor Details
-
StorePaymentPurposeGiftedPremium
public StorePaymentPurposeGiftedPremium()The user gifted Telegram Premium to another user. -
StorePaymentPurposeGiftedPremium
The user gifted Telegram Premium to another user.- Parameters:
userId- long Identifier of the user for which Premium was gifted.currency- String ISO 4217 currency code of the payment currency.amount- long Paid amount, in the smallest units of the currency.
-
StorePaymentPurposeGiftedPremium
The user gifted Telegram Premium to another user.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-