BlueGit

ict rusty-teams

Files

rusty-teams / crates / graph / tests / fixtures / chats.json

chats.json

Initial commit
metis Daniel Däschle · pushed by metis · 7 weeks ago
06e0ae51 History
chats.json 1.6 KiB Download Raw
1{
2 "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#chats",
3 "@odata.nextLink": "https://graph.microsoft.com/v1.0/me/chats?$skiptoken=abc",
4 "value": [
5 {
6 "id": "19:aaaa@unq.gbl.spaces",
7 "topic": null,
8 "chatType": "oneOnOne",
9 "lastUpdatedDateTime": "2026-10-06T08:15:00Z",
10 "viewpoint": {"lastMessageReadDateTime": "2026-10-06T08:00:00Z", "isHidden": false},
11 "members": [
12 {"userId": "user-me", "tenantId": "tenant-1", "displayName": "Test Me", "email": "me@example.test"},
13 {"userId": "user-ada", "tenantId": "tenant-1", "displayName": "Ada Example", "email": "ada@example.test"}
14 ],
15 "lastMessagePreview": {
16 "id": "1700000000001",
17 "createdDateTime": "2026-10-06T08:15:00.123Z",
18 "messageType": "message",
19 "from": {"user": {"id": "user-ada", "displayName": "Ada Example"}},
20 "body": {"contentType": "html", "content": "<p>synthetic</p>"}
21 }
22 },
23 {
24 "id": "19:bbbb@thread.v2",
25 "topic": "Project Sample",
26 "chatType": "group",
27 "members": [
28 {"userId": "user-me", "displayName": "Test Me"},
29 {"userId": "user-bob", "displayName": "Bob Sample"}
30 ],
31 "lastMessagePreview": null
32 },
33 {
34 "id": "19:cccc@thread.v2",
35 "chatType": "group",
36 "members": [
37 {"userId": "user-me", "displayName": "Test Me"},
38 {"userId": "user-cy", "displayName": null, "email": "cy@example.test"},
39 {"userId": "user-di", "displayName": "Di Sample"}
40 ]
41 },
42 {"id": "19:dddd@thread.v2", "chatType": "meeting", "members": [{"userId": "user-me"}]}
43 ]
44}