Magidoc

insertPostComment
Mutation

Creates a new comment on a post.

Access: Requires user access to the workspace.

Arguments

#

_id

Comment unique ID. Can be omitted, will be generated automatically

postId

ID !
Non-null

ID of the post being commented on

body

Non-null

Comment body. Must be a valid HTML string

mentions

[ID !]

User IDs mentioned in the comment

Response

#

Returns PostComment !.

Example

#