# MenuButton

> This object describes the bot's menu button in a private chat

**Category:** Telegram Bot API — Types (A-Z)  
**URL:** https://docs.botlify.cloud/menubutton  
**Platform:** Botlify Cloud (https://botlify.cloud)  

---

This object describes the bot's menu button in a private chat. It should be one of

* MenuButtonCommands

* MenuButtonWebApp

* MenuButtonDefault

If a menu button other than MenuButtonDefault is set for a private chat, then it is applied in the chat. Otherwise the default menu button is applied. By default, the menu button opens the list of bot commands.

> [!TIP]
> **Botlify Cloud Runtime**
> Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.
