updateBotCommands
The command set of a certain bot in a certain chat has changed.
type tg.UpdateBotCommands struct { /* ... */ }
Implements Update.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Peer | PeerClass | yes | The affected chat |
BotID | int64 | yes | ID of the bot that changed its command set |
Commands | []BotCommand | yes | New bot commands |
References
- Official documentation
- Generated Go reference
- TL definition:
updateBotCommands#4d712f2e