Class TdApi.OptionValueBoolean
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.OptionValue
dev.voroby.springframework.telegram.client.TdApi.OptionValueBoolean
- Enclosing class:
- TdApi
Represents a boolean option.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
The value of the option. -
Constructor Summary
ConstructorDescriptionRepresents a boolean option.OptionValueBoolean
(boolean value) Represents a boolean option. -
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
-
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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-