Airgram

Guides
/
/
Methods

api.clearRecentlyFoundChats()

Clears the list of recently found chats

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