projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix sender for welcome email
[akkoma]
/
docs
/
API
/
chats.md
diff --git
a/docs/API/chats.md
b/docs/API/chats.md
index 81ff579413befef2a73b6b040db3daa7c800d359..aa6119670449c4887cc22cec3c291231b30a8138 100644
(file)
--- a/
docs/API/chats.md
+++ b/
docs/API/chats.md
@@
-75,13
+75,13
@@
Returned data:
### Marking a chat as read
### 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:
`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 us
ed.
+- last_read_id: Given this id, all chat messages until this one will be marked as read.
Requir
ed.
Returned data:
Returned data:
@@
-135,7
+135,7
@@
Returned data:
```
The recipient of messages that are sent to this chat is given by their AP ID.
```
The recipient of messages that are sent to this chat is given by their AP ID.
-
The usual pagination options are implemented
.
+
No pagination is implemented for now
.
### Getting the messages for a Chat
### Getting the messages for a Chat