@zenvia/sdk
Version:
This SDK for [Node.js](https://nodejs.org/) was created based on the [Zenvia](https://www.zenvia.com/) [API](https://zenvia.github.io/zenvia-openapi-spec/).
20 lines • 578 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TextContent = void 0;
const abstract_content_1 = require("./abstract-content");
/**
* Implementation of text content.
*/
class TextContent extends abstract_content_1.AbstractContent {
/**
* Returns a new `TextContent` that can be used to send text messages to your customer.
*
* @param text The text of the message.
*/
constructor(text) {
super('text');
this.text = text;
}
}
exports.TextContent = TextContent;
//# sourceMappingURL=text.js.map