- API ›
- Constructors ›
- UpdateBotCommands
UpdateBotCommands
---types--- updateBotCommands#4d712f2e peer:Peer bot_id:long commands:Vector<BotCommand> = Update
Belongs to
| Update |
In Rust this constructor is a variant of the enums::Update enum.
Match on it with: if let enums::Update::UpdateBotCommands(v) = result { ... }
Parameters
| peer | Peer | required |
| bot_id | long | required |
| commands | Vector<BotCommand> | required |