public static class TdApi.GetNetworkStatistics extends TdApi.Function
Returns NetworkStatistics
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
onlyCurrent
If true, returns only data 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() |
toString
public boolean onlyCurrent
public static final int CONSTRUCTOR
public GetNetworkStatistics()
Returns NetworkStatistics
public GetNetworkStatistics(boolean onlyCurrent)
Returns NetworkStatistics
onlyCurrent
- If true, returns only data for the current library launch.public int getConstructor()
getConstructor
in class TdApi.Function