Class: TD::Types::NetworkStatisticsEntry::File
- Inherits:
-
TD::Types::NetworkStatisticsEntry
- Object
- Dry::Struct
- Base
- TD::Types::NetworkStatisticsEntry
- TD::Types::NetworkStatisticsEntry::File
- Defined in:
- lib/tdlib/types/network_statistics_entry/file.rb
Overview
Contains information about the total amount of data that was used to send and receive files.
Instance Attribute Summary collapse
-
#file_type ⇒ TD::Types::FileType
Type of the file the data is part of.
-
#network_type ⇒ TD::Types::NetworkType
Type of the network the data was sent through.
-
#received_bytes ⇒ Integer
Total number of bytes received.
-
#sent_bytes ⇒ Integer
Total number of bytes sent.
Method Summary
Methods inherited from Base
Instance Attribute Details
#file_type ⇒ TD::Types::FileType
Type of the file the data is part of.
9 10 11 |
# File 'lib/tdlib/types/network_statistics_entry/file.rb', line 9 def file_type @file_type end |
#network_type ⇒ TD::Types::NetworkType
Type of the network the data was sent through. Call setNetworkType to maintain the actual network type.
9 10 11 |
# File 'lib/tdlib/types/network_statistics_entry/file.rb', line 9 def network_type @network_type end |
#received_bytes ⇒ Integer
Total number of bytes received.
9 10 11 |
# File 'lib/tdlib/types/network_statistics_entry/file.rb', line 9 def received_bytes @received_bytes end |
#sent_bytes ⇒ Integer
Total number of bytes sent.
9 10 11 |
# File 'lib/tdlib/types/network_statistics_entry/file.rb', line 9 def sent_bytes @sent_bytes end |