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 #
| Name | Type | Description |
|---|---|---|
| bot | InputUser | Bot ID |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | BOT_INVALID | This is not a valid bot. |
Related pages #
Bot attachment menu and side menu entries #
Bots can install attachment menu and side menu entries, offering conveniently accessible, versatile web apps.¶