Skip to main content
listChannelMessages lists top-level channel messages. It does not expand each message’s replies; use listChannelMessageReplies for a thread.

Example

automations/read-teams-channel.automation.ts

Inputs

Required team and channel accept exact display names or IDs. Optional limit defaults to 100 (1–10,000) and account defaults to the project binding.

Output

Returns normalized messages with messageId, messageType, body, importance (default normal), and default-empty attachments, mentions, and reactions, plus available timestamps, sender identity, reply parent, subject, summary, locale, web URL, and ETag. Body content may be text or html.