fix: 使用node上报合并转发

This commit is contained in:
lixiangwuxian
2025-04-10 00:04:53 +08:00
parent ec92baf5bc
commit cd92d05a18
3 changed files with 10 additions and 13 deletions

View File

@@ -13,8 +13,8 @@ type ForwardMessage struct {
}
type ForwardMessageData struct {
ID string `json:"id"` // 转发消息ID
Content []interface{} `json:"content,omitempty"` // 转发消息内容
ID string `json:"id"` // 转发消息ID
Content []any `json:"content,omitempty"` // 转发消息内容
}
// NodeMessage 转发消息节点
@@ -24,10 +24,10 @@ type NodeMessage struct {
}
type NodeMessageData struct {
ID string `json:"id,omitempty"` // 转发消息ID
UserID string `json:"user_id,omitempty"` // 发送者QQ号
Nickname string `json:"nickname,omitempty"` // 发送者昵称
Content []interface{} `json:"content,omitempty"` // 消息内容
ID string `json:"id,omitempty"` // 转发消息ID
UserID string `json:"user_id,omitempty"` // 发送者QQ号
Nickname string `json:"nickname,omitempty"` // 发送者昵称
Content []any `json:"content,omitempty"` // 消息内容
}
func init() {