Class TdApi.PremiumLimit
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.PremiumLimit
- Enclosing class:
- TdApi
Contains information about a limit, increased for Premium users.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Default value of the limit.int
Value of the limit for Premium users.The type of the limit. -
Constructor Summary
ConstructorDescriptionContains information about a limit, increased for Premium users.PremiumLimit
(TdApi.PremiumLimitType type, int defaultValue, int premiumValue) Contains 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.Object
toString
-
Field Details
-
type
The type of the limit. -
defaultValue
public int defaultValueDefault value of the limit. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PremiumLimit
public PremiumLimit()Contains information about a limit, increased for Premium users. -
PremiumLimit
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-