downloadGroupSharedFile method

Future<bool?> downloadGroupSharedFile(
  1. String groupId,
  2. String fileId,
  3. String savePath
)

下载群共享文件

Implementation

Future<bool?> downloadGroupSharedFile(
  String groupId,
  String fileId,
  String savePath,
) async {
  Map req = {'groupId': groupId, 'fileId': fileId, 'savePath': savePath};
  Map result =
      await _channel.invokeMethod(EMSDKMethod.downloadGroupSharedFile, req);
  EMError.hasErrorFromResult(result);
  return result.boolValue(EMSDKMethod.downloadGroupSharedFile);
}