libtd-ktx / kotlinx.telegram.coroutines / getOption
getOption
suspend fun TelegramFlow.getOption(name: String?): OptionValue
Suspend function, which returns the value of an option by its name. (Check the list of available options on https://core.telegram.org/tdlib/options.) Can be called before authorization.
Parameters
name - The name of the option.
Return OptionValue This class is an abstract base class.