Skip to main content
teams.replyToChannelMessage posts in the reply thread of a root channel message.

Example

automations/reply-in-teams.automation.ts

Inputs

Required team, channel, root messageId, and body accept compatible signals. bodyType is "text" | "html" and defaults to "text". Optional second argument { account } defaults to the project Microsoft binding.

Output

Returns the created TeamsChatMessage. messageId identifies the reply and replyToId the root. Use the root ID to post another reply or list the thread.