aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-10 12:34:12 +0200
committerlain <lain@soykaf.club>2020-05-10 12:34:12 +0200
commite297d8c649a03510023cff61dc6e0c7131bc29dc (patch)
tree0dd07b393dff189aae5fa9dcdf6c1cb440bdbd06
parentc272669909c4ea5b99affe61a90d5a7967656377 (diff)
downloadpleroma-e297d8c649a03510023cff61dc6e0c7131bc29dc.tar.gz
Documentation: Add attachment docs
-rw-r--r--docs/API/chats.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/API/chats.md b/docs/API/chats.md
index 8d925989c..3ddc13541 100644
--- a/docs/API/chats.md
+++ b/docs/API/chats.md
@@ -160,6 +160,7 @@ Posting a chat message for given Chat id works like this:
Parameters:
- content: The text content of the message
+- media_id: The id of an upload that will be attached to the message.
Currently, no formatting beyond basic escaping and emoji is implemented, as well as no
attachments. This will most probably change.