diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-11-14 19:48:47 -0600 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2020-11-14 19:48:47 -0600 |
commit | 9546c1444c2c8c4abc9bcb35b6a8ff360ddc83af (patch) | |
tree | cc6b9add45f34878b1ce053b6a408e059768fa6a /docs/API/chats.md | |
parent | dc38dc847207e4724265fbeb111d0a236b75f93f (diff) | |
parent | 28da36975dc325bb577ee81fb791fbdc7ec3e7e2 (diff) | |
download | pleroma-9546c1444c2c8c4abc9bcb35b6a8ff360ddc83af.tar.gz pleroma-9546c1444c2c8c4abc9bcb35b6a8ff360ddc83af.zip |
Merge remote-tracking branch 'upstream/develop' into registration-workflow
Diffstat (limited to 'docs/API/chats.md')
-rw-r--r-- | docs/API/chats.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/API/chats.md b/docs/API/chats.md index aa6119670..f50144c86 100644 --- a/docs/API/chats.md +++ b/docs/API/chats.md @@ -116,6 +116,10 @@ The modified chat message This will return a list of chats that you have been involved in, sorted by their last update (so new chats will be at the top). +Parameters: + +- with_muted: Include chats from muted users (boolean). + Returned data: ```json @@ -173,11 +177,14 @@ Returned data: "created_at": "2020-04-21T15:06:45.000Z", "emojis": [], "id": "12", - "unread": false + "unread": false, + "idempotency_key": "75442486-0874-440c-9db1-a7006c25a31f" } ] ``` +- idempotency_key: The copy of the `idempotency-key` HTTP request header that can be used for optimistic message sending. Included only during the first few minutes after the message creation. + ### Posting a chat message Posting a chat message for given Chat id works like this: |