-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telegram has stopped sending SMS code. #3835
Comments
The library is making the requests to Telegram for it to send the SMS. If Telegram isn't sending the SMS even after it was requested to do so, it probably has its own reasons (avoid spam), and Telethon can likely do nothing about it. |
I have been trying to solve this problem for 3 days. But to no avail. Codes come from official apps, but not from the telethon( |
This might be Telegram's anti-spam measures. There is not much that can be done by Telethon to mitigate this. |
The codes do not even come to the official Telegram client on the PC. Not for any major third-party client (Telegram X, X Chat). The problem is definitely not in the Thelethon, but I want to solve it somehow ( |
works fine for me, uninstall telethon and reinstall it |
Closing since this is not something Telethon can fix. It's just the way Telegram decides to work. Telethon is making the necessary requests for Telegram to send the code, but if it still doesn't, well, then Telegram is simply ignoring the request Telethon made. |
Try to send SMS verification or verification code, it may be sent successfully, the possibility is very small, this problem may be the problem of tg node |
Also duplicate of #3822. |
On the 10th of February, Telegram sent this message to those with an application registered on https://my.telegram.org:
What this means for Telethon:
Why has Telegram done this? Probably in an attempt to reduce spam, and also because sending SMS is likely not cheap at their scale. Another possible reason may be security. We cannot know. Telethon cannot do anything to bypass these new limitations, and won't try playing tricks to do so. |
Checklist
pip install -U https://github.com/LonamiWebs/Telethon/archive/master.zip
and triggered the bug in the latest version.Code that causes the issue
For a long time everything worked fine, but yesterday we ran into a problem. SMS messages stopped being sent from telegram. At all.
We used various proxies, api_id/api_hash, phone numbers (mostly +7 and a little +1).
There is no error or warning. Everything is as usual. But telegram just doesn't send SMS.
We tried to send the SMS code immediately using the send_code_request method. The result is the same.
The text was updated successfully, but these errors were encountered: