Point to the new domains

This commit is contained in:
Lonami Exo
2019-05-22 11:29:46 +02:00
parent c3d1d7a64c
commit 80f19bd1f0
13 changed files with 33 additions and 33 deletions

View File

@@ -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

View File

@@ -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>`_

View File

@@ -26,7 +26,7 @@ sys.path.insert(0, os.path.abspath(os.pardir))
root = os.path.abspath(os.path.join(__file__, os.path.pardir, os.path.pardir))
tl_ref_url = 'https://lonamiwebs.github.io/Telethon'
tl_ref_url = 'https://tl.telethon.dev'
# -- General configuration ------------------------------------------------

View File

@@ -37,7 +37,7 @@ to, you can make use of the :tl:`JoinChannelRequest` to join such channel:
For more on channels, check the `channels namespace`__.
__ https://lonamiwebs.github.io/Telethon/methods/channels/index.html
__ https://tl.telethon.dev/methods/channels/index.html
Joining a private chat or channel
@@ -224,7 +224,7 @@ is enough:
__ https://github.com/Kyle2142
__ https://github.com/LonamiWebs/Telethon/issues/490
__ https://lonamiwebs.github.io/Telethon/constructors/channel_admin_rights.html
__ https://tl.telethon.dev/constructors/channel_admin_rights.html
Increasing View Count in a Channel

View File

@@ -22,7 +22,7 @@ Telethon's Documentation
* Did you upgrade the library? Please read :ref:`changelog`.
* Used Telethon before v1.0? See :ref:`compatibility-and-convenience`.
* Coming from Bot API or want to create new bots? See :ref:`botapi`.
* Need the full API reference? https://lonamiwebs.github.io/Telethon/.
* Need the full API reference? https://tl.telethon.dev/.
What is this?

View File

@@ -292,7 +292,7 @@ Enhancements
* Saner timeout defaults for conversations.
* ``Path``-like files are now supported for thumbnails.
* Added new hot-keys to the online documentation at
https://lonamiwebs.github.io/Telethon/ such as ``/`` to search.
https://tl.telethon.dev/ such as ``/`` to search.
Press ``?`` to view them all.
@@ -1209,7 +1209,7 @@ Additions
- Telegram's Terms Of Service are now accepted when creating a new account.
This can possibly help avoid bans. This has no effect for accounts that
were created before.
- The `method reference <https://lonamiwebs.github.io/Telethon/>`_ now shows
- The `method reference <https://tl.telethon.dev/>`_ now shows
which methods can be used if you sign in with a ``bot_token``.
- There's a new `client.disconnected
<telethon.client.telegrambaseclient.TelegramBaseClient.disconnected>` future
@@ -1347,7 +1347,7 @@ Additions
- New default `telethon.telegram_client.TelegramClient.parse_mode`.
- You can edit the media of messages that already have some media.
- New dark theme in the online ``tl`` reference, check it out at
https://lonamiwebs.github.io/Telethon/.
https://tl.telethon.dev/.
Bug fixes
~~~~~~~~~
@@ -1450,7 +1450,7 @@ Now you can use Python's ``pickle`` module to serialize ``RPCError`` and
any other ``TLObject`` thanks to **@vegeta1k95**! A fix that was fairly
simple, but still might be useful for many people.
As a side note, the documentation at https://lonamiwebs.github.io/Telethon
As a side note, the documentation at https://tl.telethon.dev
now lists known ``RPCError`` for all requests, so you know what to expect.
This required a major rewrite, but it was well worth it!
@@ -1809,7 +1809,7 @@ Enhancements
- ``client.send_file()`` now accepts ``Message``'s and
``MessageMedia``'s as the ``file`` parameter.
- Some documentation updates and fixed to clarify certain things.
- New exact match feature on https://lonamiwebs.github.io/Telethon.
- New exact match feature on https://tl.telethon.dev.
- Return as early as possible from ``.get_input_entity()`` and similar,
to avoid penalizing you for doing this right.
@@ -2793,11 +2793,11 @@ get_input_* everywhere (v0.11.4)
*Published at 2017/07/10*
For some reason, Telegram doesn't have enough with the
`InputPeer <https://lonamiwebs.github.io/Telethon/types/input_peer.html>`__.
`InputPeer <https://tl.telethon.dev/types/input_peer.html>`__.
There also exist
`InputChannel <https://lonamiwebs.github.io/Telethon/types/input_channel.html>`__
`InputChannel <https://tl.telethon.dev/types/input_channel.html>`__
and
`InputUser <https://lonamiwebs.github.io/Telethon/types/input_user.html>`__!
`InputUser <https://tl.telethon.dev/types/input_user.html>`__!
You don't have to worry about those anymore, it's handled internally
now.
@@ -3047,7 +3047,7 @@ Additions
~~~~~~~~~
- The **documentation**, available online
`here <https://lonamiwebs.github.io/Telethon/>`__, has a new search bar.
`here <https://tl.telethon.dev/>`__, has a new search bar.
- Better **cross-thread safety** by using ``threading.Event``.
- More improvements for running Telethon during a **long period of time**.

View File

@@ -10,7 +10,7 @@ library. Said section is **not** for issues on *your* program but rather
issues with Telethon itself.
If you have not made the effort to 1. read through the docs and 2.
`look for the method you need <https://lonamiwebs.github.io/Telethon/>`__,
`look for the method you need <https://tl.telethon.dev/>`__,
you will end up on the `Wall of
Shame <https://github.com/LonamiWebs/Telethon/issues?q=is%3Aissue+label%3ARTFM+is%3Aclosed>`__,
i.e. all issues labeled