mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-24 02:13:45 +03:00
Explain difference between telethon.utils and telethon.helpers
parent
40bc1c3466
commit
ad4ad3d4ac
8
Home.md
8
Home.md
|
@ -18,3 +18,11 @@ if not client.is_user_authorized():
|
|||
```
|
||||
|
||||
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.
|
Loading…
Reference in New Issue
Block a user