本 skill 需要读取飞书应用凭据来进行 API 认证:
~/.openclaw/openclaw.jsonappId, appSecretbash
# 发送图片
feishu_send_message --msg-type image --file-path /path/to/image.jpg --receive-id ou_xxx --receive-id-type open_id
# 发送文件
feishu_send_message --msg-type file --file-path /path/to/file.pdf --receive-id ou_xxx --receive-id-type open_id
参数说明必填适用类型--msg-type消息类型: image 或 file是全部--file-path文件路径(图片或文件)是全部--receive-id接收者 ID(用户 open_id 或群 chat_id)是全部--receive-id-type接收者类型: open_id(用户)或 chat_id(群聊)否,默认 open_id全部
bash
feishu_send_message \
--msg-type image \
--file-path /tmp/photo.jpg \
--receive-id ou_xxxxxxxxxxxxxxxxxx \
--receive-id-type open_id
bash
feishu_send_message \
--msg-type file \
--file-path /tmp/document.pdf \
--receive-id oc_xxx \
--receive-id-type chat_id
类型说明限制image图片消息大小不超过 10MB,分辨率不超过 12000×12000file文件消息大小不超过 100MB