Sha256: 2aa44fb2606dec5b346e2c9342079fd16c7c33fd2edc4645cc9a515f17347aa1

Contents?: true

Size: 661 Bytes

Versions: 2

Compression:

Stored size: 661 Bytes

Contents

module TD::Types
  # Contains the storage usage statistics for a specific chat.
  #
  # @attr chat_id [Integer] Chat identifier; 0 if none.
  # @attr size [Integer] Total size of the files in the chat.
  # @attr count [Integer] Total number of files in the chat.
  # @attr by_file_type [Array<TD::Types::StorageStatisticsByFileType>] Statistics split by file types.
  class StorageStatisticsByChat < Base
    attribute :chat_id, TD::Types::Coercible::Integer
    attribute :size, TD::Types::Coercible::Integer
    attribute :count, TD::Types::Coercible::Integer
    attribute :by_file_type, TD::Types::Array.of(TD::Types::StorageStatisticsByFileType)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/storage_statistics_by_chat.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/storage_statistics_by_chat.rb