修复:集成聊天图片预览与真实尺寸发送

This commit is contained in:
Christ committed 2026-08-18 15:08:37 +08:00
1 parent 9eb6be2875
commit ee228381cf
36 files changed
+331 -83

No files matched your search

+1 -1
View File
@@ -413,7 +413,7 @@ func (e *automationActionExecutor) sendImage(ctx context.Context, task Task, ima
if !senderOK {
return fmt.Errorf("%w: 账号未在线,无法发送自动化图片", ErrMessageNotSent)
}
return sender.SendImage(ctx, task.ChatID, task.BuyerID, imageURL, cardID)
return sender.SendImage(ctx, task.ChatID, task.BuyerID, imageURL, cardID, 0, 0)
}
// cardContent 读取卡密组内容并拒绝不支持的卡密类型。