Package it.tdlight.jni
Class TdApi.AddNetworkStatistics
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.AddNetworkStatistics
- Enclosing class:
- TdApi
public static class TdApi.AddNetworkStatistics extends TdApi.Function
Adds the specified data to data usage
statistics. Can be called before authorization.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.NetworkStatisticsEntry
entry
The network statistics entry with the data to be added to statistics. -
Constructor Summary
Constructors Constructor Description AddNetworkStatistics()
Adds the specified data to data usage statistics.AddNetworkStatistics(TdApi.NetworkStatisticsEntry entry)
Adds the specified data to data usage statistics.AddNetworkStatistics(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
entry
The network statistics entry with the data to be added to statistics. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
AddNetworkStatistics
public AddNetworkStatistics()Adds the specified data to data usage statistics. Can be called before authorization.Returns
Ok
-
AddNetworkStatistics
Adds the specified data to data usage statistics. Can be called before authorization.Returns
Ok
- Parameters:
entry
- NetworkStatisticsEntry The network statistics entry with the data to be added to statistics.
-
AddNetworkStatistics
- 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()
-