Skip to content

OneBot 11

字段名类型描述默认值
heartbeatnumber心跳间隔(s)3
access_tokenstring鉴权token-
post_timeoutnumber上报超时时间(s)15
secretstring上报数据sha秘钥-
rate_limit_intervalnumberws心跳间隔(s)4
post_message_formatstring消息上报格式string
reconnect_intervalnumber重连间隔(s)3
use_httpboolean是否启用http_apitrue
enable_corsboolean是否允许跨域true
use_wsboolean是否启用ws服务true
http_reverseArray<string>webhook上报地址-
ws_reverseArray<string>ws反向连接地址-