public static class TdApi.GetNetworkStatistics extends TdApi.Function<TdApi.NetworkStatistics>
Returns NetworkStatistics
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
onlyCurrent
Pass true to get statistics only for the current library launch.
|
| Constructor and Description |
|---|
GetNetworkStatistics()
Default constructor for a function, which returns network data usage statistics.
|
GetNetworkStatistics(boolean onlyCurrent)
Creates a function, which returns network data usage statistics.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean onlyCurrent
public static final int CONSTRUCTOR
public GetNetworkStatistics()
Returns NetworkStatistics
public GetNetworkStatistics(boolean onlyCurrent)
Returns NetworkStatistics
onlyCurrent - Pass true to get statistics only for the current library launch.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object