Class TdApi.GetPremiumLimit
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.PremiumLimit>
dev.voroby.springframework.telegram.client.TdApi.GetPremiumLimit
- Enclosing class:
- TdApi
Returns information about a limit, increased for Premium users. Returns a 404 error if the limit is unknown.
Returns PremiumLimit
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Type of the limit. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns information about a limit, increased for Premium users.GetPremiumLimit
(TdApi.PremiumLimitType limitType) Creates a function, which returns information about a limit, increased for Premium users. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
limitType
Type of the limit. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
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
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-