Hierarchy

  • IMessageMenuItem

Index

Properties

Properties

Optional icon

icon: string

Icon to be displayed next to label. Currently supports font-awesome icons.

Optional items

A sub menu of menu items.

Optional label

label: string

The text on the menu buttons

Optional onClick

onClick: Function

The function that gets called when the menu button is clicked.

type

type: "single" | "multi" | "separator"

Type of menu. Single is one button, multi is a submenu, and separator is the line separator.