aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-10 13:01:20 +0200
committerlain <lain@soykaf.club>2020-05-10 13:01:20 +0200
commit17be3ff669865102848df034045eb2889eed3976 (patch)
tree3de3d0a5f3259960dd1ca1c13d1968bf7c959848 /docs
parentf335e1404a9cd19451b531e32e3591aa323761ff (diff)
downloadpleroma-17be3ff669865102848df034045eb2889eed3976.tar.gz
Documentation: Add last_message to chat docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/API/chats.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/API/chats.md b/docs/API/chats.md
index 3ddc13541..1f6175f77 100644
--- a/docs/API/chats.md
+++ b/docs/API/chats.md
@@ -62,7 +62,8 @@ Returned data:
...
},
"id" : "1",
- "unread" : 2
+ "unread" : 2,
+ "last_message" : {...} // The last message in that chat
}
```
@@ -105,7 +106,8 @@ Returned data:
...
},
"id" : "1",
- "unread" : 2
+ "unread" : 2,
+ "last_message" : {...} // The last message in that chat
}
]
```