Class: TD::Types::FoundFileDownloads

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/found_file_downloads.rb

Overview

Contains a list of downloaded files, found by a search.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#filesArray<TD::Types::FileDownload>

The list of files.

Returns:



8
9
10
# File 'lib/tdlib/types/found_file_downloads.rb', line 8

def files
  @files
end

#next_offsetTD::Types::String

The offset for the next request. If empty, then there are no more results.

Returns:

  • (TD::Types::String)

    the current value of next_offset



8
9
10
# File 'lib/tdlib/types/found_file_downloads.rb', line 8

def next_offset
  @next_offset
end

#total_countsTD::Types::DownloadedFileCounts

Total number of suitable files, ignoring offset.

Returns:



8
9
10
# File 'lib/tdlib/types/found_file_downloads.rb', line 8

def total_counts
  @total_counts
end