getChatMenuButton
Retrieve the current menu button for a private chat, or get the default menu button when no chat is specified.
Instructions
Get the current value of the bot's menu button in a private chat, or the default menu button. Returns a MenuButton object.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getChatMenuButton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Unique identifier for the target private chat. If not specified, returns the default bot menu button. |