From 0f737a86af81875344bd5b79621ef8558efbfc4e Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Fri, 29 Jun 2018 09:57:57 +0200 Subject: [PATCH] Revert sign_in needing named code argument --- telethon/client/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/client/auth.py b/telethon/client/auth.py index 6f86a733..25c0444c 100644 --- a/telethon/client/auth.py +++ b/telethon/client/auth.py @@ -194,7 +194,7 @@ class AuthMethods(MessageParseMethods, UserMethods): return self async def sign_in( - self, phone=None, *, code=None, password=None, + self, phone=None, code=None, *, password=None, bot_token=None, phone_code_hash=None): """ Starts or completes the sign in process with the given phone number