Skip to main content

Notifications

Power Platform Community / Forums / General / Hiding Teams Chat usin...
General
Unanswered

Hiding Teams Chat using PVA

Posted on by 6

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. 

Categories:
  • peterswimm Profile Picture
    peterswimm on at
    Re: Hiding Teams Chat using PVA

    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-power-virtual-agents

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

     

     

     

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,962

#3
Expiscornovus Profile Picture

Expiscornovus 1,667