Stream Chat icon

Stream Chat

Server-side Stream Chat operations

Channel → Unmute

AI-generated

Summary

Remove a mute from a specified user in a Stream Chat channel, allowing them to send messages again in that channel.

Inputs

  • Channel Type — The type of the channel, such as "messaging" for 1-on-1 chats, "team" for group channels, or "livestream" for broadcast channels. Defaults to "messaging".
  • Channel ID (required) — The unique identifier for the channel (e.g., "general", "random", "team-alpha"). Combined with channel type to form the channel CID.
  • User ID (required) — The ID of the user to unmute in the channel, enabling them to send messages again.

Output shape

a single JSON object containing the API response of the unmute request

The output is the raw JSON response from the Stream Chat SDK for the unmute operation. It includes details about the unmute action or any errors. Handle possible errors using the node's fail or continue-on-fail options.

Discussion