UpdateChatParticipantAdd

class pyrogram.raw.types.UpdateChatParticipantAdd

New group member.

Constructor of Update.

Details:
  • Layer: 223

  • ID: 3DDA5451

Parameters:
  • chat_id (int 64-bit) – Group ID

  • user_id (int 64-bit) – ID of the new member

  • inviter_id (int 64-bit) – ID of the user, who added member to the group

  • date (int 32-bit) – When was the participant added

  • version (int 32-bit) – Chat version number

TL Schema

updateChatParticipantAdd#3dda5451
chat_id:long
user_id:long
inviter_id:long
date:int
version:int

= Update

Parameter Tree

UpdateChatParticipantAdd
├── chat_idlong
├── user_idlong
├── inviter_idlong
├── dateint
└── versionint

Example

UpdateChatParticipantAdd(
    chat_id=0,
    user_id=0,
    inviter_id=0,
    date=0,
    version=0,
)