Explain difference between telethon.utils and telethon.helpers

Lonami 2017-06-09 16:15:12 +02:00
parent 40bc1c3466
commit ad4ad3d4ac

10
Home.md

@ -17,4 +17,12 @@ if not client.is_user_authorized():
# The `client´ is now ready # The `client´ is now ready
``` ```
The online documentation for all available requests, types and constructors is available online at https://lonamiwebs.github.io/Telethon/. The online documentation for all available requests, types and constructors is available online at https://lonamiwebs.github.io/Telethon/.
As a side note, you will often encounter these lines:
```python
from telethon.utils import xyz
from telethon.helpers import zyx
```
The first one `utils` are only utilities, which are not related per se to the Telegram API. On the other hand, the `helpers` are indeed helpers to work with the Telegram API, and to make some tasks less cumbersome.