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 (datetime) – Date the change was done.

  • 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.

  • via_join_request (bool, optional) – True, if the user joined the chat after sending a direct join request and being approved by an administrator

  • via_chat_folder_invite_link (bool, optional) – True, if the user joined the chat via a chat folder invite link