2018-03-21 23:53:32 +00:00
|
|
|
{
|
2018-03-22 12:40:48 +00:00
|
|
|
|
2018-03-22 12:57:11 +00:00
|
|
|
"cid": 12,
|
|
|
|
"uid": 1,
|
2018-03-21 23:53:32 +00:00
|
|
|
|
|
|
|
"users": [
|
|
|
|
{ "uid": 1, "online": true, "name": "First user YaY!" },
|
|
|
|
{ "uid": 3, "online": false, "name": "Another channel's user" },
|
|
|
|
{ "uid": 4, "online": true, "name": "And another one" },
|
|
|
|
{ "uid": 5, "online": true, "name": "And another" }
|
|
|
|
],
|
|
|
|
|
2018-03-22 12:58:49 +00:00
|
|
|
"room": [
|
2018-03-21 23:53:32 +00:00
|
|
|
|
2018-03-22 12:58:49 +00:00
|
|
|
{
|
|
|
|
"rid": 0,
|
2018-03-21 23:53:32 +00:00
|
|
|
|
2018-03-22 12:57:53 +00:00
|
|
|
"members": [1,3,5],
|
2018-03-21 23:53:32 +00:00
|
|
|
|
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 ... ?" }
|
|
|
|
]
|
2018-03-21 23:53:32 +00:00
|
|
|
|
2018-03-22 12:57:53 +00:00
|
|
|
},
|
2018-03-21 23:53:32 +00:00
|
|
|
|
2018-03-22 12:58:49 +00:00
|
|
|
{
|
|
|
|
"rid": 1,
|
2018-03-21 23:53:32 +00:00
|
|
|
|
2018-03-22 12:57:53 +00:00
|
|
|
"members": [1,4],
|
2018-03-21 23:53:32 +00:00
|
|
|
|
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-21 23:53:32 +00:00
|
|
|
|
|
|
|
}
|
2018-03-22 12:57:53 +00:00
|
|
|
|
2018-03-22 12:58:49 +00:00
|
|
|
]
|
2018-03-21 23:53:32 +00:00
|
|
|
|
|
|
|
}
|