Continue documentation

This commit is contained in:
Lonami Exo
2023-10-12 19:31:41 +02:00
parent 034bf304bb
commit 994d07ba05
22 changed files with 107 additions and 29 deletions

View File

@@ -1,7 +1,18 @@
Sessions
========
.. currentmodule:: telethon.session
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
Storages
--------

View File

@@ -68,3 +68,19 @@ Errors
await asyncio.sleep(e.value)
else:
raise
Private definitions
-------------------
.. warning::
These are **not** intended to be imported directly.
They are *not* available from :mod:`telethon.types`.
This section exists for documentation purposes only.
.. currentmodule:: telethon._impl.client.types.async_list
.. data:: T
Generic parameter used by :class:`AsyncList`.