Install
openclaw skills install openclaw-telegram-setupConfigure a Telegram Bot with OpenClaw in 10 minutes to enable free, worldwide AI messaging with command, group, and webhook support.
openclaw skills install openclaw-telegram-setup10 分钟配置 Telegram Bot 作为 OpenClaw 消息渠道。
@BotFather/newbot123456789:ABCdefGHI...)# 方法 1:用你的 Bot 发条消息,然后访问
https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates
# 方法 2:用 @userinfobot 获取你的 ID
编辑 ~/.openclaw/config.yaml:
plugins:
entries:
- plugin: openclaw-telegram
config:
botToken: "123456789:ABCdefGHI..."
allowedChatIds:
- 123456789 # 你的 Chat ID
openclaw gateway start
在 Telegram 向你的 Bot 发送消息,应该收到 AI 回复。
plugins:
entries:
- plugin: openclaw-telegram
config:
botToken: "xxx"
allowedChatIds:
- 123456789 # 个人
- -100123456789 # 群组(负数)
在 BotFather 设置命令:
/setcommands
help - 获取帮助
status - 检查状态
clear - 清除对话
plugins:
entries:
- plugin: openclaw-telegram
config:
botToken: "xxx"
webhook:
url: "https://your-domain.com/telegram/webhook"
port: 8443
A: 检查 Chat ID 是否正确(正数是个人,负数是群组)
A: 你可能之前屏蔽了 Bot,需要先解除屏蔽
A: 确保 Bot 在群组中,且有读取消息权限
Version: 1.0.0 Created: 2026-03-21