Class: TD::Types::Update::FileDownloads

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/file_downloads.rb

Overview

The state of the file download list has changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#downloaded_sizeInteger

Total downloaded size of files in the file download list, in bytes.



7
8
9
# File 'lib/tdlib/types/update/file_downloads.rb', line 7

def downloaded_size
  @downloaded_size
end

#total_countInteger

Total number of files in the file download list.



7
8
9
# File 'lib/tdlib/types/update/file_downloads.rb', line 7

def total_count
  @total_count
end

#total_sizeInteger

Total size of files in the file download list, in bytes.



7
8
9
# File 'lib/tdlib/types/update/file_downloads.rb', line 7

def total_size
  @total_size
end