- Enclosing class:
- TdApi
Informs server about a Telegram Premium
purchase through App Store. For official applications only.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
Pass true if this is a restore of a Telegram Premium purchase.byte[]
App Store receipt. -
Constructor Summary
ConstructorDescriptionInforms server about a Telegram Premium purchase through App Store.AssignAppStoreTransaction
(byte[] receipt, boolean isRestore) Informs server about a Telegram Premium purchase through App Store.Informs server about a Telegram Premium purchase through App Store. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
receipt
public byte[] receiptApp Store receipt. -
isRestore
public boolean isRestorePass true if this is a restore of a Telegram Premium purchase. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AssignAppStoreTransaction
public AssignAppStoreTransaction()Informs server about a Telegram Premium purchase through App Store. For official applications only. ReturnsOk
-
AssignAppStoreTransaction
public AssignAppStoreTransaction(byte[] receipt, boolean isRestore) Informs server about a Telegram Premium purchase through App Store. For official applications only. ReturnsOk
- Parameters:
receipt
- byte[] App Store receipt.isRestore
- boolean Pass true if this is a restore of a Telegram Premium purchase.
-
AssignAppStoreTransaction
Informs server about a Telegram Premium purchase through App Store. For official applications only. 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()
-