import { DialogDimension } from './dialog-dimension.js'; /** * Data structure to describe dialog information */ interface DialogInfo { /** * The url to be rendered in the webview/iframe. * * @remarks * The domain of the url must match at least one of the * valid domains specified in the validDomains block of the manifest */ url?: string; /** * JSON defining an adaptive card. */ card?: string; /** * The requested height of the webview/iframe. */ height?: DialogDimension | number; /** * The requested width of the webview/iframe. */ width?: DialogDimension | number; /** * Title of the task module. */ title?: string; /** * If client doesnt support the URL, the URL that needs to be opened in the browser. */ fallbackUrl?: string; /** * Specifies a bot ID to send the result of the user's interaction with the task module. * If specified, the bot will receive a task/complete invoke event with a JSON object * in the event payload. */ completionBotId?: string; } export type { DialogInfo };