getContactIDs method

Future<Result<Vector<int>>> getContactIDs({
  1. required int hash,
})

Get Contact I Ds.

ID: 7adc669d.

Implementation

Future<Result<Vector<int>>> getContactIDs({required int hash}) async {
  // Preparing the request.
  final request = ContactsGetContactIDs(hash: hash);

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

  // Return the result.
  return response._toVector<int>();
}