chatrooms

Switch Chacha Host

Switch ChaCha off or on in this room (beta).

hosted_by_chacha keeps meaning the room was set up with her; activity_config.chacha_off is what this writes. Anyone who may be in the room may switch her, students included (_may_switch_chacha), and every switch is recorded as a user_activities row. She cannot be switched ON in a room that was never set up with her: 409.

The room is told through a server-sent data packet, {"type": "chacha_host_state", "on", "by_name"}, which carries no participant identity; the client accepts it only when LiveKit says no participant sent it.

post/chatrooms/{room_name}/chacha-host

Path parameters

room_namestring required

Headers

authorizationstring nullable

Request body

onboolean required

Response

Successful Response

{"stackTrail":"paths:/chatrooms/{room_name}/chacha-host:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes