Sha256: 4113684eb4519a4d3d25feb73c304903a10fc522eab1c121b17138d87eb38307

Contents?: true

Size: 741 Bytes

Versions: 3

Compression:

Stored size: 741 Bytes

Contents

module TD::Types
  # Contains information about the total amount of data that was used for calls.
  #
  # @attr network_type [TD::Types::NetworkType] Type of the network the data was sent through.
  #   Call setNetworkType to maintain the actual network type.
  # @attr sent_bytes [Integer] Total number of bytes sent.
  # @attr received_bytes [Integer] Total number of bytes received.
  # @attr duration [Float] Total call duration, in seconds.
  class NetworkStatisticsEntry::Call < NetworkStatisticsEntry
    attribute :network_type, TD::Types::NetworkType
    attribute :sent_bytes, TD::Types::Coercible::Integer
    attribute :received_bytes, TD::Types::Coercible::Integer
    attribute :duration, TD::Types::Coercible::Float
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/network_statistics_entry/call.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/network_statistics_entry/call.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/network_statistics_entry/call.rb