Skip to main content
teams.getChatMessageHostedContent downloads chat-message hosted content as a File.

Example

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

Inputs

Pass { chatId: "chat-id", messageId: "message-id", contentId: "content-id" }. The optional second argument { account } selects a Microsoft binding.

Output

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