capabilities.work

Mute a User and Post a Moderation Notice

A 2-step recipe with Sendbird. We can help you get access.

Recipe · 2 steps

Mute a User and Post a Moderation Notice

Mute a user and announce the moderation action in the channel.

  1. Mute the user in the channel for the supplied duration.
  2. Post an admin notice into the channel about the mute.
What you'll need to have ready
  • apiToken: Sendbird Api-Token from the dashboard.
  • userId: User ID to mute.
  • channelUrl: URL of the channel to mute the user in.
  • seconds: Mute duration in seconds. -1 for indefinite.
  • description: Reason recorded for the mute.
  • moderatorId: User ID that authors the admin notice.
  • noticeMessage: Admin notice posted to the channel.
For your developer

Arazzo workflow sendbird:mute-then-warn-user, 2 operations: muteUser → sendMessage. Specs on APIs.io.