Build extensible conversation for meeting chat

You can make conversations extensible in Microsoft Teams meetings. Bots, message extensions, cards, and dialogs (referred as task modules in TeamsJS v1.x) can be combined to deliver an intuitive experience.

Bots

A bot is also referred to as a chatbot or conversational bot. It's an app that runs simple and repetitive tasks by users such as customer service or support staff. Everyday use of bots include, bots that provide information about the weather, make dinner reservations, or provide travel information. Interactions with bots can be quick questions and answers or complex conversations. A bot needs to be enabled in the team scope for a channel meeting and the groupchat scope for all other meeting types. To implement bots, start with build a bot

Bot APIs

The Bot Framework is a rich SDK used to create bots using C#, Java, Python, and JavaScript. If you already have a bot that is based on the Bot Framework, you can easily modify it to work in Teams. Use either C# or Node.js to take advantage of our SDKs.

Code samples - Bots

Sample name Description .NETCore Node.js Python Java Manifest
Teams conversation bot This sample app shows how to use different bot conversation events available in bot framework v4. View View View View View
Bot samples Set of bot framework v4 samples View View View View

Message extensions

Message extensions allow the users to interact with your web service through buttons and forms in the Teams client. Users can search or initiate actions in an external system from the compose message area, the command box, or directly from a message. You can send back the results of that interaction to the Teams client in the form of a richly formatted card. Implementing message extensions for meeting chats is no different than regular chats. To implement message extension, start with message extensions.

Cards and dialogs

Cards provide users with various visual, audio, and selectable messages and help in conversation flow. With dialogs, you can create modal pop-up experiences in Teams. They're useful for starting and completing the tasks, or displaying rich information like videos or Power business intelligence (BI) dashboards. For more information, see building cards and dialogs.

Feature compatibility by user types

The following table provides the user types and lists the features that each user can access in meetings:

User type Bots Message extensions Adaptive Cards Dialogs
In-tenant Can view messages, interact with the content, and invoke the bot. Available Available Available
Guest, part of the tenant Microsoft Entra ID Can view messages, interact with the content, and invoke the bot. Not available Interactions in the meeting chat are allowed. Interactions in the meeting chat from Adaptive Card are allowed.
Federated, for more information, see non-standard users. Can view messages, interact with the content, and invoke the bot. Not available Interactions in the meeting chat are allowed. Interactions in the meeting chat from Adaptive Card are allowed.
Anonymous Can view and interact with the messages sent by the bot. Can't invoke the bot. Not available Interactions in the meeting chat are allowed. Interactions in the meeting chat from Adaptive Card are allowed.

Note

  • If a federated user is a participant in the meeting, the tenant user can't view the message extensions.
  • If an anonymous user and a tenant user are participants in the meeting, the tenant user can view the message extensions.

See also