messages.getAttachMenuBot

Returns attachment menu entry for a bot mini app that can be launched from the attachment menu »

attachMenuBotsBot#93bf667f bot:AttachMenuBot users:Vector<User> = AttachMenuBotsBot;
---functions---
messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot;

Parameters

Name Type Description
bot InputUser Bot ID

Result

AttachMenuBotsBot

Possible errors

Code Type Description
400 BOT_INVALID This is not a valid bot.

Only users can use this method

Related pages

Bot attachment menu and side menu entries

Bots can install attachment menu and side menu entries, offering conveniently accessible, versatile web apps.