diff options
author | lain <lain@soykaf.club> | 2020-05-13 15:31:28 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-13 15:31:28 +0200 |
commit | 0f0acc740d30c47d093f27875d4decf0693b2845 (patch) | |
tree | 0cdc813d983f535898c515d4a87a503bb7d3acd1 /docs | |
parent | 06cad239e50cada3aec4fc3b4c494a70d328672c (diff) | |
download | pleroma-0f0acc740d30c47d093f27875d4decf0693b2845.tar.gz |
Chat: Allow posting without content if an attachment is present.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/API/chats.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/API/chats.md b/docs/API/chats.md index ad36961ae..1ea18ff5f 100644 --- a/docs/API/chats.md +++ b/docs/API/chats.md @@ -166,11 +166,10 @@ Posting a chat message for given Chat id works like this: `POST /api/v1/pleroma/chats/{id}/messages` Parameters: -- content: The text content of the message +- content: The text content of the message. Optional if media is attached. - 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. +Currently, no formatting beyond basic escaping and emoji is implemented. Returned data: |