OpenClaw Tencent Cloud IM intelligent bot channel plugin via WebSocket SDK, version 2026.5.20. This plugin enables real-time chatbot functionality without requiring a public IP address, using WebSocket long connections instead of webhooks. It supports Multi-Agent mode via Worker threads and streaming messages with text_modify and custom_modify modes (but not TIMStreamElem). The package ships TypeScript types and is actively maintained by Tencent RTC. Key differentiators: zero-config deployment, private network support, and dm policies (open/allowlist/pairing/disabled).
npm install timbot-wsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs and configures timbot-ws with basic options including streaming mode and welcome text.
Use 'off', 'text_modify', or 'custom_modify' instead.
Migrate to accounts object with account-level config.
Generate a long-lived UserSig (e.g., 10 years) via Tencent Cloud console.
Set to 0 if responses are expected within the same second.
Use 'open' or 'allowlist' for simple bot-user interactions.
Run `openclaw plugins install timbot-ws` in your project root.
Switch to ES module syntax: import TimbotWs from 'timbot-ws';
Ensure sdkAppId is a positive integer (e.g., 123456789).
Generate a new UserSig with a longer validity (e.g., 315360000 seconds).