Interface ChatHeaderGroupMenu

Describes the properties and methods to author a chat header group menu. This groups together menu items that become selectable radio group options.

interface ChatHeaderGroupMenu {
    defaultSelectedItem: string | ChatHeaderGroupMenuItem;
    items: string[] | ChatHeaderGroupMenuItem[];
    label: string;
    onChange: (selectedItem: string | ChatHeaderGroupMenuItem) => void;
    type: RADIO_GROUP;
}

Hierarchy

  • ChatHeaderObject
    • ChatHeaderGroupMenu

Properties

defaultSelectedItem: string | ChatHeaderGroupMenuItem

The default menu item to set as selected.

items: string[] | ChatHeaderGroupMenuItem[]

The selectable menu items.

label: string

The text to display on the interactible object.

onChange: (selectedItem: string | ChatHeaderGroupMenuItem) => void

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

The chat header object type.

MMNEPVFCICPMFPCPTTAAATR