From 12a28dd6e4a2043c0251d0c52cc237e4f9f71878 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 4 May 2019 17:58:35 +0800 Subject: [PATCH] ptr --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index b114296..0ff0488 100644 --- a/td.go +++ b/td.go @@ -67,7 +67,7 @@ func ListenCW(c *tdlib.Client) { } } -func getHistory(c *tdlib.Client, chatID64 int64, senderUserID64 int64) { +func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { var lastMsgID64 int64 = int64(math.MaxInt64) var msgCount int32 = 0 var lastMsgTime time.Time = time.Now()