Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
1a2acce7
Commit
1a2acce7
authored
Jun 07, 2020
by
lain
Browse files
Docs: Document new mandatory parameter.
parent
fe2a5d06
Pipeline
#26923
passed with stages
in 8 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/API/chats.md
View file @
1a2acce7
...
...
@@ -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 us
ed.
-
last_read_id: Given this id, all chat messages until this one will be marked as read.
Requir
ed.
Returned data:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment