Package org.drinkless.tdlib
Class TdApi.JsonValueBoolean
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.JsonValue
org.drinkless.tdlib.TdApi.JsonValueBoolean
- Enclosing class:
TdApi
Represents a boolean JSON value.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.JsonValue
TdApi.JsonValue.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanThe value. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a boolean JSON value.JsonValueBoolean(boolean value) Represents a boolean JSON value. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
value
public boolean valueThe value. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
JsonValueBoolean
public JsonValueBoolean()Represents a boolean JSON value. -
JsonValueBoolean
public JsonValueBoolean(boolean value) Represents a boolean JSON value.- Parameters:
value- The value.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.JsonValue- Returns:
- this.CONSTRUCTOR
-