From 4250ac17608d0d6a1fb7f209011a3d624a285a48 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 15 Jan 2018 11:57:16 +0100 Subject: [PATCH] Fix cross-reference --- docs/source/getting_started/BasicUsage.rst | 2 ++ pyrogram/client/client.py | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) 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)