bots.getBotMenuButton
Gets the menu button action for a given user or for all users, previously set using bots.setBotMenuButton; users can see this information in the botInfo constructor.
Gets the menu button action for a given user or for all users, previously set using [bots.setBotMenuButton](https://core.telegram.org/method/bots.setBotMenuButton.md); users can see this information in the [botInfo](https://core.telegram.org/constructor/botInfo.md) constructor.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
user_id | InputUser | はい | User ID or empty for the default menu button. |
レスポンス
BotMenuButton
MTProto RPC
- 400 · USER_BOT_REQUIRED — This method can only be called by a bot.