This commit is contained in:
shoopea 2019-05-07 10:29:01 +08:00
parent 09d786087e
commit ed938b2f4b

2
td.go
View File

@ -95,7 +95,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
}
for lastParsedID64 >= 0 {
msgs, err := c.GetChatHistory(chat, lastParsedID64, 0, 99, false)
msgs, err := c.GetChatHistory(chat, lastParsedID64, 0, 33, false)
if err != nil {
if err.Error() == "timeout" {
logOnError(err, "Waiting...")