mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-23 01:46:35 +03:00
Fix SignUpRequest using an incorrectly named parameter
This commit is contained in:
parent
5f4e79542f
commit
49c5cf745f
|
@ -314,7 +314,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