Stream Chat icon

Stream Chat

Server-side Stream Chat operations

Channel → Enable Slow Mode

AI-generated

Summary

Enable slow mode on a specified chat channel to enforce a cooldown interval between user messages, reducing message frequency.

Inputs

  • Channel Type — Type of the channel such as 'messaging', 'team', or 'livestream'. Defaults to 'messaging'.
  • Channel ID (required) — Unique identifier of the channel to enable slow mode on; combined with Channel Type to form the channel CID.
  • Cooldown Interval (Seconds) (required) — Cooldown time in seconds that users must wait between sending messages when slow mode is enabled (minimum 1 second, maximum 120 seconds).

Output shape

a single JSON object representing the updated channel state or confirmation from the Stream Chat API

The output corresponds to the response returned by the Stream Chat server after enabling slow mode on the channel. Errors from the API are handled and may be returned if the operation fails.

Discussion