projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec72cba
)
Documention: Add chat message deletion docs
author
lain
<lain@soykaf.club>
Tue, 12 May 2020 11:25:25 +0000
(13:25 +0200)
committer
lain
<lain@soykaf.club>
Tue, 12 May 2020 11:25:25 +0000
(13:25 +0200)
docs/API/chats.md
patch
|
blob
|
history
diff --git
a/docs/API/chats.md
b/docs/API/chats.md
index ed160abd9c894ef5175c1cd864312bfd487285ff..ad36961aef3be69eb5aba6430816636e2fd26767 100644
(file)
--- a/
docs/API/chats.md
+++ b/
docs/API/chats.md
@@
-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: