Objective: Subscribe a listener application to receive all ‘chat message’ events in the team/ channel for which the subscription has been created (or renewed).
We would like to request team owners to consent for a bot to receive user messages across standard channels in a team without being @mentioned, using resource-specific consent (RSC) permissions model.
Reference:
https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/channel-messages-with-rsc
Challenge we are facing:
The documentation suggests that this feature is in public developer preview only. However even this seems to have been withdrawn and it’s not clear whether this option is recommended by MS Teams and whether it works. We have not been able to get this option working, as it throws a schema validation error because of the absence of applicationPermissions key.
From devPreview, it appears that the required key of applicationPermissions has recently been removed:
https://raw.githubusercontent.com/OfficeDev/microsoft-teams-app-schema/preview/DevPreview/MicrosoftTeams.schema.json
Our Teams Bot App needs to read ALL Team chat messages for Team channels that have installed the app (& provided consent), analyze the content and accordingly respond (privately) to the message sender.
What is the roadmap for 'Receiving all Channel Messages with RSC' using the Teams Bot API?