Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
adaptiveCard module
- Package:
- @microsoft/teams-js
Functions
| isSupported() | Checks if dialog.adaptiveCard module is supported by the host |
| open(AdaptiveCardDialogInfo, DialogSubmitHandler) | Allows app to open an adaptive card based dialog. |
Function Details
isSupported()
Checks if dialog.adaptiveCard module is supported by the host
function isSupported(): boolean
Returns
boolean
boolean to represent whether dialog.adaptiveCard module is supported
open(AdaptiveCardDialogInfo, DialogSubmitHandler)
Allows app to open an adaptive card based dialog.
function open(adaptiveCardDialogInfo: AdaptiveCardDialogInfo, submitHandler?: DialogSubmitHandler)
Parameters
- adaptiveCardDialogInfo
- AdaptiveCardDialogInfo
An object containing the parameters of the dialog module AdaptiveCardDialogInfo.
- submitHandler
- DialogSubmitHandler
Handler that triggers when a dialog fires an Action.Submit or when the user closes the dialog.
Remarks
This function cannot be called from inside of a dialog
Feedback
Was this page helpful?
