diff options
author | lain <lain@soykaf.club> | 2020-05-12 13:25:25 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-12 13:25:25 +0200 |
commit | a61120f497e5d17be1207eacd11525edb7b6db36 (patch) | |
tree | 2603bd43fbe6ef59ddcdd5b890084718f87e20a9 | |
parent | ec72cba43ec4f45faadf1b06a6d014cd4136707e (diff) | |
download | pleroma-a61120f497e5d17be1207eacd11525edb7b6db36.tar.gz |
Documention: Add chat message deletion docs
-rw-r--r-- | docs/API/chats.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/API/chats.md b/docs/API/chats.md index ed160abd9..ad36961ae 100644 --- 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: |