MadelineProtoDocs/docs/TD_docs/methods/getNetworkStatistics.md

24 lines
690 B
Markdown

---
title: getNetworkStatistics
description: Returns network data usage statistics. Can be called before authorization
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: getNetworkStatistics
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns network data usage statistics. Can be called before authorization
### Parameters:
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|only\_current|[Bool](../types/Bool.md) | If true, returns only data for the current library launch | Yes|
### Return type: [NetworkStatistics](../types/NetworkStatistics.md)