addBlockedTerm

suspend fun addBlockedTerm(broadcasterId: String, moderatorId: String, text: String): BlockedTerm

Twitch API: Add Blocked Term

Adds a word or phrase to the broadcaster's list of blocked terms. These are the terms that the broadcaster doesn't want used in their chat room.

Return

the created BlockedTerm.

Parameters

broadcasterId

the ID of the broadcaster that owns the list of blocked terms.

moderatorId

the ID of the broadcaster or a user that has permission to moderate the broadcaster's chat room. This ID must match the user ID in the user access token.

text

the word or phrase to block from being used in the broadcaster's chat room. The term must contain a minimum of 2 characters and may contain up to a maximum of 500 characters. Terms may include a wildcard character (*).