mirror of
https://github.com/sky22333/qqbot.git
synced 2026-06-06 16:19:55 +08:00
Update README.md
This commit is contained in:
@@ -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":"这是一条同步推送测试"}'
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user