Forum Discussion
MS Teams connector middle layer between Payload sender and Receiver (msteams channel)
NadirRiyani - Could you please take a look at Change Notification Subscription. Please take a look at Change notifications for Microsoft Teams messages blog.
Let me know if that helps.
Wajeed-MSFT Thanks for your quick response.
It does not look direct solution to the issue which I have posted. It looks like the subscription-based model. Do you know any NuGet package or Any direct Event available whereas the developer take some action before message post to Teams via Connector.? Similar like one every Bot command and OnTurnAsync event raised.
And It looks API is in the Beta version too.
- Wajeed-MSFTMar 27, 2020Microsoft
NadirRiyani - In that case, you could create an Azure Function which receives the data first and then posts to respective Incoming Webhook.
See if this example helps: https://visualstudiomagazine.com/articles/2017/04/01/implementing-webhooks-azure-functions.aspx- ronakshahMar 29, 2020Copper Contributor
Wajeed-MSFT : That I understand. but it seems there would more data traversing and difficult to manage in case of any exception or any issue. Is there any event directly available in the Bot framework. Like OnTurnAsync, OnTeamsMembersAddedAsync. So there would be direct action when the message gets in into the connector.
- Wajeed-MSFTMar 29, 2020MicrosoftCurrently, this is not available as part of Bot Events.