# danog\MadelineProto\EventHandler\Channel\ChannelParticipant: A participant has left, joined, was banned or admin'd in a [channel or supergroup](https://core.telegram.org/api/channel).

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

> Author: Daniil Gentili <daniil@daniil.it>  
  

A participant has left, joined, was banned or admin'd in a [channel or supergroup](https://core.telegram.org/api/channel).  



## Properties
* `$viaChatlist`: `bool` Whether the participant joined using a [chat folder deep link »](https://core.telegram.org/api/links#chat-folder-links).
* `$chatId`: `int` Channel ID
* `$date`: `int` Date of the event
* `$actorId`: `int` User that triggered the change (inviter, admin that kicked the user, or the even the userId itself)
* `$userId`: `int` User that was affected by the change
* `$prevParticipant`: `?danog\MadelineProto\EventHandler\Participant` Previous participant status
* `$newParticipant`: `?danog\MadelineProto\EventHandler\Participant` New participant status
* `$inviteLink`: `?danog\MadelineProto\EventHandler\ChatInvite` Chat invite used to join the channel/supergroup

## Method list:
* [`__construct(\danog\MadelineProto\MTProto $API, array $rawChannelParticipant)`](#__construct)

## Methods:
### <a name="__construct"></a> `__construct(\danog\MadelineProto\MTProto $API, array $rawChannelParticipant)`




Parameters:

* `$API`: `\danog\MadelineProto\MTProto`   
* `$rawChannelParticipant`: `array`   


#### See also: 
* `\danog\MadelineProto\MTProto`




---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
