Layer 220
BotCommandScopePeer
The specified bot commands will be valid only in a specific dialog.
constructor
botCommandScopePeer#db9d897d peer:InputPeer = BotCommandScope;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | The dialog |
Returns
BotCommandScopeGogram Example
// Creating BotCommandScopePeer constructor obj := &tg.BotCommandScopePeer{ Peer: &tg.InputPeerUser{UserID: int64(123456789)}, }