1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 23:26:56 +01:00
MadelineProto/docs/TD_docs/methods/getNetworkStatistics.md

23 lines
611 B
Markdown
Raw Normal View History

2017-08-25 15:05:53 +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
### Params:
| 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)