# mirai-api-http(QQ)
启用
http和webhook启用
enableVerify,并设置VerifyKey将webhook地址设置为
http://<机器人IP/URL地址>:<指定的机器人运行端口>/<指定的机器人密钥>
例子:
http://127.0.0.1:8000/32eeAme5lwEG0KL
setting.yml模板
仅供参考
adapters:
- http
- webhook
enableVerify: true
verifyKey: 5eadce46qw58
debug: false
singleMode: false
cacheSize: 4096
adapterSettings:
http:
host: 0.0.0.0
port: 8888
cors: [*]
webhook:
destinations:
- 'http://127.0.0.1:8000/'
← config.yml模板 Telegram →