telegram api method · layer 229 · #c558d8ab

phone.getGroupParticipants

usable by users

Get group call participants

definition

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

parameters

nametypedescription
callInputGroupCallGroup call
idsVector<InputPeer>If specified, will fetch group participant info about the specified peers
sourcesVector<int>If specified, will fetch group participant info about the specified WebRTC source IDs
offsetstringOffset 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.
limitintMaximum number of results to return, see pagination

returns

phone.GroupParticipants

errors (3)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis 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.
400GROUPCALL_INVALIDThe specified group call is invalid.
401AUTH_KEY_UNREGISTEREDThe 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×

idlayers
#c9f1d285122–124
#c558d8ab125–229