Class TdApi.PremiumLimit

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.PremiumLimit
Enclosing class:
TdApi

public static 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
      Identifier uniquely determining type of the object.
      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 - The type of the limit.
      defaultValue - Default value of the limit.
      premiumValue - Value of the limit for Premium users.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR