Skip to content

Channels & Bots

DotCraft can answer from the chat tools your team already uses: QQ, WeCom, Feishu / Lark, Telegram, and WeChat.

DotCraft Channels configuration and conversations

Connect a channel

  1. Open a workspace in DotCraft Desktop.
  2. Open Channels.
  3. Select the platform you want to connect.
  4. Fill in the platform credentials shown on the form.
  5. Finish the matching setup in the platform console or bot tool.
  6. Turn the channel on.
  7. Send a test message to the bot.

Desktop manages the bundled TypeScript channel process for you. Use the standalone adapter path only when you want to run the adapter yourself.

Built-in channels

PlatformConnectionMain capabilitiesSetup
QQNapCat or OneBot v11 reverse WebSocketPrivate chats, groups, approval keywords, media deliveryQQ setup
WeComGroup bot callback URL, Token, EncodingAESKeyEnterprise group chats, approvals, file and image deliveryWeCom setup
Feishu / LarkSelf-built app with Bot and WebSocket event subscriptionCard replies, approvals, reactions, optional docx/wiki toolsFeishu setup
TelegramBotFather token and long pollingDirect chats, groups, /new, /help, inline approvalsTelegram setup
WeChat / WeixinTencent iLink QR loginWeixin chats, saved login session, plain-text replies, file and image deliveryWeixin setup
Telegram (Python)Python standalone adapterReference adapter for custom Python channel workPython Telegram setup

How channel conversations work

DotCraft channel adapter topology

  • Messages sent to a connected bot become DotCraft conversation turns.
  • Replies are delivered back to the same chat automatically.
  • Approval and user-input requests appear in the chat when the platform supports them.
  • /new starts a fresh conversation in channels that support slash commands.
  • Desktop can stay open on the same workspace to inspect history or continue the conversation.

For the underlying model, see Unified Session Core.

Hand off a conversation

DotCraft channel handoff

Bind an existing Desktop conversation to a connected social channel from the conversation's Apps menu. DotCraft shows a /bind 123456 command; send that command in the target chat to continue the same conversation there.

The binding applies only to that chat. Other chats keep their normal channel conversation.

Security checklist

Before exposing a bot to a group or public chat:

  • Keep file and shell actions behind approval.
  • Limit the channel to trusted users, groups, or chats when the platform supports it.
  • Use a strong AppServer WebSocket token for standalone adapters.
  • Run production deployments behind HTTPS when the platform calls back to DotCraft.
  • Use OpenSandbox for stronger tool isolation when needed.

Full checklist and exact fields: Security & Sandbox and Configuration Reference.

Build a custom channel

Use the built-in channels first when they cover your platform. For a new platform or custom deployment: