Class TdApi.NetworkStatisticsEntryCall
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.NetworkStatisticsEntry
dev.voroby.springframework.telegram.client.TdApi.NetworkStatisticsEntryCall
- Enclosing class:
- TdApi
Contains information about the total amount of data that was used for calls.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.double
Total call duration, in seconds.Type of the network the data was sent through.long
Total number of bytes received.long
Total number of bytes sent. -
Constructor Summary
ConstructorDescriptionContains information about the total amount of data that was used for calls.NetworkStatisticsEntryCall
(TdApi.NetworkType networkType, long sentBytes, long receivedBytes, double duration) Contains information about the total amount of data that was used for calls. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
networkType
Type of the network the data was sent through. Call setNetworkType to maintain the actual network type. -
sentBytes
public long sentBytesTotal number of bytes sent. -
receivedBytes
public long receivedBytesTotal number of bytes received. -
duration
public double durationTotal call duration, in seconds. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
NetworkStatisticsEntryCall
public NetworkStatisticsEntryCall()Contains information about the total amount of data that was used for calls. -
NetworkStatisticsEntryCall
public NetworkStatisticsEntryCall(TdApi.NetworkType networkType, long sentBytes, long receivedBytes, double duration) Contains information about the total amount of data that was used for calls.- Parameters:
networkType
- Type of the network the data was sent through. Call setNetworkType to maintain the actual network type.sentBytes
- Total number of bytes sent.receivedBytes
- Total number of bytes received.duration
- Total call duration, in seconds.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-