Interface ChatHeaderButton

Describes the properties and methods of the button object in the chat header.

interface ChatHeaderButton {
    label: string;
    onClick: () => void;
    type: BUTTON;
}

Hierarchy

  • ChatHeaderObject
    • ChatHeaderButton

Properties

Properties

label: string

The text to display on the interactible object.

onClick: () => void

The callback function to fire when the menu item is clicked.

type: BUTTON

The chat header object type.

MMNEPVFCICPMFPCPTTAAATR