# communityPeer

> communityPeer attributes, type and example

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



### Attributes:

| Name     |    Type       | Required |
|----------|---------------|----------|
|can\_view\_history|[Bool](/API_docs/types/Bool.html) | Optional|
|visible|[Bool](/API_docs/types/Bool.html) | Optional|
|peer|[long](/API_docs/types/long.html) | Yes|



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


### Example:

```
$communityPeer = ['_' => 'communityPeer', 'can_view_history' => Bool, 'visible' => Bool, 'peer' => long];
```
