From c33c3ba90fcdc27e3a525a032779c9dacfbd0d10 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 4 May 2019 18:47:23 +0800 Subject: [PATCH] debug --- td.go | 1 + 1 file changed, 1 insertion(+) diff --git a/td.go b/td.go index 856a2f7..4a7cb5f 100644 --- a/td.go +++ b/td.go @@ -100,6 +100,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { lastParsedTime = time.Unix(int64(msg.Date), 0) switch msg.Content.GetMessageContentEnum() { case tdlib.MessageTextType: + fmt.Printf("message : %s.\n", msg.Content.(*tdlib.MessageText).Text.Text) if msg.ForwardInfo == nil { m = ChatWarsMessage{ SenderUserID64: int64(msg.SenderUserID),