mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-06 17:02:07 +00:00
Continue documentation
This commit is contained in:
Vendored
+4
@@ -18,3 +18,7 @@
|
||||
background-color: unset;
|
||||
color: unset;
|
||||
}
|
||||
|
||||
li {
|
||||
list-style: circle;
|
||||
}
|
||||
|
||||
@@ -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`.
|
||||
|
||||
@@ -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
|
||||
--------
|
||||
|
||||
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user