{ "cid": 12, "uid": 1, "users": [ { "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, "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 ... ?" }, { "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 ... ?" } ] }, { "rid": 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" } ] } ] }