Module tdlight.api

Class TdApi.PremiumLimit

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

public static final class TdApi.PremiumLimit extends TdApi.Object
Contains information about a limit, increased for Premium users.
  • Field Details

    • type

      The type of the limit.
    • defaultValue

      public int defaultValue
      Default value of the limit.
    • premiumValue

      public int premiumValue
      Value of the limit for Premium users.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • PremiumLimit

      public PremiumLimit()
      Contains information about a limit, increased for Premium users.
    • PremiumLimit

      public PremiumLimit(TdApi.PremiumLimitType type, int defaultValue, int premiumValue)
      Contains information about a limit, increased for Premium users.
      Parameters:
      type - PremiumLimitType The type of the limit.
      defaultValue - int Default value of the limit.
      premiumValue - int Value of the limit for Premium users.
    • PremiumLimit

      public PremiumLimit(DataInput input) throws IOException
      Contains information about a limit, increased for Premium users.
      Throws:
      IOException
  • Method Details