phone.GetGroupParticipants

class pyrogram.raw.functions.phone.GetGroupParticipants

Get group call participants

Details:
  • Layer: 227

  • ID: C558D8AB

Parameters:
  • call (InputGroupCall) – Group call

  • ids (List of InputPeer) – If specified, will fetch group participant info about the specified peers

  • sources (List of int 32-bit) – If specified, will fetch group participant info about the specified WebRTC source IDs

  • offset (str) – Offset for results, taken from the next_offset field of phone.groupParticipants, initially an empty string. Note: if no more results are available, the method call will return an empty next_offset; thus, avoid providing the next_offset returned in phone.groupParticipants if it is empty, to avoid an infinite loop.

  • limit (int 32-bit) – Maximum number of results to return, see pagination

Returns:

phone.GroupParticipants

TL Schema

phone.getGroupParticipants#c558d8ab
call:InputGroupCall
ids:Vector<InputPeer>
sources:Vector<int>
offset:string
limit:int

= phone.GroupParticipants

Parameter Tree

GetGroupParticipants
├── call → InputGroupCall
│ ├── InputGroupCall
│ │ ├── id → long
│ │ └── access_hash → long
│ ├── InputGroupCallSlug
│ │ └── slug → string
│ └── msg_id → int
├── ids → Vector < InputPeer >
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_id → long
│ ├── InputPeerUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ ├── InputPeerChannel
│ │ ├── channel_id → long
│ │ └── access_hash → long
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_id → int
│ │ └── user_id → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
├── sources → Vector < int >
├── offset → string
└── limit → int

Example

await app.invoke(
    GetGroupParticipants(
        call=InputGroupCall(
            id=0,
            access_hash=0
        ),
        ids=[
                await app.resolve_peer(chat_id)
            ],
        sources=[0],
        offset="text",
        limit=0,
    )
)