Overview
useUpdateComment returns a function that updates an existing comment. At least one of content or metadata must be provided.
Usage Example
Parameters
string
required
The ID of the comment to update.
string
New text content. Must be at least 1 character.
Record<string, any>
Replacement metadata object.
Returns
Comment
The updated comment. See Comment data model.

