aboutsummaryrefslogtreecommitdiff
path: root/docs/API/chats.md
diff options
context:
space:
mode:
authorminibikini <egor@kislitsyn.com>2020-11-02 10:43:45 +0000
committerminibikini <egor@kislitsyn.com>2020-11-02 10:43:45 +0000
commit6163fbf55328808d90bb1a84cf05ae986f941b31 (patch)
treee9868964ff5ff13ef58ce124f47434e84b0296aa /docs/API/chats.md
parent75d131ba1860dc75486819ca93310292244ef92e (diff)
parent9fbe9ef77436d6a9a176d264ee830300a2a37889 (diff)
downloadpleroma-6163fbf55328808d90bb1a84cf05ae986f941b31.tar.gz
Merge branch 'develop' into 'frontend-admin-api'
# Conflicts: # lib/pleroma/web/router.ex
Diffstat (limited to 'docs/API/chats.md')
-rw-r--r--docs/API/chats.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/API/chats.md b/docs/API/chats.md
index aa6119670..9857aac67 100644
--- a/docs/API/chats.md
+++ b/docs/API/chats.md
@@ -173,11 +173,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: