You can only join yourself to public channels, private groups are not joinable. Some public channels require you to enter a joinCode
.
Method | Requires Auth | Permission |
---|---|---|
| Yes |
|
Payload parameters
Argument | Example | Required | Description |
---|---|---|---|
|
| Required | The room ID to join. |
|
| Required, if the room requires a code to join. | The code to join the room. |
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
}