# channelParticipantBanned

> Banned/kicked user

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



Banned/kicked user

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|left|[Bool](/API_docs/types/Bool.html) | Optional|Whether the user has left the group|
|peer|[long](/API_docs/types/long.html) | Yes|The banned peer|
|kicked\_by|[long](/API_docs/types/long.html) | Yes|User was kicked by the specified admin|
|date|[int](/API_docs/types/int.html) | Yes|When did the user join the group|
|banned\_rights|[ChatBannedRights](/API_docs/types/ChatBannedRights.html) | Yes|Banned [rights](https://core.telegram.org/api/rights)|
|rank|[string](/API_docs/types/string.html) | Optional|



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


### Example:

```
$channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'peer' => long, 'kicked_by' => long, 'date' => int, 'banned_rights' => ChatBannedRights, 'rank' => 'string'];
```
