mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Docs: Document new mandatory parameter.
This commit is contained in:
parent
fe2a5d0614
commit
1a2acce7c5
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue