mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
992 B
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
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'];