resolveUnbanRequest
suspend fun resolveUnbanRequest(broadcasterId: String, moderatorId: String, unbanRequestId: String, status: UnbanRequestStatus, resolutionText: String? = null): UnbanRequestResponse
Twitch API: Resolve Unban Requests
Resolves an unban request by approving or denying it.
Return
the resolved UnbanRequestResponse.
Parameters
broadcasterId
the ID of the broadcaster whose channel is approving or denying the unban request.
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.
unbanRequestId
the ID of the unban request to resolve.
status
resolution status: approved or denied.
resolutionText
message supplied by the unban request resolver. The message is limited to a maximum of 500 characters.