Joining Channels
You can only join yourself to public channels, private groups are not joinable. Some public channels require you to enter a joinCode
.
Requirements
| Logged In | Permission | Setting |
| — | — | — |
| Yes | view-c-room
| none |
Payload
- String - the id of the room to join
- String - the
joinCode
, only needed if the room requires a code to join
Example Call
{
"msg": "method",
"method": "joinRoom",
"id": "99",
"params": [
"roomId",
"joinCode"
]
}
Example Response
The response from calling the method will return a result of whether the user joined the channel or not.
{
"msg": "result",
"id": "99",
"result": true/false
}