Document flood_sleep_threshold in __call__

This commit is contained in:
penn5 2021-08-05 15:30:41 +01:00 committed by Hackintosh 5
parent ba309eeda0
commit 115b67d225

View File

@ -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 <telethon.client.telegrambaseclient.TelegramBaseClient.flood_sleep_threshold>`
Returns:
The result of the request (often a `TLObject`) or a list of