Layer 220
BotCommandScopePeerAdmins
The specified bot commands will be valid for all admins of the specified group or supergroup.
constructor
botCommandScopePeerAdmins#3fd863d1 peer:InputPeer = BotCommandScope;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | The chat |
Returns
BotCommandScopeGogram Example
// Creating BotCommandScopePeerAdmins constructor obj := &tg.BotCommandScopePeerAdmins{ Peer: &tg.InputPeerUser{UserID: int64(123456789)}, }