Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt

Use this file to discover all available pages before exploring further.

รองรับ Zalo Personal สำหรับ OpenClaw ผ่าน Plugin โดยใช้ zca-js แบบเนทีฟเพื่อทำงานอัตโนมัติกับบัญชีผู้ใช้ Zalo ปกติ
การทำงานอัตโนมัติที่ไม่เป็นทางการอาจนำไปสู่การระงับหรือแบนบัญชี ใช้งานโดยรับความเสี่ยงเอง

การตั้งชื่อ

รหัสช่องทางคือ zalouser เพื่อระบุให้ชัดเจนว่าสิ่งนี้ทำงานอัตโนมัติกับบัญชีผู้ใช้ Zalo ส่วนบุคคล (ไม่เป็นทางการ) เราสงวน zalo ไว้สำหรับการผสานรวม Zalo API อย่างเป็นทางการที่อาจมีในอนาคต

ตำแหน่งที่ทำงาน

Plugin นี้ทำงานภายในโปรเซส Gateway หากคุณใช้ Gateway ระยะไกล ให้ติดตั้ง/กำหนดค่าบนเครื่องที่รัน Gateway แล้วรีสตาร์ท Gateway ไม่จำเป็นต้องมีไบนารี CLI ภายนอก zca/openzca

ติดตั้ง

ตัวเลือก A: ติดตั้งจาก npm

openclaw plugins install @openclaw/zalouser
ใช้แพ็กเกจแบบไม่ระบุเวอร์ชันเพื่อติดตามแท็กรุ่นทางการปัจจุบัน ปักหมุดเวอร์ชันที่แน่นอน เฉพาะเมื่อคุณต้องการการติดตั้งที่ทำซ้ำได้เท่านั้น รีสตาร์ท Gateway หลังจากนั้น

ตัวเลือก B: ติดตั้งจากโฟลเดอร์ภายในเครื่อง (สำหรับพัฒนา)

PLUGIN_SRC=./path/to/local/zalouser-plugin
openclaw plugins install "$PLUGIN_SRC"
cd "$PLUGIN_SRC" && pnpm install
รีสตาร์ท Gateway หลังจากนั้น

การกำหนดค่า

การกำหนดค่าช่องทางอยู่ภายใต้ channels.zalouser (ไม่ใช่ plugins.entries.*):
{
  channels: {
    zalouser: {
      enabled: true,
      dmPolicy: "pairing",
    },
  },
}

CLI

openclaw channels login --channel zalouser
openclaw channels logout --channel zalouser
openclaw channels status --probe
openclaw message send --channel zalouser --target <threadId> --message "Hello from OpenClaw"
openclaw directory peers list --channel zalouser --query "name"

เครื่องมือ Agent

ชื่อเครื่องมือ: zalouser การกระทำ: send, image, link, friends, groups, me, status การกระทำข้อความช่องทางยังรองรับ react สำหรับการแสดงปฏิกิริยาต่อข้อความด้วย

ที่เกี่ยวข้อง