slack-block-builder
Version:
Maintainable code for interactive Slack messages, modals, home tabs, and workflow steps. A must-have for the Slack Block Kit framework.
14 lines (13 loc) • 419 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PlainTextObject = void 0;
const base_1 = require("../base");
const constants_1 = require("../constants");
class PlainTextObject extends base_1.CompositionObjectBase {
constructor(text) {
super();
this.type = constants_1.ObjectType.Text;
this.text = text;
}
}
exports.PlainTextObject = PlainTextObject;