GetStorageStatistics

public struct GetStorageStatistics : Codable, Equatable, TDFunction

Returns storage usage statistics. Can be called before authorization

  • Undocumented

    Declaration

    Swift

    public typealias Result = StorageStatistics
  • The maximum number of chats with the largest storage usage for which separate statistics should be returned. All other chats will be grouped in entries with chat_id == 0. If the chat info database is not used, the chat_limit is ignored and is always set to 0

    Declaration

    Swift

    public let chatLimit: Int32
  • Returns storage usage statistics. Can be called before authorization

    Declaration

    Swift

    public init(chatLimit: Int32)

    Parameters

    chatLimit

    The maximum number of chats with the largest storage usage for which separate statistics should be returned. All other chats will be grouped in entries with chat_id == 0. If the chat info database is not used, the chat_limit is ignored and is always set to 0