Opening Rooms

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.

NameRequires AuthPermissionSetting

openRoom

Yes

Payload Parameters

ArgumentExampleRequiredDescription

roomId

64a1f373376181965ab77f54

Required

The room id

Example Call

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

Example Response

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

Last updated

Rocket.Chat versions receive support for six months after release.