updateChatParticipant

A user has joined or left a specific chat

Constructor schema is available as of layer 133. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
chat_id long Chat ID
date int When did this event occur
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?ChatParticipant Previous participant info (empty if this participant just joined)
new_participant flags.1?ChatParticipant New participant info (empty if this participant just left)
invite flags.2?ExportedChatInvite The invite that was used to join the group
qts int New qts value, see updates » for more info.

Type

Update

Related pages

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.