Skip to content

Bug: Satori的message.create接口参数更新了新的字段,会导致在发送消息时报错额外字段,希望跟进更新。 #89

@AuraElicase

Description

@AuraElicase

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版本更新。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions