queryMessageReceiptsInfo method

Future<Map> queryMessageReceiptsInfo(
  1. dynamic messageList,
  2. String conversationID,
  3. dynamic conversationType
)

Implementation

Future<Map<dynamic, dynamic>> queryMessageReceiptsInfo(dynamic messageList,
    String conversationID, dynamic conversationType) async {
  final result = await promiseToFuture(ZIM
          .getInstance()!
          .queryMessageReceiptsInfo(
              messageList, conversationID, conversationType))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}