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

23 lines
624 B
Markdown

---
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|[CLICK ME Bool](../types/Bool.md) | Yes|If true, returns only data for the current library launch|
### Return type: [NetworkStatistics](../types/NetworkStatistics.md)