From 268f5de92b065ff718208acbcd9e5d98d8a24110 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 4 May 2019 18:12:02 +0800 Subject: [PATCH] debug --- td.go | 1 + 1 file changed, 1 insertion(+) diff --git a/td.go b/td.go index ce5ca30..8104699 100644 --- a/td.go +++ b/td.go @@ -97,6 +97,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { for _, msg := range msgs.Messages { switch msg.Content.GetMessageContentEnum() { case tdlib.MessageTextType: + fmt.Printf("msg.ForwardInfo : %s.\n", string(msg.ForwardInfo)) if msg.ForwardInfo == nil { m = ChatWarsMessage{ SenderUserID64: int64(msg.SenderUserID),