Admin API / Mutations
deleteChatMessages
Deletes 1 to 100 channel and livestream messages and resolves the open reports about them in this store as MESSAGE_DELETED. A deleted message gives item success with no change, so a repeat succeeds. One result per input ID, in input order; a failed message does not stop the others. The passing messages change in one transaction. After the commit, each deleted message publishes CHAT_MESSAGE_DELETE on its chat channel's or livestream's realtime channel. A client that misses the event shows the message until its next read.
Requires a client key with one of these scopes:
admin:moderation:writeRequires this member role or higher: SELLERdeleteChatMessages(
input: DeleteChatMessagesInput!
): DeleteChatMessagesPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | DeleteChatMessagesInput! | The messages to delete. |