Update README.md

This commit is contained in:
starry
2026-03-17 22:42:10 +08:00
committed by GitHub
parent 79d4392b53
commit da0586b5ca

View File

@@ -8,15 +8,11 @@
- 已开通 QQ 机器人并拿到 `app_id``client_secret`
- 开通地址https://q.qq.com/qqbot/openclaw/login.html
编辑 `configs/config.toml`
最小配置示例
```toml
[qqbot]
app_id = "你的AppID"
client_secret = "你的ClientSecret"
token_url = "https://bots.qq.com/app/getAppAccessToken"
api_base = "https://api.sgroup.qq.com"
request_timeout = "10s"
markdown = false
[server]
@@ -137,4 +133,4 @@ curl -X POST "http://127.0.0.1:8080/api/v1/messages/send" \
-H "Authorization: Bearer 接口鉴权token" \
-H "Content-Type: application/json; charset=utf-8" \
-d '{"content":"这是一条同步推送测试"}'
```
```