muteChannel

abstract suspend fun muteChannel(channelId: String): RainbowResult<Unit>

Mute notifications for a specific channel.

This method disables notifications for the specified channel. Once muted, the user will no longer receive notifications for new items posted in the channel.

Return

A RainbowResult indicating the success or failure of the operation. In case of failure, the result will include error details.

Parameters

channelId

The unique identifier of the channel to mute.