add-comment-reaction
React to comments in Liveblocks by adding emojis for better collaboration and feedback. Specify room, thread, comment, and user details to engage effectively.
Instructions
Add a reaction to a Liveblocks comment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
commentId | Yes | ||
data | Yes | ||
roomId | Yes | ||
threadId | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"commentId": {
"type": "string"
},
"data": {
"additionalProperties": false,
"properties": {
"createdAt": {
"format": "date-time",
"type": "string"
},
"emoji": {
"type": "string"
},
"userId": {
"type": "string"
}
},
"required": [
"emoji",
"userId"
],
"type": "object"
},
"roomId": {
"type": "string"
},
"threadId": {
"type": "string"
}
},
"required": [
"roomId",
"threadId",
"commentId",
"data"
],
"type": "object"
}