resolve conflicts
This commit is contained in:
parent
424c40e98b
commit
5b1f11aaf6
1 changed files with 6 additions and 1 deletions
|
|
@ -210,7 +210,12 @@ func (c *TelegramChannel) Send(ctx context.Context, msg bus.OutboundMessage) err
|
||||||
|
|
||||||
// sendHTMLChunk sends a single HTML message, falling back to the original
|
// sendHTMLChunk sends a single HTML message, falling back to the original
|
||||||
// markdown as plain text on parse failure so users never see raw HTML tags.
|
// markdown as plain text on parse failure so users never see raw HTML tags.
|
||||||
func (c *TelegramChannel) sendHTMLChunk(ctx context.Context, chatID int64, htmlContent, mdFallback, replyToID string) error { tgMsg := tu.Message(tu.ID(chatID), htmlContent)
|
func (c *TelegramChannel) sendHTMLChunk(
|
||||||
|
ctx context.Context,
|
||||||
|
chatID int64,
|
||||||
|
htmlContent, mdFallback, replyToID string,
|
||||||
|
) error {
|
||||||
|
tgMsg := tu.Message(tu.ID(chatID), htmlContent)
|
||||||
tgMsg.ParseMode = telego.ModeHTML
|
tgMsg.ParseMode = telego.ModeHTML
|
||||||
|
|
||||||
if replyToID != "" {
|
if replyToID != "" {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue