From: lain Date: Tue, 12 May 2020 11:25:25 +0000 (+0200) Subject: Documention: Add chat message deletion docs X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=a61120f497e5d17be1207eacd11525edb7b6db36;p=akkoma Documention: Add chat message deletion docs --- 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: