unban

suspend fun unban(broadcasterId: String, moderatorId: String, userId: String)

Twitch API: Unban User

Removes the ban or timeout that was placed on the specified user.

Parameters

broadcasterId

the ID of the broadcaster whose chat room the user is banned from chatting in.

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.

userId

the ID of the user to remove the ban or timeout from.