discord-client/webpack/mockup/api-channel-init.json

51 lines
1.5 KiB
JSON
Raw Normal View History

{
2018-03-22 12:57:11 +00:00
"cid": 12,
"uid": 1,
"users": [
2018-03-27 16:21:02 +00:00
{ "uid": 1, "name": "First user YaY!" },
{ "uid": 3, "name": "Another channel's user" },
{ "uid": 4, "name": "And another one" },
{ "uid": 5, "name": "And another" }
],
"room": [
{
"rid": 0,
"type": "text",
2018-03-22 12:57:53 +00:00
"members": [1,3,5],
2018-03-22 12:57:53 +00:00
"messages": [
{ "mid": 100, "uid": 1, "ts": 23894808320, "msg": "Hey ! How are you ?" },
{ "mid": 101, "uid": 3, "ts": 23894808330, "msg": "Fine n you ?" },
{ "mid": 102, "uid": 5, "ts": 23894808340, "msg": "fine too, what are you doin' ?" },
{ "mid": 103, "uid": 1, "ts": 23894808350, "msg": "Yay guys i'm ok" },
{ "mid": 104, "uid": 1, "ts": 23894808360, "msg": "Do you have anything to say ... ?" },
{ "mid": 105, "uid": 3, "ts": 23894808360, "msg": "Do you have anything to say ... ?" },
{ "mid": 106, "uid": 3, "ts": 23894808360, "msg": "Do you have anything to say ... ?" },
{ "mid": 107, "uid": 1, "ts": 23894808360, "msg": "Do you have anything to say ... ?" }
2018-03-22 12:57:53 +00:00
]
2018-03-22 12:57:53 +00:00
},
{
"rid": 1,
"type": "text",
2018-03-22 12:57:53 +00:00
"members": [1,4],
2018-03-22 12:57:53 +00:00
"messages": [
{ "mid": 110, "uid": 1, "ts": 23894823450, "msg": "user_id: 1, message_id: 110" },
{ "mid": 111, "uid": 4, "ts": 23894823460, "msg": "user_id: 4, message_id: 111" },
{ "mid": 112, "uid": 1, "ts": 23894823460, "msg": "user_id: 1, message_id: 112" },
{ "mid": 113, "uid": 1, "ts": 23894823460, "msg": "user_id: 1, message_id: 113" }
]
}
2018-03-22 12:57:53 +00:00
]
}