Layer 227
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 whose participants should be fetched |
| 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 or the participants_next_offset field of phone. group Call, 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.GroupParticipantsGogram Example
// PhoneGetGroupParticipants - positional arguments result, err := client.PhoneGetGroupParticipants(&tg.InputGroupCall{}, &tg.VectorInputPeer{}, &tg.VectorInt{}, "Hello, World!", 42) if err != nil { // handle error } // result is *tg.PhoneGroupParticipants
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |