queryGroupMessageReceiptReadMemberList method

Future<Map> queryGroupMessageReceiptReadMemberList(
  1. dynamic message,
  2. String groupID,
  3. dynamic config
)

Implementation

Future<Map<dynamic, dynamic>> queryGroupMessageReceiptReadMemberList(
    dynamic message, String groupID, dynamic config) async {
  final _message = mapToJSObj(message);
  final _config = mapToJSObj(config);

  final result = await promiseToFuture(ZIM
          .getInstance()!
          .queryGroupMessageReceiptReadMemberList(_message, groupID, _config))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}