Edit

Share via


Cards and dialogs

Cards provide users with various visual, audio, and selectable messages and help in conversation flow.

With dialogs (referred as task modules in TeamsJS v1.x), you can create modal pop-up experiences in Microsoft Teams. They're useful for starting and completing the tasks, or displaying rich information like videos or Power business intelligence (BI) dashboards.

The following types of cards are supported in bots for Teams:

  • Adaptive Card
  • Hero card
  • List card
  • Connector card for Microsoft 365 Groups
  • Receipt card
  • Sign in card
  • Thumbnail card
  • Card collections

You can format card text using a subset of XML or HTML formatting or Markdown depending on the card type.

People Picker in Adaptive Cards in Adaptive Card helps to search, select, reassign, and preselect users within chat or channel.

You can add and respond to card actions that:

  • Open a URL.
  • Send messages and payload to the bot.
  • Initiate OAuth flow.

You can provide dynamic search experience within a large dataset using typeahead control in Adaptive Cards and perform typeahead static search within limited number of choices. Invoke the dialogs in channel or personal tabs, bots, or deep links. Your user's experience for any workflows that requires data input can be improved by adding a dialog to the user's tab. You can invoke dialogs from Teams bots using buttons on Adaptive Cards and Bot Framework cards.

See also