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()