setChatMenuButton

Use this method to change the bot's menu button in a private chat, or the default menu button. Returns True on success.

Api reference

Parameters

chatId

Unique identifier for the target private chat. If not specified, default bot's menu button will be changed

menuButton

A JSON-serialized object for the bot's new menu button. Defaults to MenuButtonDefault