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

17 lines (16 loc) 627 B
import { Buttons, IReplyableText } from '../../types'; import { AbstractContent } from './abstract-content'; /** * Implementation of Replyable Text content. */ export declare class ReplyableTextContent extends AbstractContent implements IReplyableText { text: string; quickReplyButtons?: Buttons; /** * 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: string, quickReplyButtons?: Buttons); }