mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Documention: Add chat message deletion docs
This commit is contained in:
parent
ec72cba43e
commit
a61120f497
1 changed files with 8 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue