Function get_storage_statistics

Source
pub async fn get_storage_statistics(
    chat_limit: i32,
    client_id: i32,
) -> Result<StorageStatistics, Error>
Expand description

Returns storage usage statistics. Can be called before authorization

ยงArguments

  • chat_limit - The maximum number of chats with the largest storage usage for which separate statistics need to 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
  • client_id - The client id to send the request to