Skip to content

getStorageStatistics

Function · TDLib 1.8.67 · d1085f9c

Returns storage usage statistics. Can be called before authorization

getStorageStatistics(
  chat_limit: int32
) → StorageStatistics

chat_limit

int32

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