libtd-ktx / kotlinx.telegram.coroutines / getNetworkStatistics
getNetworkStatistics
suspend fun
TelegramFlow
.getNetworkStatistics(onlyCurrent:
Boolean
):
NetworkStatistics
Suspend function, which returns network data usage statistics. Can be called before authorization.
Parameters
onlyCurrent
- If true, returns only data for the current library launch.
Return NetworkStatistics A full list of available network statistic entries.