Overview
Returns an async function that fetches the full details of a single conversation by ID. This is a low-level hook — it makes the API call and returns the result without touching Redux state. Use it when you need to fetch a conversation on demand rather than on mount.Requires
ChatProvider in the component tree.Usage Example
Parameters
The hook returns a function. That function accepts:The ID of the conversation to fetch.
Returns
The fetched Conversation object.
Notes
- This hook does not update Redux state. If you want the result stored and reactive, dispatch
setConversationmanually or useuseConversationinstead. - For integration guidance, see Chat: Conversations.

