This repository was archived by the owner on Jul 14, 2026. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions