2023-10-08 16:07:18 +03:00
|
|
|
Sessions
|
|
|
|
========
|
2023-09-13 20:01:16 +03:00
|
|
|
|
2023-10-12 20:31:41 +03:00
|
|
|
Classes related to session data and session storages.
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
This module is mostly of interest if you plan to write a custom session storage.
|
|
|
|
You should not need to interact with these types directly under normal use.
|
|
|
|
|
|
|
|
.. seealso::
|
|
|
|
|
|
|
|
The :doc:`/concepts/sessions` concept for more details.
|
|
|
|
|
|
|
|
.. module:: telethon.session
|
2023-10-08 16:07:18 +03:00
|
|
|
|
|
|
|
Storages
|
|
|
|
--------
|
|
|
|
|
|
|
|
.. autoclass:: Storage
|
|
|
|
.. autoclass:: SqliteSession
|
|
|
|
.. autoclass:: MemorySession
|
|
|
|
|
|
|
|
Types
|
|
|
|
-----
|
|
|
|
|
|
|
|
.. autoclass:: Session
|
|
|
|
.. autoclass:: DataCenter
|
|
|
|
.. autoclass:: User
|
|
|
|
.. autoclass:: UpdateState
|
|
|
|
.. autoclass:: ChannelState
|