ProxyKtx.enable - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.extensions / ProxyKtx / enable

enable

open suspend fun Proxy.enable(): Unit

Suspend function, which enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization.