Connect Microsoft teams bot with websocket to Microsoft teams



I have a simple microsoft teams bot which is run on my server. It receives a message, processes and sends the response back.

However, I want to be able to continuously update the message. Let's say it is a counter that I want to increment every second for some time, so I want to be able to update the existing message every second.

I know that there is a possibility to connect with a web socket using Direct Line API, but it is used for other clients and not Microsoft Teams.


Is there a way to connect with a websocket to Microsoft Teams, so I can constantly update the message for the user?


Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,969 questions
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 16,561 Reputation points MVP