Constructor: botMenuButton
Bot menu button that opens a web app when clicked.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
text | string | Yes | Title to be displayed on the menu button instead of ‘Menu’ |
url | string | Yes | URL of a web app to open when the user clicks on the button |
Type: BotMenuButton
Example:
$botMenuButton = ['_' => 'botMenuButton', 'text' => 'string', 'url' => 'string'];