When a room is hidden, it no longer appears in the channel list, and the "open" property is set to false in the user's subscription for that room.
| Name | Requires Auth | Permission | Setting |
|---|---|---|---|
hideRoom | Yes |
| Argument | Example | Required | Description |
|---|---|---|---|
roomId |
64a1f373376181965ab77f54 |
Required | The room id |
{
"msg": "method",
"method": "hideRoom",
"id": "14",
"params": [
"64a1f540376181965ab77f5b"
]
}{
"msg": "result",
"id": "14",
"result": 1
}