Mutes a participant in an open channel. A muted participant remains in the channel and is allowed to view the messages, but can't send messages until unmuted.
The following table lists the parameters that this action supports.
Specifies the URL of a channel.
The following table lists the properties of an HTTP request that this action supports.
Specifies the ID of a user.
Specifies the duration of mute in seconds. If set to -1, the user will be muted for ten years, which refers to a permanent mute in the Sendbird Dashboard. (Default: -1)
Specifies the reason for mute. The maximum length is 2,048 characters.
If successful, this action returns an open channel resource in the response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.