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