Issue
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:
- Do We need Existing Client to do this Method if not - How can i achieve this..
- Sign_up Method Needs Self what to do here?
- Is this method will really work or do i need any other methods?
Solution
For this i made small mistakes.. there should be alredy client and from that client you can create it
Answered By - Rohithaditya
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.