diff options
author | Joas Schilling <coding@schilljs.com> | 2021-01-15 11:45:21 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-02-02 15:52:24 +0300 |
commit | 9608867be3d01a9aa34aceb1a1ba454fc2e0f8b6 (patch) | |
tree | c66bdbf3595d78fb12a4fad7a657e1dbc5d60096 /docs | |
parent | 3d273aa6e8e18d4b096e74221eaf52b30b49e366 (diff) |
Post a system message when deleting a message
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/chat.md | 3 |
1 files changed, 2 insertions, 1 deletions
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) |