uploadGroupSharedFile method

Future<bool?> uploadGroupSharedFile(
  1. String groupId,
  2. String filePath
)

上传群共享文件

Implementation

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