Header API object

Hierarchy

  • Header

Constructors

Properties

Constructors

  • Builds a header component for an Interactive message

    Parameters

    Returns Header

    Throws

    If object is a string and is over 60 characters

    Throws

    If object is a Media and has a caption

Properties

document?: Document

The document of the parameter

image?: Image

The image of the parameter

text?: string

The text of the parameter

type: "text" | "document" | "image" | "video"

The type of the header

video?: Video

The video of the parameter

Generated using TypeDoc