ObjectValidator tests: Extract emoji react testing
[akkoma] / docs / API / chats.md
index 761047336f089da8d2d5712e435eb0ebe892f532..aa6119670449c4887cc22cec3c291231b30a8138 100644 (file)
@@ -75,10 +75,15 @@ 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. Required.
+
+
 Returned data:
 
 ```json
@@ -130,7 +135,7 @@ Returned data:
 ```
 
 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