phone.GetGroupParticipants

class pyrogram.raw.functions.phone.GetGroupParticipants

Get group call participants

Details:
  • Layer: 223

  • 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
├── callInputGroupCall
│ ├── InputGroupCall
│ │ ├── idlong
│ │ └── access_hashlong
│ ├── InputGroupCallSlug
│ │ └── slugstring
│ └── msg_idint
├── idsVector < InputPeer >
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── sourcesVector < int >
├── offsetstring
└── limitint

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,
    )
)