Telethon/readthedocs/extra/troubleshooting/deleted-limited-or-deactivated-accounts.rst

28 lines
1.1 KiB
ReStructuredText
Raw Normal View History

========================================
2017-11-20 07:12:31 +03:00
Deleted, Limited or Deactivated Accounts
========================================
2017-11-20 07:12:31 +03:00
2018-05-30 19:55:01 +03:00
If you're from Iran or Russia, we have bad news for you. Telegram is much more
likely to ban these numbers, as they are often used to spam other accounts,
likely through the use of libraries like this one. The best advice we can
give you is to not abuse the API, like calling many requests really quickly,
2017-11-20 07:12:31 +03:00
and to sign up with these phones through an official application.
2018-05-30 19:55:01 +03:00
We have also had reports from Kazakhstan and China, where connecting
would fail. To solve these connection problems, you should use a proxy.
2017-11-20 07:12:31 +03:00
Telegram may also ban virtual (VoIP) phone numbers,
as again, they're likely to be used for spam.
If you want to check if your account has been limited,
simply send a private message to `@SpamBot`__ through Telegram itself.
You should notice this by getting errors like ``PeerFloodError``,
which means you're limited, for instance,
when sending a message to some accounts but not others.
For more discussion, please see `issue 297`__.
__ https://t.me/SpamBot
__ https://github.com/LonamiWebs/Telethon/issues/297