teams.sendChatMessage posts to a one-to-one, group, or meeting chat identified by chatId.
Example
automations/send-teams-chat-message.automation.ts
Inputs
sendTeamsChatMessage requires chatId and body. bodyType is "text" | "html" and defaults to "text". HTML must use Teams-supported markup. Optional second argument { account } selects the Microsoft binding.
Output
Returns the createdTeamsChatMessage with messageId, body, and available sender, timestamp, URL, and Microsoft metadata.