Skip to main content
teams.getChannelMessage retrieves a root message or reply. For a reply, provide the root ID as replyToMessageId and the reply ID as messageId.

Example

automations/get-teams-reply.automation.ts

Inputs

getTeamsChannelMessage requires string values for team, channel, and messageId. replyToMessageId is optional. Team and channel accept exact names or IDs. Message fields are opaque IDs. Optional second argument { account } selects the Microsoft binding.

Output

Returns a TeamsChatMessage with body, sender, timestamps, attachments, mentions, reactions, importance, reply, subject, summary, locale, web URL, and ETag.