Action API object

Implements

Constructors

Properties

Constructors

  • Builds a call-to-action component for an Interactive message

    Parameters

    • display_text: string

      The text to be displayed in the CTA button

    • url: string

      The url to be opened when the CTA button is clicked

    Returns ActionCTA

Properties

name: "cta_url"

The name of the component

parameters: { display_text: string; url: string }

The CTA parameters