MadelineProtoDocs/docs/TD_docs/methods/getNetworkStatistics.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

24 lines
688 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 | Required | Description |
|----------|---------------|----------|-------------|
|only\_current|[Bool](../types/Bool.md) | Yes|If true, returns only data for the current library launch|
### Return type: [NetworkStatistics](../types/NetworkStatistics.md)