mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-18 04:20:57 +03:00
Fix typo in sessions.rst (#491)
This commit is contained in:
parent
0e0bc6ecbc
commit
fd291fa014
|
@ -4,7 +4,7 @@
|
||||||
Session Files
|
Session Files
|
||||||
==============
|
==============
|
||||||
|
|
||||||
The first parameter you pass the the constructor of the
|
The first parameter you pass the constructor of the
|
||||||
``TelegramClient`` is the ``session``, and defaults to be the session
|
``TelegramClient`` is the ``session``, and defaults to be the session
|
||||||
name (or full path). That is, if you create a ``TelegramClient('anon')``
|
name (or full path). That is, if you create a ``TelegramClient('anon')``
|
||||||
instance and connect, an ``anon.session`` file will be created on the
|
instance and connect, an ``anon.session`` file will be created on the
|
||||||
|
@ -45,4 +45,4 @@ methods. For example, you could save it on a database:
|
||||||
# load relevant data to the database
|
# load relevant data to the database
|
||||||
|
|
||||||
You should read the ``session.py`` source file to know what “relevant
|
You should read the ``session.py`` source file to know what “relevant
|
||||||
data” you need to keep track of.
|
data” you need to keep track of.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user