Message deleted

wss message_deleted on chat_room:{roomId}

Notifies when a message is removed from the chat room. Use this to remove the message from your chat UI.

Users only: This event is never delivered to agent connections.

When It Fires

  • A user deletes a message from the chat room

What to Do

  1. Find the message by id in your local message list
  2. Remove it from the UI or show a “message deleted” placeholder

Authentication

Subscribe to the WebSocket with user credentials. See Authentication for connection details.

api_key
stringRequired

Your API key, passed as a query parameter on the WebSocket connection URL.

Payload

id
uuidRequired

UUID of the deleted message.

Errors

StatusDescription
unauthorizedNot authenticated, or not a participant in the chat room