diff --git a/td.go b/td.go index 632752d..1867993 100644 --- a/td.go +++ b/td.go @@ -110,7 +110,7 @@ func ListenCW(c *tdlib.Client) { func getHistory(c *tdlib.Client) { var lastMsgID64 int64 = int64(math.MaxInt64) var msgCount int32 = 0 - var lastMsgTime Time = time.Now() + var lastMsgTime time.Time = time.Now() fmt.Printf("Retrieving chat.\n")