diff --git a/telethon/telegram_bare_client.py b/telethon/telegram_bare_client.py index 8dad6d29..f22d13e6 100644 --- a/telethon/telegram_bare_client.py +++ b/telethon/telegram_bare_client.py @@ -299,7 +299,7 @@ class TelegramBareClient: self.disconnect() return self.connect() - def set_proxy(proxy): + def set_proxy(self, proxy): """Change the proxy used by the connections. """ if self.is_connected():