Airgram

Guides
/
/
Methods

api.getStorageStatisticsFast()

Quickly returns approximate storage usage statistics. Can be called before authorization

Returns ApiResponse interface:
interface ApiResponse {
  _: 'getStorageStatisticsFast' | 'error'
  airgram: Airgram
  request: {
    method: 'getStorageStatisticsFast'
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}