From 1134d748bd5ee1b36f49a83e5b46af84b48b77d8 Mon Sep 17 00:00:00 2001 From: Andy Ford Date: Thu, 3 Jul 2025 12:07:18 +0100 Subject: [PATCH] chat: add soft delete clarification We're updating chat so that soft-deleted messages don't have data anymore. This change adds detail to that effect. --- src/pages/docs/chat/rooms/messages.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/docs/chat/rooms/messages.mdx b/src/pages/docs/chat/rooms/messages.mdx index 62ebb01c51..2b91886d2c 100644 --- a/src/pages/docs/chat/rooms/messages.mdx +++ b/src/pages/docs/chat/rooms/messages.mdx @@ -547,7 +547,7 @@ The following is the structure of a deleted message: { "serial": "01726232498871-001@abcdefghij:001", "clientId": "basketLover014", - "text": "What a shot!", + "text": "", "headers": {}, "metadata": {}, "createdAt": new Date("2024-06-12T11:37:59.988Z"), @@ -571,6 +571,9 @@ The deleted message response is identical to the structure of a message, with th | version | Set to the serial of the deletion action. | | timestamp | Set to the time the message was deleted. | | operation | Set to the details the actioning client provided in the request. | +| text | Set to the empty string. | +| metadata | Set to the empty object. | +| headers | Set to the empty object. | ## Ordering chat message events