mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 10:16:55 +01:00
23 lines
611 B
Markdown
23 lines
611 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
|
|
|
|
### 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)
|
|
|