Class: TD::Types::StorageStatistics

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

Overview

Contains the exact storage usage statistics split by chats and file type.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#by_chatArray<TD::Types::StorageStatisticsByChat>

Statistics split by chats.

Returns:



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

def by_chat
  @by_chat
end

#countInteger

Total number of files.

Returns:

  • (Integer)

    the current value of count



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

def count
  @count
end

#sizeInteger

Total size of files.

Returns:

  • (Integer)

    the current value of size



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

def size
  @size
end