Airgram

Guides
/
/
Methods

api.removeRecentlyFoundChat()

Removes a chat from the list of recently found chats

Parameters RemoveRecentlyFoundChatParams:

NameTypeDescription
chatIdnumber Identifier of the chat to be removed
Returns ApiResponse interface:
interface ApiResponse {
  _: 'removeRecentlyFoundChat' | 'error'
  airgram: Airgram
  request: {
    method: 'removeRecentlyFoundChat'
    params: RemoveRecentlyFoundChatParams
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}