-
+
- Enclosing class: +
- TdApi +
+ +
Informs server about a Telegram Premium
+ purchase through App Store. For official applications only.
+ Returns
+Ok
-
+
+
-
+
+ +Field Summary
+Fields+++Modifier and Type+Field+Description++ +static final int
+ +boolean
++Pass true if this is a restore of a + Telegram Premium purchase.++ +byte[]
++App Store receipt.+
+
+ -
+
+ +Constructor Summary
+Constructors+++Constructor+Description+ +++Informs 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
++ ++++++Modifier and Type+Method+Description++ +boolean
+ +int
+int
+hashCode()
+void
+serialize
(DataOutput output) ++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[] receipt+App Store receipt.+
+ -
+
+ +isRestore
+public boolean isRestore+Pass 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. + Returns+Ok
+ -
+
+ +AssignAppStoreTransaction
+public AssignAppStoreTransaction+(byte[] receipt, + boolean isRestore) Informs server about a Telegram Premium + purchase through App Store. For official applications only. + Returns+Ok
-
+
- 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. + Returns+Ok
-
+
- 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()+ +
+
+ -
+