Answer the question
In order to leave comments, you need to log in
pyrogram authorization. How to make output to a form in Django?
Hello. I make software on pyrogram. You need to log in to your account. In pycharm it asks for a confirmation code in the terminal. Is it possible to do something so that the request for the code is redirected to the form on the Django web interface?
Answer the question
In order to leave comments, you need to log in
pyrogram has a method sign_in()
Documentation
In short, you need to call the method send_code()
, passing the phone number. Then call the methodsign_in()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question