Module tdlight.api

Class TdApi.AssignGooglePlayTransaction

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.AssignGooglePlayTransaction
Enclosing class:
TdApi

public static final class TdApi.AssignGooglePlayTransaction extends TdApi.Function<TdApi.Ok>
Informs server about a Telegram Premium purchase through Google Play. For official applications only. Returns Ok
  • Field Details

    • purchaseToken

      public String purchaseToken
      Google Play purchase token.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • AssignGooglePlayTransaction

      public AssignGooglePlayTransaction()
      Informs server about a Telegram Premium purchase through Google Play. For official applications only. Returns Ok
    • AssignGooglePlayTransaction

      public AssignGooglePlayTransaction(String purchaseToken)
      Informs server about a Telegram Premium purchase through Google Play. For official applications only. Returns Ok
      Parameters:
      purchaseToken - String Google Play purchase token.
    • AssignGooglePlayTransaction

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