Install
openclaw skills install lhq-feishu-send-file发送文件到飞书。当用户提到"发送文件到飞书"、"发送图片到飞书"、"飞书发文件"、"发送录音到飞书"等时使用。 支持图片、音频、文档等任意文件类型。
openclaw skills install lhq-feishu-send-file通过飞书发送文件(图片、音频、文档等)。
# 发送图片
message(action="send", channel="feishu", media="/absolute/path/to/image.png", target="ou_xxxxxxxx", caption="图片描述")
# 发送文件(HTML、PDF、音频等)
message(action="send", channel="feishu", media="/absolute/path/to/file.pdf", target="ou_xxxxxxxx", caption="文件描述")
action: 必须为 "send"channel: 必须为 "feishu"target: 接收者的 open_id(阿Sir的 open_id: ou_8c6cfb7fef764d06b74805e4fed56065)media: 文件绝对路径file_path: 文件路径(别名)path: 文件路径(别名)caption: 文件描述(可选)文件必须在 workspace 目录
/tmp/ 路径发送使用绝对路径
D:\Documents\openclaw\workspace\filenameC:\Users\用户名\.openclaw\workspace\filename使用 media、file_path 或 path 参数发送文件
message 参数发送文件!用户将无法收到!message(action="send", channel="feishu", media="D:\Documents\openclaw\workspace\screenshot.png", target="ou_8c6cfb7fef764d06b74805e4fed56065", caption="屏幕截图")
message(action="send", channel="feishu", media="D:\Documents\openclaw\workspace\recording.wav", target="ou_8c6cfb7fef764d06b74805e4fed56065", caption="录音文件")
message(action="send", channel="feishu", media="D:\Documents\openclaw\workspace\report.pdf", target="ou_8c6cfb7fef764d06b74805e4fed56065", caption="报告文档")
media、file_path 或 path 参数message 参数发送文件