Documentation enhancements

This commit is contained in:
Lonami Exo
2018-05-06 13:03:30 +02:00
parent 2045e00563
commit f442e01560
3 changed files with 30 additions and 1 deletions

View File

@@ -39,6 +39,13 @@ Note that ``'some_name'`` will be used to save your session (persistent
information such as access key and others) as ``'some_name.session'`` in
your disk. This is by default a database file using Python's ``sqlite3``.
.. note::
It's important that the library always accesses the same session file so
that you don't need to re-send the code over and over again. By default it
creates the file in your working directory, but absolute paths work too.
Before using the client, you must be connected to Telegram.
Doing so is very easy: