getAllBanned

fun getAllBanned(broadcasterId: String, userIds: List<String> = emptyList()): Flow<BannedUser>

Twitch API: Get Banned Users

Gets all users that the broadcaster banned or put in a timeout. Automatically paginates through all results.

Return

a Flow of BannedUser objects.

Parameters

broadcasterId

the ID of the broadcaster whose list of banned users you want to get. This ID must match the user ID in the access token.

userIds

a list of user IDs used to filter the results. You may specify a maximum of 100 IDs.