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
Returns
The full Conversation object, or
null while loading or if not found.(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.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.

