Commit 1a2acce7 authored by lain's avatar lain
Browse files

Docs: Document new mandatory parameter.

parent fe2a5d06
Pipeline #26923 passed with stages
in 8 minutes and 45 seconds
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment