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

21 lines (20 loc) 660 B
import { AbstractContent } from './abstract-content'; import { ITemplateContent } from '../../types'; /** * Implementation of template content. */ export declare class TemplateContent extends AbstractContent implements ITemplateContent { templateId: string; fields: { [name: string]: string; }; /** * 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: string, fields: { [name: string]: string; }); }