Class: TD::Types::Update::FileAddedToDownloads

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

Overview

A file was added to the file download list. This update is sent only after file download list is loaded for the first time.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#countsTD::Types::DownloadedFileCounts

New number of being downloaded and recently downloaded files found.

Returns:



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

def counts
  @counts
end

#file_downloadTD::Types::FileDownload

The added file download.

Returns:



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

def file_download
  @file_download
end