50
This commit is contained in:
parent
ab878a157a
commit
016ad1104b
2
td.go
2
td.go
@ -84,7 +84,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
|
||||
fmt.Printf("Exporting historic messages for chat %d from user %d ...\n", chat, *senderUserID64)
|
||||
|
||||
for lastParsedID64 >= 0 {
|
||||
msgs, err := c.GetChatHistory(chat, lastParsedID64, 0, 10, false)
|
||||
msgs, err := c.GetChatHistory(chat, lastParsedID64, 0, 50, false)
|
||||
if err != nil {
|
||||
if err.Error() == "timeout" {
|
||||
logOnError(err, "Waiting...")
|
||||
|
Loading…
Reference in New Issue
Block a user