{"id":750,"date":"2026-03-21T23:08:58","date_gmt":"2026-03-21T15:08:58","guid":{"rendered":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/plugins-zalouser\/"},"modified":"2026-03-21T23:08:58","modified_gmt":"2026-03-21T15:08:58","slug":"plugins-zalouser","status":"publish","type":"post","link":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/plugins-zalouser\/","title":{"rendered":"Zalo Personal \u63d2\u4ef6"},"content":{"rendered":"<h1>Zalo Personal \u63d2\u4ef6<\/h1>\n<h1>Zalo Personal\uff08\u63d2\u4ef6\uff09<\/h1>\n<p>\u901a\u8fc7\u63d2\u4ef6\u4e3a OpenClaw \u63d0\u4f9b Zalo Personal \u652f\u6301\uff0c\u4f7f\u7528 <code>zca-cli<\/code> \u81ea\u52a8\u5316\u666e\u901a Zalo \u7528\u6237\u8d26\u6237\u3002<\/p>\n<blockquote>\n<p><strong>\u8b66\u544a\uff1a<\/strong> \u975e\u5b98\u65b9\u81ea\u52a8\u5316\u53ef\u80fd\u5bfc\u81f4\u8d26\u6237\u88ab\u6682\u505c\/\u5c01\u7981\u3002\u4f7f\u7528\u98ce\u9669\u81ea\u8d1f\u3002<\/p>\n<\/blockquote>\n<h2>\u547d\u540d<\/h2>\n<p>\u6e20\u9053 id \u662f <code>zalouser<\/code>\uff0c\u4ee5\u660e\u786e\u8868\u793a\u8fd9\u662f\u81ea\u52a8\u5316<strong>\u4e2a\u4eba Zalo \u7528\u6237\u8d26\u6237<\/strong>\uff08\u975e\u5b98\u65b9\uff09\u3002\u6211\u4eec\u4fdd\u7559 <code>zalo<\/code> \u7528\u4e8e\u6f5c\u5728\u7684\u672a\u6765\u5b98\u65b9 Zalo API \u96c6\u6210\u3002<\/p>\n<h2>\u8fd0\u884c\u4f4d\u7f6e<\/h2>\n<p>\u6b64\u63d2\u4ef6<strong>\u5728 Gateway \u7f51\u5173\u8fdb\u7a0b\u5185<\/strong>\u8fd0\u884c\u3002<\/p>\n<p>\u5982\u679c\u4f60\u4f7f\u7528\u8fdc\u7a0b Gateway \u7f51\u5173\uff0c\u8bf7\u5728<strong>\u8fd0\u884c Gateway \u7f51\u5173\u7684\u673a\u5668<\/strong>\u4e0a\u5b89\u88c5\/\u914d\u7f6e\u5b83\uff0c\u7136\u540e\u91cd\u542f Gateway \u7f51\u5173\u3002<\/p>\n<h2>\u5b89\u88c5<\/h2>\n<h3>\u9009\u9879 A\uff1a\u4ece npm \u5b89\u88c5<\/h3>\n<p>&#8220;`bash  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\nopenclaw plugins install @openclaw\/zalouser<\/p>\n<pre><code>\n\u4e4b\u540e\u91cd\u542f Gateway \u7f51\u5173\u3002\n\n### \u9009\u9879 B\uff1a\u4ece\u672c\u5730\u6587\u4ef6\u5939\u5b89\u88c5\uff08\u5f00\u53d1\uff09\n\n```bash  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\nopenclaw plugins install .\/extensions\/zalouser\ncd .\/extensions\/zalouser &amp;&amp; pnpm install\n<\/code><\/pre>\n<p>\u4e4b\u540e\u91cd\u542f Gateway \u7f51\u5173\u3002<\/p>\n<h2>\u524d\u7f6e\u6761\u4ef6\uff1azca-cli<\/h2>\n<p>Gateway \u7f51\u5173\u673a\u5668\u5fc5\u987b\u5728 <code>PATH<\/code> \u4e2d\u6709 <code>zca<\/code>\uff1a<\/p>\n<p>&#8220;`bash  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\nzca &#8211;version<\/p>\n<pre><code>\n## \u914d\u7f6e\n\n\u6e20\u9053\u914d\u7f6e\u4f4d\u4e8e `channels.zalouser` \u4e0b\uff08\u4e0d\u662f `plugins.entries.*`\uff09\uff1a\n\n```json5  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  channels: {\n    zalouser: {\n      enabled: true,\n      dmPolicy: &quot;pairing&quot;,\n    },\n  },\n}\n<\/code><\/pre>\n<h2>CLI<\/h2>\n<p><code>bash  theme={\"theme\":{\"light\":\"min-light\",\"dark\":\"min-dark\"}}<br \/>\nopenclaw channels login --channel zalouser<br \/>\nopenclaw channels logout --channel zalouser<br \/>\nopenclaw channels status --probe<br \/>\nopenclaw message send --channel zalouser --target &lt;threadId&gt; --message \"Hello from OpenClaw\"<br \/>\nopenclaw directory peers list --channel zalouser --query \"name\"<\/code><\/p>\n<h2>\u667a\u80fd\u4f53\u5de5\u5177<\/h2>\n<p>\u5de5\u5177\u540d\u79f0\uff1a<code>zalouser<\/code><\/p>\n<p>\u64cd\u4f5c\uff1a<code>send<\/code>\u3001<code>image<\/code>\u3001<code>link<\/code>\u3001<code>friends<\/code>\u3001<code>groups<\/code>\u3001<code>me<\/code>\u3001<code>status<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Zalo Personal \u63d2\u4ef6 Zalo Personal\uff08\u63d2\u4ef6\uff09 \u901a\u8fc7\u63d2\u4ef6\u4e3a OpenClaw \u63d0\u4f9b Za [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-750","post","type-post","status-publish","format-standard","hentry","category-docs"],"_links":{"self":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/750","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/comments?post=750"}],"version-history":[{"count":0,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/750\/revisions"}],"wp:attachment":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/media?parent=750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/categories?post=750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/tags?post=750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}