summaryrefslogtreecommitdiffstats
path: root/docs/chat.md
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-07-26 17:28:43 +0200
committerJoas Schilling <coding@schilljs.com>2019-07-30 09:36:11 +0200
commit3a0503b96f9337d313d3c3eb9570f2bbb48943e4 (patch)
tree3046919413bd47f884e70465541c2c123400e28e /docs/chat.md
parent25aae9f512c8ce291834166a438d220b1e7d62cc (diff)
Expose the message type as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs/chat.md')
-rw-r--r--docs/chat.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/chat.md b/docs/chat.md
index 4438c1736..c28d1593f 100644
--- a/docs/chat.md
+++ b/docs/chat.md
@@ -40,6 +40,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`
`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))