cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JakeC20
New Member

Hiding Teams Chat using PVA

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.. 

JakeC20_0-1652113316112.png

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. 

1 REPLY 1
peterswimm
Microsoft
Microsoft

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://docs.microsoft.com/en-us/microsoftteams/platform/bots/bot-features?tabs=dotnet#bots-with-pow...

https://powerautomate.microsoft.com/en-us/connectors/details/shared_teams/microsoft-teams/

 

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,181)