TLDR: Using any YouTube API is it possible to set the Live Chat mode for a Live Broadcast to, ideally, set it to "Live Commentary Mode" or alternatively disable it?
Long version: Background: As a pilot project I'm leveraging the YouTube Data and Live Streaming APIs in combination with room automation to automatically create, update, and tag/index/diarize broadcasts of meetings for a legislative body. So far it's working really well and I think the result is really cool both in geeky tech ways as well as for promoting government transparency.
Problem: For every live broadcast a Live Chat is created and that Live Chat participant mode defaults to "Anyone" which allows any YouTube user to drop messages in the live chat and can be problematic for various reasons. The live chat can manually changed in the YouTube Studio webpage (Channel Content -> Relevant Video -> Customization -> Live Chat/Participant Modes), however as far as I can tell this can only be done once the Broadcast is created and must be done manually for every stream (i.e. no way to set channel defaults).
Question: Am I overlooking an API/API call/parameter that would allow us either to set the "Participant Mode" to "Live Commentary" (preferred option) or disable the live chat (nuclear-but-better than current option) either simultaneously with creation or immediately after to eliminate the manual step?
From what I can find there are a few options that get close (like https://developers.google.com/youtube/v3/live/docs/liveChatModerators) but none that affect the specific attribute we want to control.
Thanks!