From 8be6756ef812a0ad3bb003f72add4f0c6a448820 Mon Sep 17 00:00:00 2001 From: Matteo Date: Sat, 27 Jan 2018 11:37:02 -0500 Subject: [PATCH] Update telegram_client.py --- telethon/telegram_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index 8d865ddf..c2a91de7 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -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).