OneBot v11 MVP channel plugin.
- inbound via HTTP webhook or WebSocket
- outbound text messages via OneBot HTTP API or active WebSocket session
- private chat + group chat
- multiple accounts
- optional
x-signatureverification (sha1=)
- media/file upload
- reactions
- recall/delete
- rich CQ code round-trip
- reverse websocket mode
- full onboarding UI polish
{
"plugins": {
"load": {
"paths": ["/home/xeu/.openclaw/workspace/onebot-plugin"]
},
"entries": {
"onebot": { "enabled": true }
}
},
"channels": {
"onebot": {
"enabled": true,
"accounts": {
"default": {
"enabled": true,
"name": "NapCat",
"selfId": "123456789",
"apiBaseUrl": "http://127.0.0.1:3000",
"wsUrl": "ws://127.0.0.1:6700",
"accessToken": "your-onebot-token",
"webhookPath": "/onebot/default",
"webhookSecret": "your-webhook-secret"
}
}
}
}
}Send targets:
- private chat:
private:123456 - group chat:
group:123456 - plain number defaults to private chat:
123456
You can use either:
- HTTP webhook events -> OpenClaw webhook path
- WebSocket client mode -> let OpenClaw connect to
wsUrl
For HTTP events, configure your OneBot implementation to POST events to:
http://<openclaw-host>:<gateway-port>/onebot/default
If webhook signing is enabled, send header:
x-signature: sha1=<hex-hmac>
Where HMAC payload is the raw request body and key is webhookSecret.