telegram api method · layer 229 · #c558d8ab
phone.getGroupParticipants
Get group call participants
definition
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 WebRTC source IDs |
offset | string | 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 | Maximum number of results to return, see pagination |
returns
errors (3)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
history
present in layers 122–229 · constructor id changed 1×
| id | layers |
|---|---|
| #c9f1d285 | 122–124 |
| #c558d8ab | 125–229 |