improve reply-tag parsing with current message fallback and outbound reply metadata

This commit is contained in:
DBT
2026-02-23 17:13:29 +00:00
parent 9f802b2dcf
commit 583a0667ca
2 changed files with 5 additions and 2 deletions

View File

@@ -289,6 +289,7 @@ func (c *TelegramChannel) Send(ctx context.Context, msg bus.OutboundMessage) err
if markup != nil {
sendParams.WithReplyMarkup(markup)
}
_ = strings.TrimSpace(msg.ReplyToID) // reserved for provider-level reply threading support
sendCtx, cancelSend := withTelegramAPITimeout(ctx)
_, err = c.bot.SendMessage(sendCtx, sendParams)