Overview
Fetches the singleConversation that is tied to a Space. Each Space has exactly one conversation of type "space". Use this hook to retrieve the conversation ID before rendering message components.
Requires
ChatProvider in the component tree.Usage Example
Props
string
required
The ID of the space whose conversation to fetch.
Returns
Conversation | null
The Conversation associated with the space, or
null while loading.boolean
true while the fetch is in progress.Notes
- The conversation is fetched on mount and stored in both local state and Redux.
- For integration guidance, see Chat: Conversations.

