- Enclosing class:
- TdApi
public static final class TdApi.GetNetworkStatistics
extends TdApi.Function<TdApi.NetworkStatistics>
Returns network data usage statistics.
Can be called before authorization.
Returns
NetworkStatistics
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
If true, returns only data for the current library launch. -
Constructor Summary
ConstructorDescriptionReturns network data usage statistics.GetNetworkStatistics
(boolean onlyCurrent) Returns network data usage statistics.GetNetworkStatistics
(DataInput input) Returns network data usage statistics. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
onlyCurrent
public boolean onlyCurrentIf true, returns only data for the current library launch. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetNetworkStatistics
public GetNetworkStatistics()Returns network data usage statistics. Can be called before authorization. ReturnsNetworkStatistics
-
GetNetworkStatistics
public GetNetworkStatistics(boolean onlyCurrent) Returns network data usage statistics. Can be called before authorization. ReturnsNetworkStatistics
- Parameters:
onlyCurrent
- boolean If true, returns only data for the current library launch.
-
GetNetworkStatistics
Returns network data usage statistics. Can be called before authorization. ReturnsNetworkStatistics
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-