ChatParticipants

class pyrogram.raw.types.ChatParticipants

Group members.

Constructor of ChatParticipants.

Details:
  • Layer: 223

  • ID: 3CBC93F8

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

  • participants (List of ChatParticipant) – List of group members

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

TL Schema

chatParticipants#3cbc93f8
chat_id:long
participants:Vector<ChatParticipant>
version:int

= ChatParticipants

Parameter Tree

ChatParticipants
├── chat_idlong
├── participantsVector < ChatParticipant >
│ ├── ChatParticipant
│ │ ├── user_idlong
│ │ ├── inviter_idlong
│ │ ├── dateint
│ │ └── rankstring (optional)
│ │ ├── user_idlong
│ │ └── rankstring (optional)
│ └── ChatParticipantAdmin
│ ├── user_idlong
│ ├── inviter_idlong
│ ├── dateint
│ └── rankstring (optional)
└── versionint

Example

ChatParticipants(
    chat_id=0,
    participants=[
            ChatParticipant(
                user_id=0,
                inviter_id=0,
                date=0
            )
        ],
    version=0,
)