Module tdlight.api

Class TdApi.AssignAppStoreTransaction

Enclosing class:
TdApi

public static final class TdApi.AssignAppStoreTransaction extends TdApi.Function<TdApi.Ok>
Informs server about a Telegram Premium purchase through App Store. For official applications only. Returns Ok
  • 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

      public AssignAppStoreTransaction(DataInput input) throws IOException
      Informs server about a Telegram Premium purchase through App Store. For official applications only. Returns Ok
      Throws:
      IOException
  • Method Details