Forum Discussion

nthornbury's avatar
nthornbury
Copper Contributor
Sep 14, 2021

Teams Meeting - Content share feedback

Hello all,

 

I am very new to Teams bots, from what I've found so far this doesn't seem to be possible, but I'm wondering if there is any way to get feedback from a Teams meeting when someone in the meeting starts or stops sharing content?  

 

Basically I am trying to integrate a Teams room system with other controls, and I would ideally have a "content sharing has stopped" type event trigger something else in the room.

5 Replies

  • nthornbury - I didn't get any method to know when user stop are start sharing content, but we do have some meeting functions that you can perform via app. 
    Here you will find the API that is available - https://docs.microsoft.com/en-us/microsoftteams/platform/apps-in-teams-meetings/api-references?tabs=dotnet
    You can also setup a meeting bot, in it you will get the information about when the meeting is starting and getting end - https://docs.microsoft.com/en-us/dotnet/api/microsoft.bot.builder.teams.teamsactivityhandler.onteamsmeetingstartasync?view=botbuilder-dotnet-stable#Microsoft_Bot_Builder_Teams_TeamsActivityHandler_OnTeamsMeetingStartAsync_Microsoft_Bot_Schema_Teams_MeetingStartEventDetails_Microsoft_Bot_Builder_ITurnContext_Microsoft_Bot_Schema_IEventActivity__System_Threading_CancellationToken_TeamsMeetingStartAsync and https://docs.microsoft.com/en-us/dotnet/api/microsoft.bot.builder.teams.teamsactivityhandler.onteamsmeetingendasync?view=botbuilder-dotnet-stable#Microsoft_Bot_Builder_Teams_TeamsActivityHandler_OnTeamsMeetingEndAsync_Microsoft_Bot_Schema_Teams_MeetingEndEventDetails_Microsoft_Bot_Builder_ITurnContext_Microsoft_Bot_Schema_IEventActivity__System_Threading_CancellationToken_TeamsMeetingEndAsync. Here is the sample available - https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/2aed6c20999b8e2503078985d0b093969c35110a/samples/meetings-events/csharp/MeetingEvents

    Feel free to ask if you have any query. 

    Thanks, 

    Hunaid Hanfee

    ------------------------------------------------------

    If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via https://aka.ms/DevSupportFeedback) link. Click https://aka.ms/DevCommunityEscalationForm to escalate. 

     

Resources