UNPKG

@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/).

22 lines 750 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TemplateContent = void 0; const abstract_content_1 = require("./abstract-content"); /** * Implementation of template content. */ class TemplateContent extends abstract_content_1.AbstractContent { /** * Returns a new `TemplateContent` that can be used to send message templates to your customer. * * @param templateId The template identifier on the Zenvia platform. * @param fields The array of values to apply in the template. */ constructor(id, fields) { super('template'); this.templateId = id; this.fields = fields; } } exports.TemplateContent = TemplateContent; //# sourceMappingURL=template.js.map