uploadLogs method

Future<NIMResult<String>> uploadLogs(
  1. {String? chatroomId,
  2. String? comment,
  3. bool partial = true}
)

打包日志文件并上传,返回日志文件的 url 地址

chatroomId 聊天室ID 如果没有传空
comment 日志评论, 可选, 最长4096字符
partial true:上传部分/ false: 上传全部。 Android可用

Implementation

Future<NIMResult<String>> uploadLogs({
  String? chatroomId,
  String? comment,
  bool partial = true,
}) {
  return _platform.uploadLogs(
      chatroomId: chatroomId, comment: comment, partial: partial);
}