Overview
Returns an async function that submits a moderation report for a chat message. The report is visible to space moderators and admins in the dashboard.Requires
ChatProvider in the component tree.Usage Example
Parameters
The hook returns a function. That function accepts:The ID of the conversation that contains the message.
The ID of the message to report.
A short reason for the report (e.g.
"spam", "harassment").Additional context or description of the issue.
Returns
Promise<void>
Notes
- For integration guidance, see Chat: Messages.

