UNPKG

botbuilder-dialogs-adaptive

Version:

Rule system for the Microsoft BotBuilder dialog system.

30 lines (29 loc) 952 B
/** * @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