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
+4
View File
@@ -18,3 +18,7 @@
background-color: unset;
color: unset;
}
li {
list-style: circle;
}
+1 -1
View File
@@ -30,7 +30,7 @@
asyncio.run(main())
* Are you new here? Jump straight into :doc:`basic/installation`!
* Looking for the Client API reference? See :doc:`modules/client`.
* Looking for the Client API reference? See the :doc:`Client class <modules/client>`.
* Did you upgrade the library? Please read :doc:`developing/changelog`.
* Coming from Bot API or want to create new bots? See :doc:`concepts/botapi-vs-mtproto`.
* Used Telethon before v2.0? See :doc:`developing/migration-guide`.
+12 -1
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
--------
+16
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`.