Like, hide or delete comment
moderate_commentLike, unlike, hide, unhide or delete a comment on one of the workspace's published posts, on the platform, as the channel the post was published to. Likes and hides can be undone; delete is permanent and needs a role that can publish. Hiding or deleting also removes the comment from the Inbox. Which actions a channel supports is in its commentActions from list_post_comments (Threads supports hide and unhide; Facebook supports hide, unhide and delete). A comment hidden on Threads or Facebook comes back with hidden: true. If the channel's connection has stopped working, the call is refused and the channel needs reconnecting from the Channels page. Replying to and moderating comments is on every plan except Free; on Free, or before it is available to the account, the call is refused with a message saying so. Use this when the user wants to like, hide or delete a comment on one of their published posts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What to do with the comment. | |
| postId | Yes | The post id. | |
| commentId | Yes | The comment's id from list_post_comments. | |
| postPlatformId | Yes | The channel's postPlatformId from list_post_comments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | ||
| success | No |