teams message update
Auto-generated reference
This page is generated from checked-in CLI metadata for release v0.9.0. Do not edit it by hand.
Update a message
Synopsis
teams message update [OPTIONS] --body <BODY> [MESSAGE_ID]
Options
| Option | Value | Required | Env | Default | Description |
|---|---|---|---|---|---|
--team | TEAM | no | Team ID (for channel messages; requires --channel) | ||
--channel | CHANNEL | no | Channel ID (for channel messages; requires --team) | ||
--chat | CHAT | no | Chat ID (for chat messages) | ||
MESSAGE_ID | MESSAGE_ID | no | Message ID | ||
--message | MESSAGE | no | Message ID | ||
--body | BODY | yes | New message body | ||
--content-type | CONTENT_TYPE | no | text | Content type: text or html |
Examples
No command-specific examples are published yet.
Exit Codes
| Code | Meaning |
|---|---|
| 0 | success |
| 2 | invalid input |
| 3 | authentication error |
| 4 | permission denied |
| 5 | not found |
| 6 | rate limited |