From 4f386157ac509874bdc1f04133540ae1da0c2d54 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 4 May 2019 18:26:53 +0800 Subject: [PATCH] test --- td.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/td.go b/td.go index 3160256..d05691d 100644 --- a/td.go +++ b/td.go @@ -105,10 +105,11 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { ChatID64: msg.ChatID, Text: msg.Content.(*tdlib.MessageText).Text.Text, } + fmt.Printf("straight msg id : %d\n", m.ID64) } else { fmt.Println("msg.ForwardInfo : ", msg.ForwardInfo.GetMessageForwardInfoEnum()) if msg.ForwardInfo.GetMessageForwardInfoEnum() == tdlib.MessageForwardedFromUserType { - fmt.Println("id") + fmt.Println("id : ") m = ChatWarsMessage{ SenderUserID64: int64(msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).SenderUserID), Date: msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).Date,