getBanned
suspend fun getBanned(broadcasterId: String, userIds: List<String> = emptyList(), cursor: String? = null, pageSize: Int? = null): Page<BannedUser>
Gets a single page of users that the broadcaster banned or put in a timeout.
Return
a Page 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.
cursor
the cursor used to get the next page of results.
pageSize
the maximum number of items to return per page (1-100, default 20). Null uses the API default.