Create an Interactive object for the API
The action component of the interactive message
Optional body: BodyThe body component of the interactive message, it may be undefined if not needed.
Optional header: HeaderThe header component of the interactive message, it may be undefined if not needed.
Optional footer: FooterThe footer component of the interactive message, it may be undefined if not needed.
If body is not provided, unless action is an ActionProduct with a single product
If header is provided for an ActionProduct with a single product
If header of type text is not provided for an ActionProduct with a product list
If header is not of type text, unless action is an ActionButtons
Readonly actionThe action component of the interactive message
Optional Readonly bodyThe body component of the interactive message
Optional Readonly footerThe footer component of the interactive message
Optional Readonly headerThe header component of the interactive message
Readonly typeThe type of the interactive message
Generated using TypeDoc
Interactive API object