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.

NameTypeDescription
namestringThe name of the option.
valueOptionValueThe new value of the option.

More details on telegram’s documentation.