Skip to main content
teams.getChannelMessageHostedContent downloads hosted content as a File.

Example

automations/teams-get-channel-message-hosted-content.automation.ts

Inputs

Pass { team: "Engineering", channel: "General", messageId: "message-id", contentId: "content-id" }. The optional second argument { account } selects a Microsoft binding.

Output

Downloads hosted content as a File. Microsoft Graph IDs are opaque and should be passed through unchanged.