Редактиране

Споделяне чрез

Invoke Dialog in Bot with Adaptive Card

You can invoke dialogs (referred as task modules in TeamsJS v1.x) from Teams bots by using Adaptive Cards or Bot Framework cards.

Key features of dialogs:

  • Enhance user experience by avoiding multiple steps.
  • Help users to keep track of the bot state.
  • Retrieve input from user and display custom web page content.

This step-by-step guide helps you to create a sample Azure bot to invoke Teams dialog. You'll see the following output:

Screenshot shows the final output of the dialog.