java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.StorePaymentPurpose
it.tdlight.jni.TdApi.StorePaymentPurposePremiumSubscription
- Enclosing class:
- TdApi
public static final class TdApi.StorePaymentPurposePremiumSubscription
extends TdApi.StorePaymentPurpose
The user subscribed to Telegram Premium.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
Pass true if this is a restore of a Telegram Premium purchase; only for App Store. -
Constructor Summary
ConstructorDescriptionThe user subscribed to Telegram Premium.StorePaymentPurposePremiumSubscription
(boolean isRestore) The user subscribed to Telegram Premium.The user subscribed to Telegram Premium. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
isRestore
public boolean isRestorePass true if this is a restore of a Telegram Premium purchase; only for App Store. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
StorePaymentPurposePremiumSubscription
public StorePaymentPurposePremiumSubscription()The user subscribed to Telegram Premium. -
StorePaymentPurposePremiumSubscription
public StorePaymentPurposePremiumSubscription(boolean isRestore) The user subscribed to Telegram Premium.- Parameters:
isRestore
- boolean Pass true if this is a restore of a Telegram Premium purchase; only for App Store.
-
StorePaymentPurposePremiumSubscription
The user subscribed to Telegram Premium.- 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()
-