Layer 220
AttachMenuBots
Represents a list of bot mini apps that can be launched from the attachment menu
constructor
attachMenuBots#3c4301c0 hash:long bots:Vector<AttachMenuBot> users:Vector<User> = AttachMenuBots;
Parameters
| Name | Type | Description |
|---|---|---|
| Hash | long | Hash used for caching, for more info click here |
| Bots | Vector<AttachMenuBot> | List of bot mini apps that can be launched from the attachment menu |
| Users | Vector<User> | Info about related users/bots |
Returns
AttachMenuBotsGogram Example
// Creating AttachMenuBots constructor obj := &tg.AttachMenuBots{ Hash: int64(0), Bots: []tg.AttachMenuBot{&tg.AttachMenuBot{}}, Users: []tg.User{&tg.User{}}, }