Hide Rooms (Realtime)

Prev Next

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.

Method

Requires Auth

hideRoom

Yes

Payload parameters

Argument

Example

Required

Description

roomId

64a1f373376181965ab77f54

Required

The room ID.

Example call

{
    "msg": "method",
    "method": "hideRoom",
    "id": "14",
    "params": [
        "64a1f540376181965ab77f5b"
    ]
}

Example response

{
    "msg": "result",
    "id": "14",
    "result": 1
}