Forum Discussion

member11's avatar
member11
Copper Contributor
Oct 31, 2019

How To Send A Message From User To Bot In Microsoft Teams App?

Hi. I'm able to send messages from Bot to user in Microsoft Teams app via Microsoft Bot's "botbuilder" Node.js SDK:

 

 

session.send(message);

 

 

How can I send the message on the other direction (from user to bot)

7 Replies

  • member11 You could directly send a message to the bot using Teams client. What is that you are looking for? Could you please elaborate?

    • member11's avatar
      member11
      Copper Contributor

      Gousia_Begum I'm working on an integration between Microsoft Teams and Slack.

      I'm building a Microsoft Teams application which is connected to a Microsoft Bot.

      Additionally, I created a server for:

      1. Listening to messages which were sent by users in Slack (via Slack webhooks)

      2. Posting them in Microsoft Teams conversation as a user message to the bot (outgoing message)

      I cannot accomplish item number 2.

      I receive messages from Slack (which were sent by a Slack user) to my server and I wish to post them in Microsoft Teams as messages from the user to the bot and I'm not able to do so.

Resources