Mention that the client should be .disconnect()'ed

Lonami 2017-06-09 19:37:02 +02:00
parent 88208fcbb6
commit 778a01c9e1

@ -19,6 +19,12 @@ 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/.
Although Python will probably clean up the resources used by the `TelegramClient`, you should always `.disconnect()` it once you're done:
```python
client.disconnect()
```
## Side notes
As a side note, you will often encounter these lines: