mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-14 23:17:30 +08:00
improve reply-tag parsing with current message fallback and outbound reply metadata
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user