Module tdlight.api

Class TdApi.PremiumFeatures

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PremiumFeatures
Enclosing class:
TdApi

public static final class TdApi.PremiumFeatures extends TdApi.Object
Contains information about features, available to Premium users.
  • Field Details

    • features

      public TdApi.PremiumFeature[] features
      The list of available features.
    • limits

      public TdApi.PremiumLimit[] limits
      The list of limits, increased for Premium users.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • PremiumFeatures

      public PremiumFeatures()
      Contains information about features, available to Premium users.
    • PremiumFeatures

      public PremiumFeatures(TdApi.PremiumFeature[] features, TdApi.PremiumLimit[] limits, TdApi.InternalLinkType paymentLink)
      Contains information about features, available to Premium users.
      Parameters:
      features - PremiumFeature[] The list of available features.
      limits - PremiumLimit[] The list of limits, increased for Premium users.
      paymentLink - InternalLinkType An internal link to be opened to pay for Telegram Premium if store payment isn't possible; may be null if direct payment isn't available.
    • PremiumFeatures

      public PremiumFeatures(DataInput input) throws IOException
      Contains information about features, available to Premium users.
      Throws:
      IOException
  • Method Details