mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Revert sign_in needing named code argument
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user