telegram api constructor · layer 229 · #d087663a
updateChatParticipant
A user has joined or left a specific chat
definition
updateChatParticipant#d087663a flags:# chat_id:long date:int actor_id:long user_id:long prev_participant:flags.0?ChatParticipant new_participant:flags.1?ChatParticipant invite:flags.2?ExportedChatInvite qts:int = Update;
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 | ChatParticipant | Previous participant info (empty if this participant just joined) |
new_participant | ChatParticipant | New participant info (empty if this participant just left) |
invite | ExportedChatInvite | The invite that was used to join the group |
qts | int | New qts value, see updates » for more info. |
type
Update · 164 other constructors
history
present in layers 124–229 · constructor id changed 1×
| id | layers |
|---|---|
| #f3b3781f | 124–132 |
| #d087663a | 133–229 |