downloadMergerMessage method

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

Implementation

@override
Future<List<V2TimMessage>?> downloadMergerMessage({
  required String msgID,
}) async {
  final res = await TencentImSDKPlugin.v2TIMManager
      .getMessageManager()
      .downloadMergerMessage(msgID: msgID);
  if (res.code == 0) {
    return res.data;
  }
  _coreService.callOnCallback(TIMCallback(
      type: TIMCallbackType.API_ERROR,
      errorMsg: res.desc,
      errorCode: res.code));
  return null;
}