libtd-ktx / kotlinx.telegram.coroutines / setOption
setOption
suspend fun
TelegramFlow
.setOption(name:
String
?, value:
OptionValue
?):
Unit
Suspend function, which 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.
Parameters
name
- The name of the option.
value
- The new value of the option.