Sha256: e6de57fdfbc43826e61ccf49107f3f89fe3d4777493c9c56b66e4a5151d6b5d3

Contents?: true

Size: 770 Bytes

Versions: 2

Compression:

Stored size: 770 Bytes

Contents

module TD::Types
  # Contains information about the total amount of data that was used to send and receive files.
  #
  # @attr file_type [TD::Types::FileType] Type of the file the data is part of.
  # @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.
  class NetworkStatisticsEntry::File < NetworkStatisticsEntry
    attribute :file_type, TD::Types::FileType
    attribute :network_type, TD::Types::NetworkType
    attribute :sent_bytes, TD::Types::Coercible::Integer
    attribute :received_bytes, TD::Types::Coercible::Integer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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