decrease even more

This commit is contained in:
shoopea 2019-05-03 19:52:07 +08:00
parent a0d816e60e
commit f2bac0aef4

2
td.go
View File

@ -135,7 +135,7 @@ func getHistory(c *tdlib.Client) {
} }
for lastMsgID64 >= 0 { 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 != nil {
if err.Error() == "timeout" { if err.Error() == "timeout" {
logOnError(err, "Waiting...") logOnError(err, "Waiting...")