| Argument | Type | Description |
|---|---|---|
bodyrequired | String! | Main content or message body |
entityTyperequired | CommentableEntityType! | Type classification of the entity |
entityTypeIdrequired | ID! | ID of the entity type |
mutation( $body: String!, $entityType: CommentableEntityType!, $entityTypeId: ID!) { comment( body: $body, entityType: $entityType, entityTypeId: $entityTypeId ) { id # Add other fields you need }}{ "body": "example", "entityType": {}, "entityTypeId": "1"}mutation( $body: String!, $id: ID!) { updateComment( body: $body, id: $id ) { id # Add other fields you need }}{ "body": "example", "id": "1"}