mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-12 19:55:59 +00:00
Point to the new domains
This commit is contained in:
@@ -20,7 +20,7 @@ of everything you can do.
|
||||
|
||||
.. note::
|
||||
|
||||
The reason to keep both https://lonamiwebs.github.io/Telethon and this
|
||||
The reason to keep both https://tl.telethon.dev and this
|
||||
documentation alive is that the former allows instant search results
|
||||
as you type, and a "Copy import" button. If you like namespaces, you
|
||||
can also do ``from telethon.tl import types, functions``. Both work.
|
||||
@@ -224,6 +224,6 @@ and still access the successful results:
|
||||
# The second request failed.
|
||||
second = e.exceptions[1]
|
||||
|
||||
.. _check the documentation: https://lonamiwebs.github.io/Telethon
|
||||
.. _method you need: https://lonamiwebs.github.io/Telethon/methods/index.html
|
||||
.. _use the search: https://lonamiwebs.github.io/Telethon/?q=message&redirect=no
|
||||
.. _check the documentation: https://tl.telethon.dev
|
||||
.. _method you need: https://tl.telethon.dev/methods/index.html
|
||||
.. _use the search: https://tl.telethon.dev/?q=message&redirect=no
|
||||
|
||||
@@ -86,7 +86,7 @@ the ``was_online`` time. It's inside ``status``:
|
||||
online_at = user.status.was_online
|
||||
|
||||
You don't need to print everything to see what all the possible values
|
||||
can be. You can just search in http://lonamiwebs.github.io/Telethon/.
|
||||
can be. You can just search in http://tl.telethon.dev/.
|
||||
|
||||
Remember that you can use Python's `isinstance
|
||||
<https://docs.python.org/3/library/functions.html#isinstance>`_
|
||||
|
||||
Reference in New Issue
Block a user