From 046d47bc52770fc84b85026b9818774db77ba289 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 4 May 2019 18:30:28 +0800 Subject: [PATCH] test --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index d143fec..b895a99 100644 --- a/td.go +++ b/td.go @@ -108,7 +108,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { fmt.Printf("straight msg id : %d\n", m.ID64) } else { if msg.ForwardInfo.GetMessageForwardInfoEnum() == tdlib.MessageForwardedFromUserType { - fmt.Printf("forwarded msg id : %d\n", msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).ForwardedFromMessageID) + fmt.Printf("forwarded msg date : %d\n", msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).Date) m = ChatWarsMessage{ SenderUserID64: int64(msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).SenderUserID), Date: msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).Date,