aboutsummaryrefslogtreecommitdiff
path: root/docs/API/chats.md
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-11-03 13:45:09 +0100
committerlain <lain@soykaf.club>2020-11-03 13:45:09 +0100
commit91f6c3243032d88a813e4cfed6bf3d0f1ae5924d (patch)
tree3561c80c9efdc6164550a14fe557dfd7485b772a /docs/API/chats.md
parent1042c30fa53e838f3acae2c176f47997fa425755 (diff)
parent0d8cc0905aeebb965df0cf755a171d21b01ed978 (diff)
downloadpleroma-91f6c3243032d88a813e4cfed6bf3d0f1ae5924d.tar.gz
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into a1batross/pleroma-patch-4
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: