mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Merge branch 'master' into docs
This commit is contained in:
commit
0eb3db9177
@ -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.
|
.. seealso:: For a complete list of the available methods have a look at the :obj:`pyrogram.Client` class.
|
||||||
|
|
||||||
|
.. _using-raw-functions:
|
||||||
|
|
||||||
Using Raw Functions
|
Using Raw Functions
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ class Client:
|
|||||||
self.update_handler = callback
|
self.update_handler = callback
|
||||||
|
|
||||||
def send(self, data: Object):
|
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.
|
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
|
Available functions are listed in the :obj:`pyrogram.api.functions` package and may accept compound
|
||||||
@ -164,8 +164,6 @@ class Client:
|
|||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
:class:`pyrogram.Error`
|
:class:`pyrogram.Error`
|
||||||
|
|
||||||
.. _`Raw Function`: https://github.com/pyrogram/pyrogram/wiki/Usage#using-raw-functions
|
|
||||||
"""
|
"""
|
||||||
return self.session.send(data)
|
return self.session.send(data)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user