Forum Discussion
How to capture replies to a bot's message in a Microsoft Teams Channel without mentioning the bot?
I have developed a message extension bot app for Microsoft Teams and I want to capture replies to a message posted by the bot in a Teams channel without requiring users to mention the bot directly.
I am using Node.js and TypeScript for my bot.
The bot is registered in the Azure Bot Service.
I want to capture replies to this message without users needing to mention the bot. How can I achieve this?
Any guidance or examples would be greatly appreciated!
5 Replies
- Nivedipa-MSFT
Microsoft
XDeveloper29 - Thanks for reporting your issue.
To capture replies to a message posted by your bot in a Teams channel without requiring users to mention the bot directly, you can use the Resource-Specific Consent (RSC) feature. This feature allows your bot to receive all channel messages in teams where it is installed, without being mentioned directly.
Please refer below document for more details: Get All Conversation Messages with RSC - Teams | Microsoft LearnThanks,
Nivedipa
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
.
- XDeveloper29Copper ContributorNivedipa-MSFT,
I have gone through the document. As mentioned in it, I cannot see the ChannelMessage.Read.Group and ChatMessage.Read.Chat permissions in both the application and the delegate permissions azure portal. I have tried using ChannelMessage.Read.All and ChatMessage.Read.All, but it is not working.
Could you please provide further guidance on how to resolve this issue?- XDeveloper29Copper ContributorNivedipa-MSFT, Kindly help on the above discussion.