Skip to content

OneBot 12

字段名类型描述默认值
heartbeatnumber心跳间隔(s)3
access_tokenstring鉴权token-
request_timeoutnumber上报超时时间(s)15
reconnect_intervalnumber重连间隔(s)3
enable_corsboolean是否允许跨域true
use_httpboolean是否启用http_apitrue
enable_corsboolean是否允许跨域true
use_wsboolean是否启用ws服务true
webhookArray<string>webhook上报地址-
ws_reverseArray<string>ws反向连接地址-