getGroupParticipants method
Future<Result<PhoneGroupParticipantsBase> >
getGroupParticipants({
- required InputGroupCallBase call,
- required List<
InputPeerBase> ids, - required List<
int> sources, - required String offset,
- required int limit,
Get Group Participants.
ID: c558d8ab
.
Implementation
Future<Result<PhoneGroupParticipantsBase>> getGroupParticipants({
required InputGroupCallBase call,
required List<InputPeerBase> ids,
required List<int> sources,
required String offset,
required int limit,
}) async {
// Preparing the request.
final request = PhoneGetGroupParticipants(
call: call,
ids: ids,
sources: sources,
offset: offset,
limit: limit,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<PhoneGroupParticipantsBase>();
}