public static class TdApi.PremiumLimit extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
defaultValue
Default value of the limit.
|
int |
premiumValue
Value of the limit for Premium users.
|
TdApi.PremiumLimitType |
type
The type of the limit.
|
| Constructor and Description |
|---|
PremiumLimit()
Contains 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.PremiumLimitType type
public int defaultValue
public int premiumValue
public static final int CONSTRUCTOR
public PremiumLimit()
public PremiumLimit(TdApi.PremiumLimitType type, int defaultValue, int premiumValue)
type - The type of the limit.defaultValue - Default value of the limit.premiumValue - Value of the limit for Premium users.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object