/** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { PromptOptions } from 'botbuilder-dialogs'; import { Activity } from 'botbuilder'; import { IEnhancedBotFrameworkSkill } from '../models/enhancedBotFrameworkSkill'; export class SwitchSkillDialogOptions implements PromptOptions { public skill: IEnhancedBotFrameworkSkill; public prompt?: string | Partial; /** * Initializes a new instance of the SwitchSkillDialogOptions class * @param prompt The Activity to display when prompting to switch skills. * @param skill The IEnhancedBotFrameworkSkill for the new skill. */ public constructor(prompt: Activity, skill: IEnhancedBotFrameworkSkill) { this.prompt = prompt; this.skill = skill; } }