mirror of
https://github.com/hanzoai/bot.git
synced 2026-11-02 20:15:14 +00:00
Restore all 2,142 shared TypeScript source files from the properly rebranded rebrand-bridge-20260303 branch to achieve a consistent API surface. Re-add marketplace P2P integration points to 5 shared gateway files. Apply oxfmt formatting. Preserve 159 main-only files including marketplace, skills, and new extensions. Co-authored-by: Hanzo Dev <[email protected]>
@bot/zalo
Zalo channel plugin for Hanzo Bot (Bot API).
Install (local checkout)
hanzo-bot plugins install ./extensions/zalo
Install (npm)
hanzo-bot plugins install @bot/zalo
Onboarding: select Zalo and confirm the install prompt to fetch the plugin automatically.
Config
{
channels: {
zalo: {
enabled: true,
botToken: "12345689:abc-xyz",
dmPolicy: "pairing",
proxy: "http://proxy.local:8080",
},
},
}
Webhook mode
{
channels: {
zalo: {
webhookUrl: "https://example.com/zalo-webhook",
webhookSecret: "your-secret-8-plus-chars",
webhookPath: "/zalo-webhook",
},
},
}
If webhookPath is omitted, the plugin uses the webhook URL path.
Restart the gateway after config changes.