microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
733a37f2b7310e6fd954187427f2af0e713dc286

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

Samples/Samples.Meetings/README.md

51lines · modecode

1## Meetings Sample
2
3This sample demonstrates how to handle real-time updates for meeting events and meeting participant events.
4
5### Manifest Requirements
6
7There are a few requirements in the Teams app manifest (manifest.json) to support these events.
8
91) The `scopes` section must include `team`, and `groupChat`:
10
11```csharp
12 "bots": [
13 {
14 "botId": "",
15 "scopes": [
16 "team",
17 "personal",
18 "groupChat"
19 ],
20 "isNotificationOnly": false
21 }
22 ]
23```
24
252) In the authorization section, make sure to specify the following resource-specific permissions:
26
27```csharp
28 "authorization":{
29 "permissions":{
30 "resourceSpecific":[
31 {
32 "name":"OnlineMeetingParticipant.Read.Chat",
33 "type":"Application"
34 },
35 {
36 "name":"ChannelMeeting.ReadBasic.Group",
37 "type":"Application"
38 },
39 {
40 "name":"OnlineMeeting.ReadBasic.Chat",
41 "type":"Application"
42 }
43 ]
44 }
45 }
46```
47
48### Teams Developer Portal: Bot Configuration
49
50For your Bot, make sure the [Meeting Event Subscriptions](https://learn.microsoft.com/en-us/microsoftteams/platform/apps-in-teams-meetings/meeting-apps-apis?branch=pr-en-us-8455&tabs=channel-meeting%2Cguest-user%2Cone-on-one-call%2Cdotnet3%2Cdotnet2%2Cdotnet%2Cparticipant-join-event%2Cparticipant-join-event1#receive-meeting-participant-events) are checked.
51This enables you to receive the Meeting Participant events.