This sample illustrates how to implement Content Bubble In-Meeting Experience.
-
Node.js version 10.14 or higher
# determine node version node --version
-
Clone the repository
git clone https://github.com/OfficeDev/Microsoft-Teams-Samples.git
-
In a terminal, navigate to
samples\meetings-content-bubble\nodejs
cd samples/meetings-content-bubble/nodejs
-
Install modules
npm install
-
Start the bot
npm start
- Create a new Bot by following steps mentioned in Build a bot documentation.
- Go to appsettings.json and add
MicrosoftAppId
,MicrosoftAppPassword
andBaseUrl
information. - Update the manifest.json file with MICROSOFT-APP-ID value.
- You need to set the
externalResourceUrl
in notification payload to load the content bubble page in-meeting pop up
notification: {
alertInMeeting: true,
externalResourceUrl: 'https://teams.microsoft.com/l/bubble/<<APP_ID>>?url=<<ENDPOINT_URL>>&height=270&width=300&title=ContentBubbleinTeams&completionBotId=<<APP_ID>>'
}
Message the Bot by @ mentioning to interact with the content bubble.
- You will see agenda items listed in an Adaptive Card.
- Select any option and click on Push Agenda button
- You can submit your feedback on either Content Bubble/Adaptive card sent in chat.