Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 1.62 KB

File metadata and controls

51 lines (42 loc) · 1.62 KB

Sample: Meetings

This sample demonstrates how to handle real-time updates for meeting events and meeting participant events.

Manifest Requirements

There are a few requirements in the Teams app manifest (manifest.json) to support these events.

  1. The scopes section must include team, and groupChat:
 "bots": [
        {
            "botId": "",
            "scopes": [
                "team",
                "personal",
                "groupChat"
            ],
            "isNotificationOnly": false
        }
    ]
  1. In the authorization section, make sure to specify the following resource-specific permissions:
 "authorization":{
        "permissions":{
            "resourceSpecific":[
                {
                    "name":"OnlineMeetingParticipant.Read.Chat",
                    "type":"Application"
                },
                {
                    "name":"ChannelMeeting.ReadBasic.Group",
                    "type":"Application"
                },
                {
                    "name":"OnlineMeeting.ReadBasic.Chat",
                    "type":"Application"
                }
                ]
            }
        }

Teams Developer Portal: Bot Configuration

For your Bot, make sure the Meeting Event Subscriptions are checked. This enables you to receive the Meeting Participant events.