teams message get
Auto-generated reference
This page is generated from checked-in CLI metadata for release v0.3.0. Do not edit it by hand.
Get a specific message.
Synopsis
teams message get --team TEAM_ID --channel CHANNEL_ID [MESSAGE_ID | --message MESSAGE_ID] [--with-attachments]
Options
| Option | Value | Required | Env | Default | Description |
|---|---|---|---|---|---|
--team | TEAM_ID | yes | Team ID | ||
--channel | CHANNEL_ID | yes | Channel ID | ||
--message | MESSAGE_ID | no | Message ID | ||
--with-attachments | no | Include an inventory of attachments and inline images |
Examples
Read message and attachment inventory
teams message get --team "$TEAM_ID" --channel "$CHANNEL_ID" "$MESSAGE_ID" --with-attachments --output json
Exit Codes
| Code | Meaning |
|---|---|
| 0 | success |
| 2 | invalid input |
| 3 | authentication error |
| 4 | permission denied |
| 5 | not found |
| 6 | rate limited |