Class TdApi.GetPremiumLimit

Enclosing class:
TdApi

public static class TdApi.GetPremiumLimit extends TdApi.Function<TdApi.PremiumLimit>
Returns information about a limit, increased for Premium users. Returns a 404 error if the limit is unknown.

Returns PremiumLimit

  • Field Details

  • Constructor Details

    • GetPremiumLimit

      public GetPremiumLimit()
      Default constructor for a function, which returns information about a limit, increased for Premium users. Returns a 404 error if the limit is unknown.

      Returns PremiumLimit

    • GetPremiumLimit

      public GetPremiumLimit(TdApi.PremiumLimitType limitType)
      Creates a function, which returns information about a limit, increased for Premium users. Returns a 404 error if the limit is unknown.

      Returns PremiumLimit

      Parameters:
      limitType - Type of the limit.
  • 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