updateShieldMode
suspend fun updateShieldMode(broadcasterId: String, moderatorId: String, isActive: Boolean): ShieldModeStatus
Twitch API: Update Shield Mode Status
Activates or deactivates the broadcaster's Shield Mode.
Return
the updated ShieldModeStatus.
Parameters
broadcasterId
the ID of the broadcaster whose Shield Mode you want to activate or deactivate.
moderatorId
the ID of the broadcaster or a user that is one of the broadcaster's moderators. This ID must match the user ID in the access token.
isActive
a Boolean value that determines whether to activate Shield Mode. Set to true to activate Shield Mode; otherwise, false to deactivate Shield Mode.