deleteConversationMessage

Delete one message from a conversation only when the user asks to remove that message; the deletion needs editor access.

Arguments

  • conversationIdID!required

  • messageIdID!required

    Message to soft-delete; it must belong to the conversation.

Responses

mutation DeleteConversationMessage($conversationId: ID!, $messageId: ID!) {  deleteConversationMessage(conversationId: $conversationId, messageId: $messageId) {    ok  }}
{  "data": {    "deleteConversationMessage": {      "ok": false    }  }}

The DeletionResult! in data.deleteConversationMessage.