en | de
Worldwide Content
Aug 24, 2022 12:00 AM

Building a conversational tab in a Microsoft Teams app that captures external event conversations

In this 13-minute developer focused demo, Eoin O’Brien points out how in a Microsoft Teams channel tab, one may create a conversation about an external event...

In this 13-minute developer focused demo, Eoin O’Brien points out how in a Microsoft Teams channel tab, one may create a conversation about an external event like an incident ticket including conversation’s context. Implementation

get Service URL from bot install activity, create a conversation using a Bot ConnectorClient, send conversationId to tab to be used in conversational tabs, and open conversation

in Tab side panel. CodeTour walk through of presenter’s proof-of-concept sample. Supports Omnichannel queries, job application and incident ticket management conversations. This PnP Community demo is taken from the Microsoft 365 & Power Platform Development Community call recorded on July 21, 2022.

Demo Presenter

• Eoin O'Brien (Microsoft)

Supporting materials

Proactive Tab Conversations
The proof of concept demonstrates how to use a bot to proactively create a new conversation each time a support inquiry is filed.https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-tab-conversations/csharp

Create conversational tabs

Conversational subentities provide a way to allow users to have conversations about subentities in your tab. Such as specific task, patient, and sales opportunity, instead of discussing the entire tab, also known as entity. A traditional channel or configurable tab allows the user to have a conversation about a tab, but the user requires a more focused conversation.

https://docs.microsoft.com/en-gb/microsoftteams/platform/tabs/how-to/conversational-tabs

Messages in bot conversations

Each message in a conversation is an Activity object of type messageType: message. When a user sends a message, Microsoft Teams posts the message to your bot. Teams sends a JSON object to your bot's messaging endpoint and Teams allows only one endpoint for messaging. Your bot examines the message to determine its type and responds accordingly.

https://docs.microsoft.com/en-gb/microsoftteams/platform/bots/how-to/conversations/conversation-messages?tabs=dotnet

  • NewsContent Type
  • Aug 23, 2022First published
  • 2 minReading Time
  • EnglishArticle Language