Class: TD::Types::NetworkStatisticsEntry::Call
- Inherits:
-
TD::Types::NetworkStatisticsEntry
- Object
- Dry::Struct
- Base
- TD::Types::NetworkStatisticsEntry
- TD::Types::NetworkStatisticsEntry::Call
- Defined in:
- lib/tdlib/types/network_statistics_entry/call.rb
Overview
Contains information about the total amount of data that was used for calls.
Instance Attribute Summary collapse
-
#duration ⇒ Float
Total call duration, in seconds.
-
#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
#duration ⇒ Float
Total call duration, in seconds.
9 10 11 |
# File 'lib/tdlib/types/network_statistics_entry/call.rb', line 9 def duration @duration 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/call.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/call.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/call.rb', line 9 def sent_bytes @sent_bytes end |