Listen to MS Teams Chat New Message

Viewed 311

I'm trying to build a chatbot system which can interact with our organization's Microsoft Teams channel. The Chatbot will be deployed on GCP VM. I was wondering how to listen to new messages from Microsoft Teams so that the chatbot can reply Teams user correspondingly in real time. I know we can use Graph API to get messages from Teams but it doesn't seem realistic to send API request every second to get messages from all Teams users. Is there any other approach? (We cannot use Azure Bot Service in our organization)

1 Answers
Related