闲社服务运行正常AI智能体自动化平台
z

Zalo批量发送

技能标识:zalo-multi-send

Send multiple images or files in a single Zalo message using zca-js directly. Use when the user asks to send multiple photos/files to a Zalo contact or group at once, or when openclaw's built-in single-media send is not enough. Supports local file paths and URLs. Requires Zalo credentials already set up via openclaw zalouser channel.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Zalo批量发送

zalo-multi-send

通过 scripts/send.mjs 在一条 Zalo 消息中发送多个附件。

使用方法

bash
node <技能目录>/scripts/send.mjs \
--to <用户ID或群组ID> \
--files <路径或URL1>,<路径或URL2>,... \
[--caption 可选文本] \
[--group] \
[--profile default]

参数

标志必需描述
--to✅Zalo 用户 ID 或群组 ID(数字字符串)
--files
✅ | 逗号分隔的本地路径或 https:// 链接 | | --caption | ❌ | 随附件一起发送的文本消息 | | --group | ❌ | 如果 --to 是群组 ID,请添加此标志 | | --profile | ❌ | 凭证配置文件名称(默认值:default) |

示例

bash

向用户发送 2 张本地截图


node scripts/send.mjs \
--to 3484584962870495768 \
--files /home/tuan/Pictures/Screenshots/shot1.png,/home/tuan/Pictures/Screenshots/shot2.png

从 URL 发送带说明的图片

node scripts/send.mjs \ --to 3484584962870495768 \ --files https://files.catbox.moe/abc.png,https://files.catbox.moe/def.png \ --caption Đây nhé!

发送到群组

node scripts/send.mjs \ --to 1234567890 \ --group \ --files photo1.jpg,photo2.jpg

注意事项

  • - 凭证从 ~/.openclaw/credentials/zalouser/credentials.json 读取(由 openclaw 管理,无需重新认证)
  • ZCA_PATH 硬编码为 openclaw 捆绑的 zca-js。如果 openclaw 更新或重新安装,可能需要在 scripts/send.mjs 中更新路径
  • 本地文件必须对当前用户可读
  • Zalo 可能对每条消息的附件数量有未记录的限���(测试过约 10 个附件无问题)
  • 退出码 0 = 成功,退出码 1 = 错误

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 zalo-multi-send-1776123310 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 zalo-multi-send-1776123310 技能

通过命令行安装

skillhub install zalo-multi-send-1776123310

下载

⬇ 下载 zalo-multi-send v1.0.0(免费)

文件大小: 3.48 KB | 发布时间: 2026-4-15 15:11

v1.0.0 最新 2026-4-15 15:11
Initial release: send multiple images/files in a single Zalo message using zca-js
返回顶部