Closed ifuner closed 1 month ago
const result = await client.im.file.create({
data: {
file_type: 'stream',
file: fs.readFileSync(path.join(process.cwd(), 'package.json')),
file_name: 'package.json ',
}
});
Duplicate of: https://github.com/larksuite/node-sdk/issues/39