Actions57
- Card Actions
- Card Builder Actions
- Channel Actions
- Chat Actions
- Message Actions
- Analyze Reactions
- Delete
- Delta (All Chats)
- Export All Messages (Metered)
- Export Retained Messages (Metered)
- Generate Thumbnail
- Get
- Get Many
- Get Pinned Messages
- Get Reaction Analytics
- List Messages
- List Replies
- Monitor Upload
- Pin Message
- Pin Channel Message
- Process File
- Reply
- Reply with Attachment
- Send
- Send and Wait
- Send File Link
- Send with Attachment
- Set Reaction
- Soft Delete
- Undo Delete
- Unpin Message
- Unpin Channel Message
- Unset Reaction
- Update
- Upload to OneDrive
- Subscriptions Actions
- Team Actions
- User Actions
Message → Reply with Attachment
AI-generatedSummary
Replies to an existing Teams message with a file attachment in a chat or channel. The attachment is supplied as JSON; attachment processing is enabled by default and can be controlled with Enable Processing.
Inputs
- Recipient Type (required) — Choose Channel or Chat (direct message).
- Team ID (required) — For a channel reply, the ID of the team containing the channel.
- Channel ID (required) — For a channel reply, the ID of the channel containing the thread.
- Conversation ID (required) — For a chat reply, the ID of the conversation containing the message.
- Reply To ID (required) — ID of the message to reply to. Use the Graph message ID of the thread root for channel replies or the Bot Framework activity ID for chat replies.
- Attachment Data (required) — JSON object describing the attachment, such as its name, content type, and content or content URL.
- Enable Processing — Whether to process or optimize the attachment before sending; defaults to true.
Output shape
A single item containing the reply response from the Teams API.
The operation sends a reply with the attachment to the selected chat or channel thread. Attachment data must be valid JSON and satisfy Teams attachment requirements.