From 115b67d225686349c53a6ff062f1f4ccd24abc66 Mon Sep 17 00:00:00 2001 From: penn5 Date: Thu, 5 Aug 2021 15:30:41 +0100 Subject: [PATCH] Document flood_sleep_threshold in __call__ --- telethon/client/telegrambaseclient.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/telethon/client/telegrambaseclient.py b/telethon/client/telegrambaseclient.py index ee40c796..ca62c71b 100644 --- a/telethon/client/telegrambaseclient.py +++ b/telethon/client/telegrambaseclient.py @@ -836,6 +836,10 @@ class TelegramBaseClient(abc.ABC): Whether the requests (if more than one was given) should be executed sequentially on the server. They run in arbitrary order by default. + flood_sleep_threshold (`int` | `None`, optional): + The flood sleep threshold to use for this request. This overrides + the default value stored in + `client.flood_sleep_threshold ` Returns: The result of the request (often a `TLObject`) or a list of