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