Skip to main content

EditCommentInput

EditCommentInput provides the input for the editComment Mutation.

input EditCommentInput {
commentID: ID!
body: String!
clientMutationId: String!
media: CreateCommentMediaInput
}

Fields

EditCommentInput.commentID ● ID! non-null scalar

commentID is the ID of the comment being edited.

EditCommentInput.body ● String! non-null scalar

body is the Comment body, the content of the Comment.

EditCommentInput.clientMutationId ● String! non-null scalar

clientMutationId is required for Relay support.

EditCommentInput.media ● CreateCommentMediaInput input

media is the optional media attachment to be added to a Comment.

Member Of

editComment mutation