Favoriting Rooms
When a user makes a room as a favorite, the yellow star appears and it moves the room up to the “favorites” section of the list of rooms.
Requirements
| Logged In | Permission | Setting | | — | — | — | | Yes | none | none |
Payload
- String - the id of the room to leave
- Boolean - whether the room is a favorite or not, defaults to true
Example Call
{
"msg": "method",
"method": "toggleFavorite",
"id": "16",
"params": [
"roomId",
true/false
]
}
Example Response
{
"msg": "result",
"id": "16",
"result": 1
}