@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 • 814 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReplyableTextContent = void 0;
const abstract_content_1 = require("./abstract-content");
/**
* Implementation of Replyable Text content.
*/
class ReplyableTextContent extends abstract_content_1.AbstractContent {
/**
* Returns a new `ReplyableTextContent` that can be used to send text and reply buttons to your customer.
*
* @param text Text to be sent.
* @param quickReployButtons Horizontal list of buttons displayed after the content.
*/
constructor(text, quickReplyButtons) {
super('replyable_text');
this.text = text;
this.quickReplyButtons = quickReplyButtons;
}
}
exports.ReplyableTextContent = ReplyableTextContent;
//# sourceMappingURL=replyable-text.js.map