- Enclosing class:
- TdApi
Checks whether Telegram Premium purchase
is possible. Must be called before
in-store Premium purchase.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Transaction purpose. -
Constructor Summary
ConstructorDescriptionChecks whether Telegram Premium purchase is possible.Checks whether Telegram Premium purchase is possible.CanPurchasePremium
(DataInput input) Checks whether Telegram Premium purchase is possible. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
purpose
Transaction purpose. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
CanPurchasePremium
public CanPurchasePremium()Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase. ReturnsOk
-
CanPurchasePremium
Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase. ReturnsOk
- Parameters:
purpose
- StorePaymentPurpose Transaction purpose.
-
CanPurchasePremium
Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase. ReturnsOk
- 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()
-