Actions60
- User Actions
- Channel Actions
- Accept Invite
- Add Members
- Add Moderators
- Archive
- Ban User
- Create
- Delete
- Delete File
- Delete Image
- Demote Moderators
- Disable Slow Mode
- Enable Slow Mode
- Get Config
- Hide
- Invite Members
- Mark Read
- Mark Unread
- Mute
- Mute Status
- Pin
- Query Channels
- Query Members
- Reject Invite
- Remove Members
- Send Action
- Send File
- Send Image
- Show
- Stop Watching
- Truncate
- Unarchive
- Unban User
- Unmute
- Unpin
- Update
- Watch
- Message Actions
- Moderation Actions
Overview
The node enables slow mode on a specified chat channel within the Stream Chat service. Slow mode enforces a cooldown interval between messages sent by users in the channel, helping to reduce spam and encourage more thoughtful communication. This is particularly useful in busy group chats or livestream channels where message volume can be high.
Practical examples:
- Enabling slow mode with a 10-second cooldown in a team channel to prevent rapid-fire messages during discussions.
- Activating slow mode in a livestream channel to manage viewer interactions and maintain chat quality.
Properties
| Name | Meaning |
|---|---|
| Channel Type | The type of channel. Common options: "messaging" (1-on-1 chats), "team" (group channels), "livestream" (broadcast channels) |
| Channel ID | Unique identifier for the channel (e.g., "general", "random", "team-alpha"). Combined with type to form CID. |
| Cooldown Interval (Seconds) | The cooldown interval for slow mode in seconds. Must be between 1 and 120 seconds. |
Output
The output JSON contains the response from the Stream Chat API after enabling slow mode on the specified channel. This typically includes details about the updated channel state reflecting that slow mode is active with the configured cooldown interval.
No binary data is output by this operation.
Dependencies
- Requires an API key credential for authenticating with the Stream Chat service.
- The node uses the Stream Chat server-side client library to perform operations.
- Proper permissions must be granted to the API key to modify channel settings.
Troubleshooting
Common issues:
- Invalid or missing Channel ID or Channel Type will cause the operation to fail.
- Cooldown interval outside the allowed range (1-120 seconds) will result in validation errors.
- Insufficient API permissions may lead to authorization errors.
Error messages:
"Unsupported operation": Indicates the selected resource-operation combination is not implemented; verify correct selection.- API errors returned from Stream Chat (e.g., "channel not found", "permission denied") should be checked against your channel identifiers and API key permissions.
Resolution tips:
- Double-check the Channel Type and Channel ID inputs.
- Ensure the cooldown interval is within the valid range.
- Confirm that the API key used has rights to update channel configurations.