diff options
author | lain <lain@soykaf.club> | 2020-06-07 20:23:17 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-06-07 20:23:17 +0200 |
commit | 1a2acce7c5927cd113ebcffd0acc7a5c547bbf0e (patch) | |
tree | 072d3a993a13590a4298788b48902c81ee0f2808 /docs/API/chats.md | |
parent | fe2a5d061463313f447b0557de05572fa3771728 (diff) | |
download | pleroma-1a2acce7c5927cd113ebcffd0acc7a5c547bbf0e.tar.gz |
Docs: Document new mandatory parameter.
Diffstat (limited to 'docs/API/chats.md')
-rw-r--r-- | docs/API/chats.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/API/chats.md b/docs/API/chats.md index 81ff57941..9eb581943 100644 --- a/docs/API/chats.md +++ b/docs/API/chats.md @@ -75,13 +75,13 @@ Returned data: ### Marking a chat as read -To set the `unread` count of a chat to 0, call +To mark a number of messages in a chat up to a certain message as read, you can use `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. +- last_read_id: Given this id, all chat messages until this one will be marked as read. Required. Returned data: |