Constructor: updateChannelParticipant
A participant has left, joined, was banned or admined in a channel or supergroup.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
via_chatlist | Bool | Optional | Whether the participant joined using a chat folder deep link ». |
channel_id | long | Yes | Channel ID |
date | int | Yes | Date of the event |
actor_id | long | Yes | User that triggered the change (inviter, admin that kicked the user, or the even the user_id itself) |
user_id | long | Yes | User that was affected by the change |
prev_participant | ChannelParticipant | Optional | Previous participant status |
new_participant | ChannelParticipant | Optional | New participant status |
invite | ExportedChatInvite | Optional | Chat invite used to join the channel/supergroup |
qts | int | Yes | New qts value, see updates » for more info. |
Type: Update
Example:
$updateChannelParticipant = ['_' => 'updateChannelParticipant', 'via_chatlist' => Bool, 'channel_id' => long, 'date' => int, 'actor_id' => long, 'user_id' => long, 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant, 'invite' => ExportedChatInvite, 'qts' => int];