View Source ExTDLib.Method.SetOption (ExTDLib v0.0.4)

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 object_ptr<Ok>.

NameTypeDescription
namestringThe name of the option.
valueOptionValueThe new value of the option; pass null to reset option value to a default value.

More details on telegram's documentation.