Microsoft Teams Bot icon

Microsoft Teams Bot

Send messages and cards via Microsoft Teams Bot

Message → Send with Attachment

AI-generated

Summary

Sends a message with a file attachment to a Teams chat or channel. Provide the attachment as a JSON object; attachment processing is enabled by default and can be turned off.

Inputs

  • attachmentData (required) — Attachment data as a JSON string, for example an object with name, contentType, and content. The attachment must contain valid content or a content URL.
  • enableProcessing — Whether to process or optimize the attachment before sending. Defaults to true.

Output shape

A single item containing the send response.

The operation sends through the Bot Framework; recipient and message fields are defined by the operation but are not included in the supplied scoped properties.

Links

Discussion