Layer 228
AttachMenuBotsObj
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 AttachMenuBotsObj constructor obj := &tg.AttachMenuBotsObj{ Hash: 480, Bots: []tg.AttachMenuBot{&tg.AttachMenuBotObj{}}, Users: []tg.User{&tg.UserObj{}}, }