api.removeRecentlyFoundChat()
Removes a chat from the list of recently found chats
Parameters
RemoveRecentlyFoundChatParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | 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>
}