ChatParticipants

class pyrogram.raw.types.ChatParticipants

Group members.

Constructor of ChatParticipants.

Details:
  • Layer: 227

  • 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_id → long
├── participants → Vector < ChatParticipant >
│ ├── ChatParticipant
│ │ ├── user_id → long
│ │ ├── inviter_id → long
│ │ ├── date → int
│ │ └── rank → string (optional)
│ │ ├── user_id → long
│ │ └── rank → string (optional)
│ └── ChatParticipantAdmin
│ ├── user_id → long
│ ├── inviter_id → long
│ ├── date → int
│ └── rank → string (optional)
└── version → int

Example

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