Merge branch 'master' into docs

This commit is contained in:
Dan 2018-01-15 11:57:43 +01:00
commit 0eb3db9177
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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 <using-raw-functions>` 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)