Module tdlight.api

Class TdApi.StorePaymentPurposePremiumSubscription

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.StorePaymentPurpose
it.tdlight.jni.TdApi.StorePaymentPurposePremiumSubscription
Enclosing class:
TdApi

public static final class TdApi.StorePaymentPurposePremiumSubscription extends TdApi.StorePaymentPurpose
The user subscribed to Telegram Premium.
  • Field Details

    • isRestore

      public boolean isRestore
      Pass true if this is a restore of a Telegram Premium purchase; only for App Store.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • StorePaymentPurposePremiumSubscription

      public StorePaymentPurposePremiumSubscription()
      The user subscribed to Telegram Premium.
    • StorePaymentPurposePremiumSubscription

      public StorePaymentPurposePremiumSubscription(boolean isRestore)
      The user subscribed to Telegram Premium.
      Parameters:
      isRestore - boolean Pass true if this is a restore of a Telegram Premium purchase; only for App Store.
    • StorePaymentPurposePremiumSubscription

      public StorePaymentPurposePremiumSubscription(DataInput input) throws IOException
      The user subscribed to Telegram Premium.
      Throws:
      IOException
  • Method Details