Microsoft Teams Bot icon

Microsoft Teams Bot

Send messages and cards via Microsoft Teams Bot

Message → Reply

AI-generated

Summary

Replies to an existing Teams message in a channel thread or chat using the bot. Provide the recipient details, target message ID, and reply text; optional fields set text format, attachments, mentions, importance, or sensitivity.

Inputs

  • Recipient Type (required) — Choose Channel or Chat (Direct Message).
  • Team ID (required) — For a channel reply, the ID of the team containing the channel.
  • Channel ID (required) — For a channel reply, the channel containing the thread.
  • Conversation ID (required) — For a chat reply, the conversation containing the message.
  • Reply To ID (required) — The target message ID: use the Graph message ID of the thread root for channel replies, or the Bot Framework activity ID for chat replies.
  • Message (required) — Text of the reply.
  • Text Format — Format for the reply text: Markdown (default) or plain text.
  • Attachments — JSON string of attachments to include, such as adaptive cards or files.
  • Mentions (JSON) — JSON array of mention entities; include matching pre-rendered mention text in the message.
  • Mention User — Select a team member to mention in the reply. For advanced mention data, use Mentions (JSON).
  • Importance — Optional message importance: normal, high, or urgent.
  • Sensitivity (Label Id or Note) — Optional sensitivity label hint passed through to Graph payloads.

Output shape

A single item containing the reply message response.

The operation sends the reply through the bot and returns the API response with reply message details. Team ID and Channel ID apply to channel replies; Conversation ID applies to chat replies.

Links

Discussion