Class: TD::Types::DownloadedFileCounts

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

Overview

Contains number of being downloaded and recently downloaded files found.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#active_countInteger

Number of active file downloads found, including paused.

Returns:

  • (Integer)

    the current value of active_count



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

def active_count
  @active_count
end

#completed_countInteger

Number of completed file downloads found.

Returns:

  • (Integer)

    the current value of completed_count



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

def completed_count
  @completed_count
end

#paused_countInteger

Number of paused file downloads found.

Returns:

  • (Integer)

    the current value of paused_count



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

def paused_count
  @paused_count
end