From 73bce99ee43f86e8e9352e0c62a20912d271690d Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 4 May 2019 18:10:52 +0800 Subject: [PATCH] debug --- td.go | 1 + 1 file changed, 1 insertion(+) diff --git a/td.go b/td.go index 69354da..ce5ca30 100644 --- a/td.go +++ b/td.go @@ -93,6 +93,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { lastMsgID64 = -1 } } else if msgs.TotalCount > 0 { + fmt.Printf("Exported %d messages so far.\n", msgCount) for _, msg := range msgs.Messages { switch msg.Content.GetMessageContentEnum() { case tdlib.MessageTextType: