java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageGiftedPremium
- Enclosing class:
- TdApi
Telegram Premium was gifted to the user.
-
Field Summary
Modifier and TypeFieldDescriptionlong
The paid amount, in the smallest units of the currency.static final int
Currency for the paid amount.int
Number of month the Telegram Premium subscription will be active.A sticker to be shown in the message; may be null if unknown. -
Constructor Summary
ConstructorDescriptionTelegram Premium was gifted to the user.MessageGiftedPremium
(DataInput input) Telegram Premium was gifted to the user.MessageGiftedPremium
(String currency, long amount, int monthCount, TdApi.Sticker sticker) Telegram Premium was gifted to the user. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
currency
Currency for the paid amount. -
amount
public long amountThe paid amount, in the smallest units of the currency. -
monthCount
public int monthCountNumber of month the Telegram Premium subscription will be active. -
sticker
A sticker to be shown in the message; may be null if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
MessageGiftedPremium
public MessageGiftedPremium()Telegram Premium was gifted to the user. -
MessageGiftedPremium
Telegram Premium was gifted to the user.- Parameters:
currency
- String Currency for the paid amount.amount
- long The paid amount, in the smallest units of the currency.monthCount
- int Number of month the Telegram Premium subscription will be active.sticker
- Sticker A sticker to be shown in the message; may be null if unknown.
-
MessageGiftedPremium
Telegram Premium was gifted to the user.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-