teams message attachments list
Auto-generated reference
This page is generated from checked-in CLI metadata for release v0.3.0. Do not edit it by hand.
List attachments and inline images in a message.
Synopsis
teams message attachments list (--team TEAM_ID --channel CHANNEL_ID [--reply REPLY_ID] | --chat CHAT_ID) [MESSAGE_ID | --message MESSAGE_ID]
Options
| Option | Value | Required | Env | Default | Description |
|---|---|---|---|---|---|
--team | TEAM_ID | no | Team ID for channel messages | ||
--channel | CHANNEL_ID | no | Channel ID for channel messages | ||
--chat | CHAT_ID | no | Chat ID for chat messages | ||
--reply | REPLY_ID | no | Reply ID for a reply within a channel thread | ||
--message | MESSAGE_ID | no | Message ID |
Examples
List downloadable message media
teams message attachments list --chat "$CHAT_ID" "$MESSAGE_ID" --output json
Exit Codes
| Code | Meaning |
|---|---|
| 0 | success |
| 2 | invalid input |
| 3 | authentication error |
| 4 | permission denied |
| 5 | not found |
| 6 | rate limited |