ChatParticipants

class pyrogram.raw.base.ChatParticipants

Object contains info on group members.

Constructors:

This base type has 2 constructors available.

ChatParticipants

Group members.

ChatParticipantsForbidden

Info on members is unavailable

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,
                rank=None
            )
        ],
    version=0,
)