summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-06-07 15:41:46 +0200
committerlain <lain@soykaf.club>2020-06-07 15:41:46 +0200
commit680fa5fa36d8b30a9a9749edacf1a2c69fded29a (patch)
tree58998faa48b81c073c38e2561995aa911de59954
parent801e668a97adff4a33451dd7bb48799562ed8796 (diff)
Docs: Update docs on mark as read.
-rw-r--r--docs/API/chats.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/API/chats.md b/docs/API/chats.md
index 761047336..81ff57941 100644
--- a/docs/API/chats.md
+++ b/docs/API/chats.md
@@ -79,6 +79,11 @@ To set the `unread` count of a chat to 0, call
`POST /api/v1/pleroma/chats/:id/read`
+
+Parameters:
+- last_read_id: Given this id, all chat messages until this one will be marked as read. This should always be used.
+
+
Returned data:
```json