botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
31 lines • 1.41 kB
TypeScript
/**
* @module botbuilder-dialogs-adaptive
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { Expression, ExpressionProperty } from 'adaptive-expressions';
import { Dialog } from 'botbuilder-dialogs';
/**
* Represents a property which is either a [Dialog](xref:botbuilder-dialogs.Dialog) or a string expression for a dialogId.
*
* @remarks
* String values are always interpreted as a string with interpolation, unless it has '=' prefix
* or not. The result is interpreted as a resource Id or dialogId.
*/
export declare class DialogExpression extends ExpressionProperty<Dialog> {
/**
* Initializes a new instance of the [DialogExpression](xref:botbuilder-dialogs-adaptive.DialogExpression) class.
*
* @param value Optional. A [Dialog](xref:botbuilder-dialogs.Dialog), a `string` that is interpreted as a resource Id or dialogId, or an [Expression](xref:adaptive-expressions.Expression).
*/
constructor(value?: Dialog | string | Expression);
/**
* Sets the raw value of the expression property.
*
* @param value A [Dialog](xref:botbuilder-dialogs.Dialog), a `string` that is interpreted as a resource Id or dialogId, or an [Expression](xref:adaptive-expressions.Expression).
*/
setValue(value: Dialog | string | Expression): void;
}
//# sourceMappingURL=dialogExpression.d.ts.map