"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TextBody = void 0;
const BodyType_1 = require("../Enumerations/BodyType");
const MessageBody_1 = require("./MessageBody");
/**
 * Represents the body of a message.
 */
class TextBody extends MessageBody_1.MessageBody {
    constructor(text = null) {
        arguments.length === 0 ? super() : super(BodyType_1.BodyType.Text, text);
    }
}
exports.TextBody = TextBody;
//# sourceMappingURL=TextBody.js.map