mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 11:23:46 +03:00
Revert sign_in needing named code argument
This commit is contained in:
parent
dbca38c6f5
commit
0f737a86af
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user