Update telegram_client.py

This commit is contained in:
Matteo 2018-01-27 11:37:02 -05:00 committed by GitHub
parent fd2a12d43b
commit 8be6756ef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -704,7 +704,7 @@ class TelegramClient(TelegramBareClient):
Telegram limit for "getHistory" requests seems to be 3000 messages
within 30 seconds. Therefore, please adjust "batch_size" and
"wait_time" parameters accordingly to avoid incurring into a
"FloowWaitError". For example, if you plan to retrieve more than 3000
"FloodWaitError". For example, if you plan to retrieve more than 3000
messages (i.e. limit=3000 or None) in batches of 100 messages
(i.e. batch_size=100) please make sure to select a wait time of at
least one second (i.e. wait_time=1).