When a room is opened, it becomes visible in the channel list on the sidebar, and the "open" property in the user's subscription for that room is set to true.
| Name | Requires Auth | Permission | Setting |
|---|---|---|---|
openRoom | Yes |
| Argument | Example | Required | Description |
|---|---|---|---|
roomId |
64a1f373376181965ab77f54 |
Required | The room id |
{
"msg": "method",
"method": "openRoom",
"id": "19",
"params": [
"64a1f540376181965ab77f5b"
]
}{
"msg": "result",
"id": "19",
"result": 1
}