Raw.UpdateChatParticipant
A user has joined or left a specific chat
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;
export namespace Raw {
export class UpdateChatParticipant {
constructor(params: {
chatId: bigint;
date: number;
actorId: bigint;
userId: bigint;
prevParticipant?: Raw.TypeChatParticipant;
newParticipant?: Raw.TypeChatParticipant;
invite?: Raw.TypeExportedChatInvite;
qts: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xd087663a
Property
chatId
: bigintChat id
date
: numberWhen did this event occur
actorId
: bigintUser that triggered the change (inviter, admin that kicked the user, or the even the userId itself)
userId
: bigintUser that was affected by the change
prevParticipant
: Raw.TypeChatParticipant or undefinedPrevious participant info (empty if this participant just joined)
newParticipant
: Raw.TypeChatParticipant or undefinedNew participant info (empty if this participant just left)
invite
: Raw.TypeExportedChatInvite or undefinedThe invite that was used to join the group
qts
: numberNew qts value, see updates for more info.