enableProxy - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / enableProxy

enableProxy

suspend fun TelegramFlow.enableProxy(proxyId: Int): Unit

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

Parameters

proxyId - Proxy identifier.