banUser
fun banUser(targetId: String, channelType: String, channelId: String, reason: String?, timeout: Int?): Call<Unit>
Bans a user from a given channel.
Parameters
targetId
The ID of the user to ban.
channelType
The type of the channel.
channelId
The ID of the channel.
reason
The (optional) reason for banning the user.
timeout
The (optional) duration of the ban in minutes.