mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-27 20:03:46 +03:00
Explain difference between telethon.utils and telethon.helpers
parent
40bc1c3466
commit
ad4ad3d4ac
10
Home.md
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.
|
Loading…
Reference in New Issue
Block a user