diff --git a/td.go b/td.go index cfce282..e1a55a5 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, 50, false) + msgs, err := c.GetChatHistory(user_chtwrsbot, lastMsgID64, 0, 20, false) if err != nil { if err.Error() == "timeout" { logOnError(err, "Waiting...")