downloadMergerMessage method

  1. @override
Future<V2TimValueCallback<List<V2TimMessage>>> downloadMergerMessage({
  1. required String msgID,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimMessage>>> downloadMergerMessage({
  required String msgID,
}) async {
  Map<String, dynamic> param = {
    "msgID": msgID,
  };
  var resp = V2TimValueCallback<List<V2TimMessage>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        'downloadMergerMessage',
        buildMessageMangerParam(
          param,
        ),
      ),
    ),
  );
  log("downloadMergerMessage", param, resp.toLogString());
  return resp;
}