mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 19:33:45 +03:00
Fix SignUpRequest using an incorrectly named parameter
This commit is contained in:
parent
bea1b7f526
commit
0197271f74
|
@ -306,7 +306,7 @@ class TelegramClient(TelegramBareClient):
|
|||
"""Signs up to Telegram. Make sure you sent a code request first!"""
|
||||
result = self(
|
||||
SignUpRequest(
|
||||
phone=self._phone,
|
||||
phone_number=self._phone,
|
||||
phone_code_hash=self._phone_code_hash,
|
||||
phone_code=code,
|
||||
first_name=first_name,
|
||||
|
|
Loading…
Reference in New Issue
Block a user