返回顶部
z

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
安全检测
已通过
207
下载量
0
收藏
概述
安装方式
版本历史

zalo-multi-send

# zalo-multi-send Send multiple attachments in one Zalo message via `scripts/send.mjs`. ## Usage ```bash node <skill-dir>/scripts/send.mjs \ --to <userId_or_groupId> \ --files "<path_or_url_1>,<path_or_url_2>,..." \ [--caption "optional text"] \ [--group] \ [--profile default] ``` ## Parameters | Flag | Required | Description | |---|---|---| | `--to` | ✅ | Zalo user ID or group ID (numeric string) | | `--files` | ✅ | Comma-separated local paths or https:// URLs | | `--caption` | ❌ | Text message to send alongside the files | | `--group` | ❌ | Add this flag if `--to` is a group ID | | `--profile` | ❌ | Credential profile name (default: `"default"`) | ## Examples ```bash # Send 2 local screenshots to a user node scripts/send.mjs \ --to 3484584962870495768 \ --files "/home/tuan/Pictures/Screenshots/shot1.png,/home/tuan/Pictures/Screenshots/shot2.png" # Send images from URLs with a caption node scripts/send.mjs \ --to 3484584962870495768 \ --files "https://files.catbox.moe/abc.png,https://files.catbox.moe/def.png" \ --caption "Đây nhé!" # Send to a group node scripts/send.mjs \ --to 1234567890 \ --group \ --files "photo1.jpg,photo2.jpg" ``` ## Notes - Credentials are read from `~/.openclaw/credentials/zalouser/credentials.json` (managed by openclaw, no re-auth needed) - ZCA_PATH is hardcoded to the openclaw-bundled zca-js. If openclaw is updated/reinstalled, the path may need updating in `scripts/send.mjs` - Local files must be readable by the current user - Zalo may have undocumented limits on number of attachments per message (tested up to ~10 without issues) - Exit 0 = success, exit 1 = error

标签

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

下载 Zip 包

⬇ 下载 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

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部