MS Teams Bot Framework icon

MS Teams Bot Framework

Send messages and interact with MS Teams using Azure Bot Framework

Reply to Message

AI-generated

Summary

Reply to a specific message in a Microsoft Teams conversation

Inputs

  • serviceUrl (required) — Service URL from the Teams activity (e.g., https://smba.trafficmanager.net/amer/)
  • conversationId (required) — The conversation ID where to send the message
  • activityId (required) — The ID of the activity/message to reply to, update, or delete
  • replyText (required) — The reply message text
  • additionalFields — Optional fields such as channel ID, tenant ID, and message type

Output shape

an array of result objects containing a success flag and activity details

If continueOnFail is enabled, error details may be returned as an object; otherwise errors throw.

Examples

Example 1: Reply to a received message to acknowledge it

Set Service URL, Conversation ID, Activity ID, and Reply Text; keep default Message Type

Example 2: Reply with a notification style message

Set Service URL, Conversation ID, Activity ID, Reply Text, and set Message Type to Notification

Discussion