decrease even more
This commit is contained in:
parent
a0d816e60e
commit
f2bac0aef4
2
td.go
2
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...")
|
||||
|
Loading…
Reference in New Issue
Block a user