Skip to main content
teams.listChatMessages returns one chat’s messages across Graph pages.

Example

automations/read-teams-chat.automation.ts

Inputs

Required chatId identifies the chat. Optional limit defaults to 100 and allows 1–10,000. Optional second argument { account } selects the Microsoft binding.

Output

Returns TeamsChatMessage[] with body, IDs, sender, timestamps, attachments, mentions, reactions, importance, reply parent, subject, summary, locale, web URL, and ETag. Attachments, mentions, and reactions default to empty arrays. Importance defaults to normal.