botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
29 lines • 922 B
TypeScript
/**
* @module botbuilder-dialogs-adaptive
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { Choice, DialogContext, DialogStateManager, TemplateInterface } from 'botbuilder-dialogs';
/**
* Defines ChoiceSet collection.
*/
export declare class ChoiceSet extends Array<Choice> implements TemplateInterface<ChoiceSet, DialogStateManager> {
private readonly template;
/**
* Initializes a new instance of the [ChoiceSet](xref:botbuilder-dialogs-adaptive.ChoiceSet) class.
*
* @param obj Choice values.
*/
constructor(obj: any);
/**
* Bind data to template.
*
* @param dialogContext DialogContext
* @param data Data to bind to.
* @returns Data binded ChoiceSet.
*/
bind(dialogContext: DialogContext, data?: DialogStateManager): Promise<ChoiceSet>;
}
//# sourceMappingURL=choiceSet.d.ts.map