shadowBanUser

fun shadowBanUser(targetId: String, channelType: String, channelId: String, reason: String?, timeout: Int?): Call<Unit>

Shadow bans a user from a given channel.

Parameters

targetId

The ID of the user to shadow ban.

channelType

The type of the channel.

channelId

The ID of the channel.

reason

The (optional) reason for shadow banning the user.

timeout

The (optional) duration of the shadow ban in minutes.