java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PremiumLimit
- Enclosing class:
- TdApi
Contains information about a limit,
increased for Premium users.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
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.PremiumLimit
(DataInput input) Contains information about a limit, increased for Premium users. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
type
The type of the limit. -
defaultValue
public int defaultValueDefault value of the limit. -
CONSTRUCTOR
public static final int CONSTRUCTOR- 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
- PremiumLimitType The type of the limit.defaultValue
- int Default value of the limit.premiumValue
- int Value of the limit for Premium users.
-
PremiumLimit
Contains information about a limit, increased for Premium users.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-