https://github.com/kaiyuanshe/wechat-robot/blob/76fbc127946339e2d399686492ccdb13609a089d/msg-parser.js#L19 I believe `await file.toFile(...)` will be better.
wechat-robot/msg-parser.js
Line 19 in 76fbc12
I believe
await file.toFile(...)will be better.