diff --git a/td.go b/td.go index 0dbb436..b91eaf1 100644 --- a/td.go +++ b/td.go @@ -231,7 +231,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) { switch m.Type { case commandForwardMsg: msgIDs := make([]int64, 1) - msgIDs[0] = msgID + msgIDs[0] = m.FromMsgID64 c.ForwardMessages(m.ToChatID64, m.FromChatID64, msgIDs, false, false, false) case commandSendMsg: