Overview
Returns an async function that deletes a conversation via the API. This is a low-level hook — it makes the DELETE request without touching Redux state. The caller is responsible for navigating away or removing the conversation from any local lists after deletion.Requires
ChatProvider in the component tree.Usage Example
Parameters
The hook returns a function. That function accepts:The ID of the conversation to delete.
Returns
Promise<void>
Notes
- This hook does not update Redux state. After deletion, navigate away or remove the conversation from any local lists manually.
- For integration guidance, see Chat: Conversations.

