setChatMenuButton
Change the menu button for a bot in a private chat, or set the default button when no chat is specified. Define the button type as commands, web app, or default.
Instructions
Change the bot's menu button in a private chat, or the default menu button. Returns True on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Unique identifier for the target private chat. If not specified, changes the default bot menu button. | |
| menu_button | No | Object for the bot's new menu button. Defaults to MenuButtonDefault. |