mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
25 lines
570 B
Markdown
25 lines
570 B
Markdown
|
---
|
||
|
title: "botMenuButtonCommands"
|
||
|
description: "Bot menu button that opens the bot command list when clicked."
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: botMenuButtonCommands
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
[Bot menu button](https://core.telegram.org/api/bots/menu) that opens the bot command list when clicked.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [BotMenuButton](/API_docs/types/BotMenuButton.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$botMenuButtonCommands = ['_' => 'botMenuButtonCommands'];
|
||
|
```
|