StorageStatisticsByChat
public struct StorageStatisticsByChat : Codable, Equatable, FunctionResult
Contains the storage usage statistics for a specific chat
-
Chat identifier; 0 if none
Declaration
Swift
public let chatId: Int53
-
Total size of the files in the chat
Declaration
Swift
public let size: Int53
-
Total number of files in the chat
Declaration
Swift
public let count: Int32
-
Statistics split by file types
Declaration
Swift
public let byFileType: [StorageStatisticsByFileType]
-
Contains the storage usage statistics for a specific chat
Declaration
Swift
public init(chatId: Int53, size: Int53, count: Int32, byFileType: [StorageStatisticsByFileType])
Parameters
chatId
Chat identifier; 0 if none
size
Total size of the files in the chat
count
Total number of files in the chat
byFileType
Statistics split by file types