get_attach_menu_bot()

async Client.get_attach_menu_bot()

Get information about a bot that can be used in the attach menu.

Usable by Users Bots
Parameters:

bot_id (int | str) – The bot user ID or username.

Returns:

AttachMenuBotsBot – The attach menu bot info.

Example

info = await app.get_attach_menu_bot("@mybot")