ChatMemberUpdated

class pyrogram.types.ChatMemberUpdated

Represents changes in the status of a chat member.

Parameters
  • chat (Chat) – Chat the user belongs to.

  • from_user (User) – Performer of the action, which resulted in the change.

  • date (int) – Date the change was done in Unix time.

  • old_chat_member (ChatMember, optional) – Previous information about the chat member.

  • new_chat_member (ChatMember, optional) – New information about the chat member.

  • invite_link (ChatInviteLink, optional) – Chat invite link, which was used by the user to join the chat; for joining by invite link events only.