getAllModerators

fun getAllModerators(broadcasterId: String, userIds: List<String> = emptyList()): Flow<ChannelRoleUser>

Twitch API: Get Moderators

Gets all users allowed to moderate the broadcaster's chat room.

Return

a Flow emitting each moderator.

Parameters

broadcasterId

the ID of the broadcaster whose list of moderators 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.