getProxyLink - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / getProxyLink

getProxyLink

suspend fun TelegramFlow.getProxyLink(proxyId: Int): Text

Suspend function, which returns an HTTPS link, which can be used to add a proxy. Available only for SOCKS5 and MTProto proxies. Can be called before authorization.

Parameters

proxyId - Proxy identifier.

Return Text Contains some text.