Open Rooms (Realtime)

Prev Next

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.

Method

Requires Auth

openRoom

Yes

Payload parameters

Argument

Example

Required

Description

roomId

64a1f373376181965ab77f54

Required

The room ID.

Example call

{
    "msg": "method",
    "method": "openRoom",
    "id": "19",
    "params": [
        "64a1f540376181965ab77f5b"
    ]
}

Example response

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