← 返回
沟通协作

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...
通过zca-js直接在单条Zalo消息中发送多张图片或文件。当用户要求向Zalo联系人或群组发送多张照片/文件时使用。
tuanbi97
沟通协作 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 648
下载
💾 8
安装
1
版本
#latest

概述

zalo-multi-send

Send multiple attachments in one Zalo message via scripts/send.mjs.

Usage

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

FlagRequiredDescription
---------
--toZalo user ID or group ID (numeric string)
--filesComma-separated local paths or https:// URLs
--captionText message to send alongside the files
--groupAdd this flag if --to is a group ID
--profileCredential profile name (default: "default")

Examples

# 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-19 12:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,688
communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 114 📥 52,449
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,596