resetNetworkStatistics - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / resetNetworkStatistics

resetNetworkStatistics

suspend fun TelegramFlow.resetNetworkStatistics(): Unit

Suspend function, which resets all network data usage statistics to zero. Can be called before authorization.