POST /message.create接口中,Chronocat的默认application/json实现为:
{
"channel_id": "string",
"content": "string"
}
然而,使用最新的koishi satori-adapter 1.5.1中,koishi的message.create发送包体为:
{
"channel_id":"string",
"content":"string",
"referrer":"string"
}
这会导致koishi向chronocat发送消息时无法成功发送,chronocat控制台报错[E][CH0400] 解析 message.create 请求时出现问题,来自 127.0.0.1。 问题 1:#/additionalProperties:不允许有额外的属性
希望能跟进satori版本更新。