From 121ecf0ffc338ac6645b232474b0dcf666a8bbbd Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 11 May 2019 17:17:36 +0800 Subject: [PATCH] speed up --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index bafbc3e..0cc4e13 100644 --- a/td.go +++ b/td.go @@ -98,7 +98,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { for lastParsedID64 >= 0 { prevLastParsedID64 := lastParsedID64 - msgs, err := c.GetChatHistory(chat, lastParsedID64, 0, 33, false) + msgs, err := c.GetChatHistory(chat, lastParsedID64, 0, 99, false) if err != nil { if err.Error() == "timeout" { logOnError(err, "Waiting....")