muteUser

suspend fun GroupChannel.muteUser(userId: String, description: String? = null, seconds: Int = -1)
suspend fun OpenChannel.muteUser(userId: String, description: String? = null, seconds: Int = -1)

Deprecated

As of 4.17.0, replaced with awaitMuteUser(userId, description, seconds).

Replace with

awaitMuteUser(userId, description, seconds)

Mutes User. Muted User's messages are no longer delivered to current User.

Since

4.15.0

Parameters

userId

The user ID to mute.