Skip to main content
listChatMessages follows Graph pagination and returns normalized messages for one chat.

Example

automations/read-teams-chat.automation.ts

Inputs

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

Output

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