Module tdlight.api

Class TdApi.NetworkStatisticsEntryCall

Enclosing class:
TdApi

public static final class TdApi.NetworkStatisticsEntryCall extends TdApi.NetworkStatisticsEntry
Contains information about the total amount of data that was used for calls.
  • Field Details

    • networkType

      public TdApi.NetworkType networkType
      Type of the network the data was sent through. Call setNetworkType to maintain the actual network type.
    • sentBytes

      public long sentBytes
      Total number of bytes sent.
    • receivedBytes

      public long receivedBytes
      Total number of bytes received.
    • duration

      public double duration
      Total call duration, in seconds.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      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 - NetworkType Type of the network the data was sent through. Call setNetworkType to maintain the actual network type.
      sentBytes - long Total number of bytes sent.
      receivedBytes - long Total number of bytes received.
      duration - double Total call duration, in seconds.
    • NetworkStatisticsEntryCall

      public NetworkStatisticsEntryCall(DataInput input) throws IOException
      Contains information about the total amount of data that was used for calls.
      Throws:
      IOException
  • Method Details