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...")