MadelineProtoDocs/docs/TD_docs/methods/getNetworkStatistics.md

23 lines
615 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: getNetworkStatistics
description: Returns network data usage statistics. Can be called before authorization
---
## 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)