Chat Apps

Talk to PicoClaw through Telegram, Discord, QQ, DingTalk, LINE, Slack, or Feishu. Add the channel config to ~/.picoclaw/config.json under channels, then run picoclaw gateway.

Telegram (recommended)

  1. Open Telegram, search @BotFather, send /newbot, follow prompts, copy the token.
  2. Get your user ID from @userinfobot.
  3. Config: channels.telegram.enabled: true, token, allowFrom: ["YOUR_USER_ID"].
  4. Run picoclaw gateway.

Discord

  1. Go to Discord Developer Portal → Create application → Bot → Add Bot, copy token.
  2. Enable MESSAGE CONTENT INTENT (and optionally SERVER MEMBERS INTENT).
  3. Get your User ID: Settings → Advanced → Developer Mode → right-click avatar → Copy User ID.
  4. Config: channels.discord.enabled: true, token, allowFrom: ["YOUR_USER_ID"].
  5. OAuth2 → URL Generator: scopes bot, permissions Send Messages, Read Message History → invite bot.
  6. Run picoclaw gateway.

QQ

Go to QQ Open Platform, create an application, get AppID and AppSecret. Set channels.qq.enabled: true, app_id, app_secret, allow_from (empty = all users).

DingTalk

Go to DingTalk Open Platform, create internal app, copy Client ID and Client Secret. Set channels.dingtalk.enabled: true, client_id, client_secret, allow_from.

LINE

Create a Messaging API channel in LINE Developers Console, copy Channel Secret and Channel Access Token. Set channels.line (webhook_host, webhook_port, webhook_path). Use ngrok or similar for HTTPS webhook: ngrok http 18791, then set Webhook URL in LINE console to https://your-domain/webhook/line. Run picoclaw gateway.

Slack

Slack uses Socket Mode. Set channels.slack.enabled: true, bot_token (xoxb-...), app_token (xapp-...), allow_from.

Feishu

Set channels.feishu.enabled: true, app_id, app_secret, and optionally encrypt_key, verification_token, allow_from.