tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

I can't log in to my account #2382

Closed rr8733380 closed 1 year ago

rr8733380 commented 1 year ago

I can't log in to my account all day. I do not receive a confirmation code when I log in to my account. The current state is AuthorizationStateWaitCode. I tried to log in from three different accounts, and the code didn't come to any of them. I tried to log in through the official telegram, the code came immediately. What's the matter?

levlam commented 1 year ago

It is up to the server, whether and how to send the code. For non-mobile or non-official apps it is usually sent as a Telegram message to another already logged in device.

rr8733380 commented 1 year ago

And why does the confirmation code not come when I try to log in to my account through my application that I create? Usually the code came in the official telegram application. At the same time, the application is registered to the account through which I am trying to log in. How can I solve this problem?

levlam commented 1 year ago

Probably, you asked for the code too many times. In this case you can only wait or test in Test DC.

rr8733380 commented 1 year ago

No. That's not so. I haven't logged into this account for a couple of days. And I haven't logged into the other two accounts for a very long time. This is clearly some kind of mistake

levlam commented 1 year ago

It is still up to the server. Nothing can be done app-side.