Documention: Add chat message deletion docs

This commit is contained in:
lain 2020-05-12 13:25:25 +02:00
parent ec72cba43e
commit a61120f497
1 changed files with 8 additions and 0 deletions

View File

@ -192,6 +192,14 @@ Returned data:
}
```
### Deleting a chat message
Deleting a chat message for given Chat id works like this:
`DELETE /api/v1/pleroma/chats/{chat_id}/messages/{message_id}`
Returned data is the deleted message.
### Notifications
There's a new `pleroma:chat_mention` notification, which has this form: