From f2bac0aef4d5a058bbee78c6950d81a93ce22664 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 3 May 2019 19:52:07 +0800 Subject: [PATCH] decrease even more --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index e1a55a5..b6d0f50 100644 --- a/td.go +++ b/td.go @@ -135,7 +135,7 @@ func getHistory(c *tdlib.Client) { } for lastMsgID64 >= 0 { - msgs, err := c.GetChatHistory(user_chtwrsbot, lastMsgID64, 0, 20, false) + msgs, err := c.GetChatHistory(user_chtwrsbot, lastMsgID64, 0, 10, false) if err != nil { if err.Error() == "timeout" { logOnError(err, "Waiting...")