testNetwork - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / testNetwork

testNetwork

suspend fun TelegramFlow.testNetwork(): Unit

Suspend function, which sends a simple network request to the Telegram servers; for testing only. Can be called before authorization.