messages.getAttachMenuBot #

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

Layer 223

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

Parameters #

NameTypeDescription
botInputUserBot ID

Result #

AttachMenuBotsBot

Only users can use this method #

Possible errors #

CodeTypeDescription
400BOT_INVALIDThis is not a valid bot.

Bot attachment menu and side menu entries #

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