From 9bc8235cb2ff9d8742d0c6bbcb5717de4740aba9 Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 27 Aug 2019 11:34:14 +0800 Subject: [PATCH] fix forward msg --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: