You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make it so the user sends a phone number in the first HTTP request and then it calls signInUser to send him the login code and then he can send the login code in a second request. How do I do that when the signInUser function expects the phoneCode to be a callback. I found this and tried implementing it with signInUser, but it would only send the login code after inputting a random code into the resolve.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to make it so the user sends a phone number in the first HTTP request and then it calls signInUser to send him the login code and then he can send the login code in a second request. How do I do that when the signInUser function expects the phoneCode to be a callback. I found this and tried implementing it with signInUser, but it would only send the login code after inputting a random code into the resolve.
https://stackoverflow.com/questions/73430700/telegram-client-gramjs-authentication-with-2-http-post-instead-of-callbacks
Beta Was this translation helpful? Give feedback.
All reactions