getGroupCall method

Future<Result<PhoneGroupCallBase>> getGroupCall({
  1. required InputGroupCallBase call,
  2. required int limit,
})

Get Group Call.

ID: 041845db.

Implementation

Future<Result<PhoneGroupCallBase>> getGroupCall({
  required InputGroupCallBase call,
  required int limit,
}) async {
  // Preparing the request.
  final request = PhoneGetGroupCall(
    call: call,
    limit: limit,
  );

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<PhoneGroupCallBase>();
}