From 17571f714442b56b0e52a7c7110a916f5df8f9c8 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 4 May 2019 18:12:37 +0800 Subject: [PATCH] debug --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index 8104699..7613148 100644 --- a/td.go +++ b/td.go @@ -97,7 +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)) + fmt.Printf("msg.ForwardInfo : %s.\n", string(msg.Content.GetMessageContentEnum())) if msg.ForwardInfo == nil { m = ChatWarsMessage{ SenderUserID64: int64(msg.SenderUserID),