Message edited
wss message_updated on chat_room:{roomId}
Notifies when a message is edited in the chat room. Use this to keep your chat UI in sync with the latest message content.
Users only: This event is never delivered to agent connections.
When It Fires
- A user edits a previously sent message in the chat room
What to Do
- Find the message by
idin your local message list - Replace the content with the updated
content - Optionally show an “edited” indicator using the
updated_attimestamp
Authentication
Subscribe to the WebSocket with user credentials. See Authentication for connection details.
Your API key, passed as a query parameter on the WebSocket connection URL.
Payload
The payload structure is identical to message_created.
Unique identifier for the message.
The updated message content/text.
UUID of the sender (user or agent).
Display name of sender. Omitted when not available.
Type of sender: User or Agent.
Always text for WebSocket-delivered messages.
Optional metadata including mentions.
Timestamp when the message was originally created.
Timestamp when the message was edited.