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