Link Search Menu Expand Document

Constructor: botMenuButton

Back to constructors index

Bot menu button that opens a web app when clicked.

Attributes:

NameTypeRequiredDescription
textstringYesTitle to be displayed on the menu button instead of ‘Menu’
urlstringYesURL of a web app to open when the user clicks on the button

Type: BotMenuButton

Example:

$botMenuButton = ['_' => 'botMenuButton', 'text' => 'string', 'url' => 'string'];