Class: TD::Types::StorageStatisticsByFileType

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

Overview

Contains the storage usage statistics for a specific file type.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#countInteger

Total number of files.

Returns:

  • (Integer)

    the current value of count



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

def count
  @count
end

#file_typeTD::Types::FileType

File type.

Returns:



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

def file_type
  @file_type
end

#sizeInteger

Total size of the files.

Returns:

  • (Integer)

    the current value of size



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

def size
  @size
end