public static class TdApi.OptionValueBoolean extends TdApi.OptionValue
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
value
The value of the option.
|
| Constructor and Description |
|---|
OptionValueBoolean()
Represents a boolean option.
|
OptionValueBoolean(boolean value)
Represents a boolean option.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean value
public static final int CONSTRUCTOR
public OptionValueBoolean()
public OptionValueBoolean(boolean value)
value - The value of the option.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object