MadelineProtoDocs/docs/API_docs/constructors/botMenuButton.md
2024-05-01 14:53:46 +02:00

992 B

title description nav_exclude image
botMenuButton Bot menu button that opens a web app when clicked. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: botMenuButton

Back to constructors index

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'];