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_update-message.md
  • Loading branch information
orhnbmbm committed Aug 11, 2025
commit 28ef517c5bddebcee5479ca95dc441c99905d1c4
18 changes: 13 additions & 5 deletions docs/stream-cli_chat_update-message.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,31 @@

Update an existing message

### Synopsis

Update a message by providing the message ID, user ID, and new message text.
This fully overwrites the message content while preserving metadata.


```
stream-cli chat update-message --message-id [id] --user [user-id] --text [text]
stream-cli chat update-message --message-id [id] --user [user-id] --text [text] [flags]
```

### Examples

```
# Update a message by ID
$ stream-cli chat update-message --message-id msgid-123 --user user123 --text "Updated message text"

```

### Options

```
-h, --help help for update-message
--message-id id [required] Message ID to update
--user string [required] User ID performing the update
--text string [required] New message text
-h, --help help for update-message
--message-id string [required] ID of the message to update
--text string [required] New message text
--user string [required] User ID performing the update
```

### Options inherited from parent commands
Expand All @@ -32,3 +39,4 @@ $ stream-cli chat update-message --message-id msgid-123 --user user123 --text "U
### SEE ALSO

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