From 9608867be3d01a9aa34aceb1a1ba454fc2e0f8b6 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 15 Jan 2021 09:45:21 +0100 Subject: Post a system message when deleting a message Signed-off-by: Joas Schilling --- docs/chat.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/chat.md b/docs/chat.md index f9b336ff6..78a2840aa 100644 --- a/docs/chat.md +++ b/docs/chat.md @@ -44,7 +44,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1` `actorDisplayName` | string | Display name of the message author `timestamp` | int | Timestamp in seconds and UTC time zone `systemMessage` | string | empty for normal chat message or the type of the system message (untranslated) - `messageType` | string | Currently known types are `comment`, `system` and `command` + `messageType` | string | Currently known types are `comment`, `comment_deleted`, `system` and `command` `isReplyable` | bool | True if the user can post a reply to this message (only available with `chat-replies` capability) `referenceId` | string | A reference string that was given while posting the message to be able to identify a sent message again (only available with `chat-reference-id` capability) `message` | string | Message string with placeholders (see [Rich Object String](https://github.com/nextcloud/server/issues/1706)) @@ -177,3 +177,4 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1` * `moderator_demoted` - {actor} demoted {user} from moderator * `guest_moderator_promoted` - {actor} promoted {user} to moderator * `guest_moderator_demoted` - {actor} demoted {user} from moderator +* `message_deleted` - Message deleted by {actor} (Should not be shown to the user) -- cgit v1.2.3