Package org.drinkless.tdlib
Class TdApi.OptionValueBoolean
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.OptionValue
org.drinkless.tdlib.TdApi.OptionValueBoolean
- Enclosing class:
- TdApi
Represents a boolean option.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanThe value of the option. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a boolean option.OptionValueBoolean(boolean value) Represents a boolean option. -
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 of the option. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
OptionValueBoolean
public OptionValueBoolean()Represents a boolean option. -
OptionValueBoolean
public OptionValueBoolean(boolean value) Represents a boolean option.- Parameters:
value- The value of the option.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-