Hello, I'd like to make a function to hide a teams group chat for all users using PVA.
Here's what I have so far..
Ultimately I'd like for any user in the chat to type !hide and have a script hide the chat for all users.
https://docs.microsoft.com/en-us/graph/api/chat-hideforuser?view=graph-rest-beta&tabs=csharp
How would I make the chat bot look for the !hide command and then use that to call on a function or script?
Any help/tips would be appreciated.
If teams has not added this functionality to their team's connector (and since its so new I am guessing they haven't) you would have to implement this either in a custom connector or a Bot Framework skill.
https://powerautomate.microsoft.com/en-us/connectors/details/shared_teams/microsoft-teams/
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional