ph = input("Enter Phone Number: ")
async def sign_up():
try:
x = await bot.send_code_request(ph, force_sms=True)
print(x)
except Exception as e:
print(e)
print("Error")
return
print("Code Sent")
I am Trying To Request Code to Sign Up and i want this to create New account by using this method
await bot.sign_up(code =code,
first_name= name,
phone = ph)
Actually My Question is:
For this i made small mistakes.. there should be alredy client and from that client you can create it