Layer 220
MessagesGetAttachMenuBot
Returns attachment menu entry for a bot mini app that can be launched from the attachment menu
method
Users
messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot;
Parameters
| Name | Type | Description |
|---|---|---|
| Bot | InputUser | Bot ID |
Returns
AttachMenuBotsBotPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | BOT_INVALID | This is not a valid bot. |
Gogram Example
// MessagesGetAttachMenuBot - positional arguments result, err := client.MessagesGetAttachMenuBot(&tg.InputUserSelf{}) if err != nil { // handle error } // result is *tg.AttachMenuBotsBot