aboutsummaryrefslogtreecommitdiff
path: root/docs/API/chats.md
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-15 13:18:41 +0200
committerlain <lain@soykaf.club>2020-05-15 13:18:41 +0200
commit1d18721a3c60aa0acc7d1ba858a92277e544a54a (patch)
tree6e7790ec51a3385777c97dfa691ced32928b4fbe /docs/API/chats.md
parent3342846ac2bbd48e985cfeff26ba4593f4815879 (diff)
downloadpleroma-1d18721a3c60aa0acc7d1ba858a92277e544a54a.tar.gz
Chats: Add updated_at to Schema and docs.
Diffstat (limited to 'docs/API/chats.md')
-rw-r--r--docs/API/chats.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/API/chats.md b/docs/API/chats.md
index 1ea18ff5f..2e415e4da 100644
--- a/docs/API/chats.md
+++ b/docs/API/chats.md
@@ -68,7 +68,8 @@ Returned data:
},
"id" : "1",
"unread" : 2,
- "last_message" : {...} // The last message in that chat
+ "last_message" : {...}, // The last message in that chat
+ "updated_at": "2020-04-21T15:11:46.000Z"
}
```
@@ -88,7 +89,8 @@ Returned data:
...
},
"id" : "1",
- "unread" : 0
+ "unread" : 0,
+ "updated_at": "2020-04-21T15:11:46.000Z"
}
```
@@ -112,7 +114,8 @@ Returned data:
},
"id" : "1",
"unread" : 2,
- "last_message" : {...} // The last message in that chat
+ "last_message" : {...}, // The last message in that chat
+ "updated_at": "2020-04-21T15:11:46.000Z"
}
]
```