Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update stream-cli_chat_mute-channel.md
  • Loading branch information
orhnbmbm committed Aug 11, 2025
commit 23a252d4cc838890cecf170d175e5a3d05aa6d41
27 changes: 15 additions & 12 deletions docs/stream-cli_chat_mute-channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@

Mute a channel for a user

```
stream-cli chat mute-channel --type [channel-type] --id [channel-id] --user-id [user-id] [--expiration duration] [flags]
```

### Synopsis

Mutes a channel for a specific user. Muted channels do not trigger notifications,
Mutes a channel for a specific user. Muted channels do not trigger notifications,
affect unread counts, or unhide themselves when new messages are added.

You can optionally set an expiration time for the mute using the `--expiration` flag,
such as `'1h'`, `'24h'`, etc.
You can optionally set an expiration time for the mute using the --expiration flag,
such as '1h', '24h', etc.


```
stream-cli chat mute-channel --type [channel-type] --id [channel-id] --user-id [user-id] [--expiration duration] [flags]
```

### Examples

Expand All @@ -22,16 +23,17 @@ $ stream-cli chat mute-channel --type messaging --id redteam --user-id john

# Mute a channel for 6 hours
$ stream-cli chat mute-channel --type messaging --id redteam --user-id john --expiration 6h

```

### Options

```
-t, --type string [required] Channel type such as 'messaging'
-i, --id string [required] Channel ID
-u, --user-id string [required] User ID
--expiration string [optional] Expiration duration (e.g., '1h', '24h')
-h, --help help for mute-channel
--expiration string [optional] Expiration duration (e.g., '1h', '6h')
-h, --help help for mute-channel
-i, --id string [required] Channel ID
-t, --type string [required] Channel type such as 'messaging'
-u, --user-id string [required] User ID
```

### Options inherited from parent commands
Expand All @@ -44,3 +46,4 @@ $ stream-cli chat mute-channel --type messaging --id redteam --user-id john --ex
### SEE ALSO

* [stream-cli chat](stream-cli_chat.md) - Allows you to interact with your Chat applications