fix: change message sending from text to markdown format in WeComAppChannel
This commit is contained in:
parent
4cc8b90da9
commit
0b3d779c75
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue