A participant has left, joined, was banned or admined in a channel or supergroup.
updateChannelParticipant#985d3abb flags:# channel_id:long date:int actor_id:long user_id:long prev_participant:flags.0?ChannelParticipant new_participant:flags.1?ChannelParticipant invite:flags.2?ExportedChatInvite qts:int = Update;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
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. |
How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.
How to subscribe to updates and handle them properly.