Layer 220
PhoneGetGroupParticipants
Get group call participants
method
Users
phone.getGroupParticipants#c558d8ab call:InputGroupCall ids:Vector<InputPeer> sources:Vector<int> offset:string limit:int = phone.GroupParticipants;
Parameters
| Name | Type | Description |
|---|---|---|
| Call | InputGroupCall | Group call |
| Ids | Vector<InputPeer> | If specified, will fetch group participant info about the specified peers |
| Sources | Vector<int> | If specified, will fetch group participant info about the specified Web RTC source IDs |
| Offset | string | Offset for results, taken from the next_offset field of phone. group Participants, 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. group Participants if it is empty, to avoid an infinite loop. |
| Limit | int | Maximum number of results to return, see pagination |
Returns
phone.GroupParticipantsPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
Gogram Example
// PhoneGetGroupParticipants - positional arguments result, err := client.PhoneGetGroupParticipants(&tg.InputGroupCall{}, []tg.InputPeer{&tg.InputPeerUser{UserID: int64(123456789)}}, []int{}, "...", 0) if err != nil { // handle error } // result is *tg.PhoneGroupParticipants