Reputation: 31
I am developing MS teams bot.
I am creating a function to send a webhook automatically when I receive a message.
The development was carried out by referring to the URL below.
Like the URL above, teams support outgoing webbook. However, the outgoing webbook must manually enter @mention in the chat window for the bot to work.
I want to tag @mention automatically when I receive a message Is there a way to do a webhook?
Even if it's not an outgoing webbook, The robot or ms flow can receive messages and send messages automatically. I want to develop a robot.
You also need to provide that bot for use by multiple teams.
Upvotes: 0
Views: 1062
Reputation: 509
You can subscribe to notifications for Microsoft Teams messages. This feature is available in beta on the Microsoft Graph API.
Upvotes: 0
Reputation: 4191
I'm not sure if you can automatically sync all messages in a channel. But you can use the graph API to constantly check the channel for new messages and pull them into your service.Graph API
Upvotes: 1