get_chat_menu_button()

Client.get_chat_menu_button()

Get the current value of the bot’s menu button in a private chat, or the default menu button.

Usable by Users Bots
Parameters:

chat_id (int | str) – Unique identifier (int) or username (str) of the target chat. You can also use user profile/chat public link in form of t.me/<username> (str). If not specified, default bot’s menu button will be returned.