react
Add or remove emoji reactions on Twist threads, comments, or messages. Specify the target type and ID to manage reactions.
Instructions
Add or remove an emoji reaction on a thread, comment, or conversation message. Use targetType to specify the type of object (thread, comment, or message) and targetId for the ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emoji | Yes | The emoji to react with (e.g., "👍", "❤️", "🎉"). | |
| targetId | Yes | The ID of the thread, comment, or message to react to. | |
| operation | No | Whether to add or remove the reaction. | add |
| targetType | Yes | The type of object to react to: thread, comment, or message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| emoji | Yes | ||
| success | Yes | ||
| targetId | Yes | ||
| operation | Yes | ||
| targetUrl | Yes | ||
| targetType | Yes |