Class: TD::Types::StorageStatisticsByChat

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

Overview

Contains the storage usage statistics for a specific chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#by_file_typeArray<TD::Types::StorageStatisticsByFileType>

Statistics split by file types.

Returns:



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

def by_file_type
  @by_file_type
end

#chat_idInteger

Chat identifier; 0 if none.

Returns:

  • (Integer)

    the current value of chat_id



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

def chat_id
  @chat_id
end

#countInteger

Total number of files in the chat.

Returns:

  • (Integer)

    the current value of count



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

def count
  @count
end

#sizeInteger

Total size of the files in the chat.

Returns:

  • (Integer)

    the current value of size



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

def size
  @size
end