mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-11-11 19:40:36 +00:00
Make py:obj default Sphinx's role
This commit is contained in:
@@ -101,7 +101,7 @@ Retrieving all chat members (channels too)
|
||||
******************************************
|
||||
|
||||
You can use
|
||||
:obj:`client.get_participants <telethon.telegram_client.TelegramClient.get_participants>``
|
||||
`client.get_participants <telethon.telegram_client.TelegramClient.get_participants>`
|
||||
to retrieve the participants (click it to see the relevant parameters).
|
||||
Most of the time you will just need ``client.get_participants(entity)``.
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ Forwarding messages
|
||||
*******************
|
||||
|
||||
This request is available as a friendly method through
|
||||
:obj:`client.forward_messages <telethon.telegram_client.TelegramClient.forward_messages>``,
|
||||
`client.forward_messages <telethon.telegram_client.TelegramClient.forward_messages>`,
|
||||
and can be used like shown below:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
Reference in New Issue
Block a user