fix: change message sending from text to markdown format in WeComAppChannel

This commit is contained in:
Zhang Rui 2026-02-23 14:18:14 +08:00
parent 4cc8b90da9
commit 0b3d779c75

View file

@ -223,7 +223,7 @@ func (c *WeComAppChannel) Send(ctx context.Context, msg bus.OutboundMessage) err
"preview": utils.Truncate(msg.Content, 100),
})
return c.sendTextMessage(ctx, accessToken, msg.ChatID, msg.Content)
return c.sendMarkdownMessage(ctx, accessToken, msg.ChatID, msg.Content)
}
// handleWebhook handles incoming webhook requests from WeCom