From 6514da87c65e6e74e58ebaf12c531214b4592098 Mon Sep 17 00:00:00 2001 From: Stefan Staudinger Date: Wed, 7 Oct 2020 09:54:38 +0200 Subject: [PATCH] add docstring for local_addr --- telethon/client/telegrambaseclient.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/telethon/client/telegrambaseclient.py b/telethon/client/telegrambaseclient.py index 12e26db3..43aae812 100644 --- a/telethon/client/telegrambaseclient.py +++ b/telethon/client/telegrambaseclient.py @@ -110,6 +110,11 @@ class TelegramBaseClient(abc.ABC): function parameters for PySocks, like ``(type, 'hostname', port)``. See https://github.com/Anorov/PySocks#usage-1 for more. + local_addr (`str`, optional): + Local host address used to bind the socket to locally. + You only need to use this if you have multiple network cards and + want to use a specific one. + timeout (`int` | `float`, optional): The timeout in seconds to be used when connecting. This is **not** the timeout to be used when ``await``'ing for