botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
26 lines • 632 B
JavaScript
;
/**
* @module botbuilder-dialogs-adaptive
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.TextEntity = void 0;
/**
* Text entity base class.
*/
class TextEntity {
/**
* Initializes a new instance of the [TextEntity](xref:botbuilder-dialogs-adaptive.TextEntity) class.
*
* @param text The text value.
*/
constructor(text) {
this.type = 'text';
this.text = text;
}
}
exports.TextEntity = TextEntity;
//# sourceMappingURL=textEntity.js.map