-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Home
This wiki page is meant to be a place where everyone can find and contribute examples on how to use Telethon.
It is very important that your system time is on sync! Telegram won't send a reply back at all if your system time is too ahead of the current time, or too behind. This will most likely be the cause for the following errors:
BlockingIOError: [Errno 11] Resource temporarily unavailable
BlockingIOError: [Errno 35] Resource temporarily unavailable
TimeoutError: The read operation exceeded the timeout.
Please check this out before opening an issue. Thanks to issue 172 for the debug level log.
The online documentation for all available requests, types and constructors is available online at https://lonamiwebs.github.io/Telethon/.
If you ever receive a PEER_FLOOD
error or aren't able to perform certain requests, it might mean that your account is limited, and there's not much Telethon can do about this. Talk to @SpamBot for more information, or refer to the spam FAQ.
If you're using the library under ARM (or even if you aren't), you may want to install sympy
through pip
for a substantial speed-up when generating the keys required to connect to Telegram (you can of course do this on desktop too). See [issue #199](https://github.com/LonamiWebs/Telethon/issues/199>] for more.
If libssl
is available on your system, it will also be used wherever encryption is needed.
If neither of these are available, a pure Python callback will be used instead, so you can still run the library wherever Python is available!