public static class TdApi.SetOption extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
name
The name of the option.
|
TdApi.OptionValue |
value
The new value of the option; pass null to reset option value to a default value.
|
Constructor and Description |
---|
SetOption()
Default constructor for a function, which sets the value of an option.
|
SetOption(java.lang.String name,
TdApi.OptionValue value)
Creates a function, which sets the value of an option.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String name
public TdApi.OptionValue value
public static final int CONSTRUCTOR
public SetOption()
Returns Ok
public SetOption(java.lang.String name, TdApi.OptionValue value)
Returns Ok
name
- The name of the option.value
- The new value of the option; pass null to reset option value to a default value.public int getConstructor()
getConstructor
in class TdApi.Function