- API ›
- Constructors ›
- BotCommandScopePeerAdmins
BotCommandScopePeerAdmins
---types--- botCommandScopePeerAdmins#3fd863d1 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::BotCommandScopePeerAdmins(v) = result { ... }
Parameters
| peer | InputPeer | required |
Used by
| GetBotCommands |
| ResetBotCommands |
| SetBotCommands |