- API ›
- Constructors ›
- BotCommandScopePeer
BotCommandScopePeer
---types--- botCommandScopePeer#db9d897d peer:InputPeer = BotCommandScope
Belongs to
| BotCommandScope |
In Rust this constructor is a variant of the enums::BotCommandScope enum.
Match on it with: if let enums::BotCommandScope::BotCommandScopePeer(v) = result { ... }
Parameters
| peer | InputPeer | required |
Used by
| GetBotCommands |
| ResetBotCommands |
| SetBotCommands |