mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 19:20:09 +03:00
Update telethon/client/telegrambaseclient.py
Co-Authored-By: Lonami <totufals@hotmail.com>
This commit is contained in:
parent
46adb3f5b6
commit
c96dda75bd
|
@ -118,7 +118,7 @@ class TelegramBaseClient(abc.ABC):
|
||||||
|
|
||||||
flood_sleep_threshold (`int` | `float`, optional):
|
flood_sleep_threshold (`int` | `float`, optional):
|
||||||
The threshold below which the library should automatically
|
The threshold below which the library should automatically
|
||||||
sleep on flood wait and slowmode wait errors (inclusive). For instance, if a
|
sleep on flood wait and slow mode wait errors (inclusive). For instance, if a
|
||||||
``FloodWaitError`` for 17s occurs and `flood_sleep_threshold`
|
``FloodWaitError`` for 17s occurs and `flood_sleep_threshold`
|
||||||
is 20s, the library will ``sleep`` automatically. If the error
|
is 20s, the library will ``sleep`` automatically. If the error
|
||||||
was for 21s, it would ``raise FloodWaitError`` instead. Values
|
was for 21s, it would ``raise FloodWaitError`` instead. Values
|
||||||
|
|
Loading…
Reference in New Issue
Block a user