Interface StorageStatisticsByChat

Contains the storage usage statistics for a specific chat.

interface StorageStatisticsByChat {
    @type: "storageStatisticsByChat";
    by_file_type: StorageStatisticsByFileType[];
    chat_id: number;
    count: number;
    size: number;
}

Properties

@type: "storageStatisticsByChat"

Statistics split by file types.

chat_id: number

Chat identifier; 0 if none.

count: number

Total number of files in the chat.

size: number

Total size of the files in the chat, in bytes.