Layer 220
UpdateBotMenuButton
The menu button behavior for the specified bot has changed
constructor
updateBotMenuButton#14b85813 bot_id:long button:BotMenuButton = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| BotId | long | Bot ID |
| Button | BotMenuButton | New menu button |
Returns
UpdateGogram Example
// Creating UpdateBotMenuButton constructor obj := &tg.UpdateBotMenuButton{ BotId: int64(0), Button: &tg.BotMenuButton{}, }