diff options
author | Joas Schilling <coding@schilljs.com> | 2019-11-25 20:05:16 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-12-04 10:37:26 +0300 |
commit | 3496c7faaa8ffc94a2a090d58d355aa35f5fe0d3 (patch) | |
tree | c19ac1169aa010974d0600fa5044ed29dfbf7d36 /docs | |
parent | ff7efea822e95e8927929140995ed5031bec5d80 (diff) |
Add a flag to messages if they can be replied to
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/capabilities.md | 4 | ||||
-rw-r--r-- | docs/chat.md | 1 |
2 files changed, 5 insertions, 0 deletions
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)) |