Layer 224
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: int64(1234567890), Bots: []tg.AttachMenuBot{&tg.AttachMenuBot{}}, Users: []tg.User{&tg.User{}}, }