# botCommandScopePeer

> The specified bot commands will be valid only in a specific dialog.

[Back to constructors index](/API_docs/constructors/index.html)



The specified bot commands will be valid only in a specific dialog.

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|peer|[InputPeer](/API_docs/types/InputPeer.html) | Optional|The dialog|



### Type: [BotCommandScope](/API_docs/types/BotCommandScope.html)


### Example:

```
$botCommandScopePeer = ['_' => 'botCommandScopePeer', 'peer' => InputPeer];
```
