Sha256: 40cf470c84d23716640dbad5a803b35b9cf883f547c5e8d453daaae1dddc8870

Contents?: true

Size: 748 Bytes

Versions: 4

Compression:

Stored size: 748 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::Integer
    attribute :received_bytes, TD::Types::Integer
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/network_statistics_entry/file.rb
tdlib-ruby-2.2.0 lib/tdlib/types/network_statistics_entry/file.rb
tdlib-ruby-2.1.0 lib/tdlib/types/network_statistics_entry/file.rb
tdlib-ruby-2.0.0 lib/tdlib/types/network_statistics_entry/file.rb