diff options
author | lain <lain@soykaf.club> | 2020-06-07 15:41:46 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-06-07 15:41:46 +0200 |
commit | 680fa5fa36d8b30a9a9749edacf1a2c69fded29a (patch) | |
tree | 58998faa48b81c073c38e2561995aa911de59954 /docs/API/chats.md | |
parent | 801e668a97adff4a33451dd7bb48799562ed8796 (diff) | |
download | pleroma-680fa5fa36d8b30a9a9749edacf1a2c69fded29a.tar.gz |
Docs: Update docs on mark as read.
Diffstat (limited to 'docs/API/chats.md')
-rw-r--r-- | docs/API/chats.md | 5 |
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 |