This commit is contained in:
shoopea 2019-05-04 18:55:19 +08:00
parent d7d0c5280f
commit ab878a157a

2
td.go
View File

@ -135,7 +135,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
lastParsedTime = time.Unix(int64(m.Date), 0) lastParsedTime = time.Unix(int64(m.Date), 0)
} }
if msgParsed%1000 == 0 { if msgParsed%1000 == 0 {
fmt.Printf("Waiting : %d messages retrieved from %s ...\n", msgParsed, lastParsedTime.Format(time.RFC3339)) fmt.Printf("Waiting : %d messages retrieved out of %d dating back %s ...\n", msgCount, msgParsed, lastParsedTime.Format(time.RFC3339))
} }
} }