updateChannelParticipant

A participant has left, joined, was banned or admined in a channel or supergroup.

Constructor schema is available as of layer 133. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
via_chatlist flags.3?true Whether the participant joined using a chat folder deep link ».
channel_id long Channel ID
date int Date of the event
actor_id long User that triggered the change (inviter, admin that kicked the user, or the even the user_id itself)
user_id long User that was affected by the change
prev_participant flags.0?ChannelParticipant Previous participant status
new_participant flags.1?ChannelParticipant New participant status
invite flags.2?ExportedChatInvite Chat invite used to join the channel/supergroup
qts int New qts value, see updates » for more info.

Type

Update

Related pages

Deep links

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

Channels, supergroups, gigagroups and basic groups

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

Working with Updates

How to subscribe to updates and handle them properly.