Overview
Fetches the full details of a single conversation by ID and providesupdate and deleteConversation actions. The conversation is loaded once on mount if it is not already in Redux state, and kept in sync by conversation:updated socket events.
Requires
ChatProvider in the component tree.Usage Example
Props
string
required
The ID of the conversation to fetch and manage.
Returns
Conversation | null
The full Conversation object, or
null while loading or if not found.boolean
true while the initial fetch is in progress.(params: { name?: string; description?: string; avatarFileId?: string | null; postingPermission?: 'members' | 'admins' }) => Promise<Conversation | undefined>
Updates the conversation. Dispatches the updated conversation to Redux on success.
conversationId is already bound from the hook props and should not be passed here.() => Promise<void>
Deletes the conversation. Does not update local Redux state — the caller is responsible for navigating away or removing the conversation from local lists.
Notes
- For integration guidance, see Chat: Conversations.

