From ad4ad3d4acdd8d99d09a1737810d28af87d15831 Mon Sep 17 00:00:00 2001 From: Lonami Date: Fri, 9 Jun 2017 16:15:12 +0200 Subject: [PATCH] Explain difference between telethon.utils and telethon.helpers --- Home.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Home.md b/Home.md index 85c332f..00dc2c9 100644 --- a/Home.md +++ b/Home.md @@ -17,4 +17,12 @@ if not client.is_user_authorized(): # The `client´ is now ready ``` -The online documentation for all available requests, types and constructors is available online at https://lonamiwebs.github.io/Telethon/. \ No newline at end of file +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. \ No newline at end of file