Skip to main content

messageArchive Mutation

Description

Archives a message by deleting it. This operation cannot be undone.

mutation messageArchive($messageRef: ID!) {
messageArchive(messageRef: $messageRef)
}

Variables

{
"messageRef": "f920d5e199699d787f7b4ce5"
}

Response

{
"messageArchive": "example"
}

Arguments

NameTypeDescription
messageRefID!Reference ID of the message to archive.

Returns

String!