Skip to main content
teams.listChannelMessages lists top-level messages without replies. Use teams.listChannelReplies for a thread.

Example

automations/read-teams-channel.automation.ts

Inputs

listTeamsChannelMessages requires team and channel, which accept exact display names or IDs. Optional limit defaults to 100 and accepts 1–10,000. Second argument { account } defaults to the project binding.

Output

Returns messages with messageId, messageType, body, importance, and default-empty attachments, mentions, and reactions. The default importance is normal. Available fields include timestamps, sender, reply parent, subject, summary, locale, web URL, and ETag. Body content may be text or html.