diff --git a/docs/source/getting_started/BasicUsage.rst b/docs/source/getting_started/BasicUsage.rst index 33f23a8f..e9411c60 100644 --- a/docs/source/getting_started/BasicUsage.rst +++ b/docs/source/getting_started/BasicUsage.rst @@ -32,6 +32,8 @@ The result is a much cleaner interface that allows you to: .. seealso:: For a complete list of the available methods have a look at the :obj:`pyrogram.Client` class. +.. _using-raw-functions: + Using Raw Functions ------------------- diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 2389cff2..ae2ea8bc 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -152,7 +152,7 @@ class Client: self.update_handler = callback def send(self, data: Object): - """Use this method to send `Raw Function`_ queries. + """Use this method to send :ref:`Raw Function ` queries. This method makes possible to manually call every single Telegram API method in a low-level manner. Available functions are listed in the :obj:`pyrogram.api.functions` package and may accept compound @@ -164,8 +164,6 @@ class Client: Raises: :class:`pyrogram.Error` - - .. _`Raw Function`: https://github.com/pyrogram/pyrogram/wiki/Usage#using-raw-functions """ return self.session.send(data)