47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
|
|
"cid": 12,
|
|
"uid": 1,
|
|
|
|
"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" }
|
|
],
|
|
|
|
"room": {
|
|
|
|
"text": {
|
|
|
|
"0": {
|
|
|
|
"members": [1,3,5],
|
|
|
|
"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 ... ?" }
|
|
]
|
|
|
|
},
|
|
|
|
"1": {
|
|
|
|
"members": [1,4],
|
|
|
|
"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" }
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
} |