Skip to content

get_chat_menu_button

Use this method to get the current value of the bot's menu button

Parameters

  • chat_id (int) (optional): Unique identifier for the target private chat. If not specified, default bot's menu button will be returned.

Returns

Examples

  • All Parameters
await bot.get_chat_menu_button(
    chat_id=your_chat_id_here
)