muteUser

fun muteUser(userId: String, timeout: Int? = null)

Mutes the given user inside this channel.

Parameters

userId

The ID of the user to be muted.

timeout

The period of time for which the user will be muted, expressed in minutes. A null value signifies that the user will be muted for an indefinite time.