- Enclosing class:
- TdApi
Sets the value of an option. (Check
the list of available options on
https://core.telegram.org/tdlib/options.)
Only writable options can be set. Can
be called before authorization.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The name of the option.The new value of the option; pass null to reset option value to a default value. -
Constructor Summary
-
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
name
The name of the option. -
value
The new value of the option; pass null to reset option value to a default value. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetOption
public SetOption()Sets the value of an option. (Check the list of available options on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization. ReturnsOk
-
SetOption
Sets the value of an option. (Check the list of available options on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization. ReturnsOk
- Parameters:
name
- String The name of the option.value
- OptionValue The new value of the option; pass null to reset option value to a default value.
-
SetOption
Sets the value of an option. (Check the list of available options on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-