TDLib v0.0.2 TDLib.Method.SetOption View Source
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. This method can be called before authorization.
Returns object_ptr
Name | Type | Description |
---|---|---|
name | string | The name of the option. |
value | OptionValue | The new value of the option. |
More details on telegram’s documentation.