getAllUnbanRequests

fun getAllUnbanRequests(broadcasterId: String, moderatorId: String, status: UnbanRequestStatus = UnbanRequestStatus.PENDING): Flow<UnbanRequestResponse>

Twitch API: Get Unban Requests

Gets all unban requests for a broadcaster's channel. Automatically paginates through all results.

Return

a Flow of UnbanRequestResponse objects.

Parameters

broadcasterId

the ID of the broadcaster whose channel is receiving unban requests.

moderatorId

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

status

filter by a status: pending, approved, denied, acknowledged, canceled.