diff --git a/telegram/internal/upconv/upconv.go b/telegram/internal/upconv/upconv.go index 2f6ce50fd3..de530c3d83 100644 --- a/telegram/internal/upconv/upconv.go +++ b/telegram/internal/upconv/upconv.go @@ -22,6 +22,13 @@ func convertOptional(msg *tg.Message, i tg.UpdatesClass) { msg.SetReplyTo(&v) } } + if u, ok := i.(interface { + GetReplyTo() (tg.MessageReplyHeaderClass, bool) + }); ok { + if v, ok := u.GetReplyTo(); ok { + msg.SetReplyTo(v) + } + } if u, ok := i.(interface { GetEntities() ([]tg.MessageEntityClass, bool) }); ok {