From 3496c7faaa8ffc94a2a090d58d355aa35f5fe0d3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 25 Nov 2019 18:05:16 +0100 Subject: Add a flag to messages if they can be replied to Signed-off-by: Joas Schilling --- docs/capabilities.md | 4 ++++ docs/chat.md | 1 + 2 files changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/capabilities.md b/docs/capabilities.md index 4c253fcea..ae4904fc2 100644 --- a/docs/capabilities.md +++ b/docs/capabilities.md @@ -37,3 +37,7 @@ title: Capabilities * `chat-read-marker` - The chat can be optionally marked read by clients manually, independent from the loading of the chat messages. * `webinary-lobby` - See [Webinary management](webinary.md) for technical details. * `start-call-flag` - Only moderators or users might be able to start calls. + + +## 8.0 +* `chat-replies` - Normal chat messages can now be replied to. Check the `isReplyable` parameter on the message object. diff --git a/docs/chat.md b/docs/chat.md index d0e36778c..ab1983dfb 100644 --- a/docs/chat.md +++ b/docs/chat.md @@ -43,6 +43,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1` `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` + `isReplyable` | bool | True if the user can post a reply to this message (only available with `chat-replies` capability) `message` | string | Message string with placeholders (see [Rich Object String](https://github.com/nextcloud/server/issues/1706)) `messageParameters` | array | Message parameters for `message` (see [Rich Object String](https://github.com/nextcloud/server/issues/1706)) -- cgit v1.2.3