mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 09:05:13 +00:00
122 lines
1.3 KiB
ReStructuredText
122 lines
1.3 KiB
ReStructuredText
|
Available Methods
|
||
|
=================
|
||
|
|
||
|
This page is about Pyrogram methods. All the methods listed here are bound to a :class:`~pyrogram.Client` instance.
|
||
|
|
||
|
.. code-block:: python
|
||
|
:emphasize-lines: 6
|
||
|
|
||
|
from pyrogram import Client
|
||
|
|
||
|
app = Client("my_account")
|
||
|
|
||
|
with app:
|
||
|
app.send_message("haskell", "hi")
|
||
|
|
||
|
.. currentmodule:: pyrogram.Client
|
||
|
|
||
|
Utilities
|
||
|
---------
|
||
|
|
||
|
.. autosummary::
|
||
|
:nosignatures:
|
||
|
|
||
|
{utilities}
|
||
|
|
||
|
.. toctree::
|
||
|
:hidden:
|
||
|
|
||
|
{utilities}
|
||
|
|
||
|
Messages
|
||
|
--------
|
||
|
|
||
|
.. autosummary::
|
||
|
:nosignatures:
|
||
|
|
||
|
{messages}
|
||
|
|
||
|
.. toctree::
|
||
|
:hidden:
|
||
|
|
||
|
{messages}
|
||
|
|
||
|
Chats
|
||
|
-----
|
||
|
|
||
|
.. autosummary::
|
||
|
:nosignatures:
|
||
|
|
||
|
{chats}
|
||
|
|
||
|
.. toctree::
|
||
|
:hidden:
|
||
|
|
||
|
{chats}
|
||
|
|
||
|
Users
|
||
|
-----
|
||
|
|
||
|
.. autosummary::
|
||
|
:nosignatures:
|
||
|
|
||
|
{users}
|
||
|
|
||
|
.. toctree::
|
||
|
:hidden:
|
||
|
|
||
|
{users}
|
||
|
|
||
|
Contacts
|
||
|
--------
|
||
|
|
||
|
.. autosummary::
|
||
|
:nosignatures:
|
||
|
|
||
|
{contacts}
|
||
|
|
||
|
.. toctree::
|
||
|
:hidden:
|
||
|
|
||
|
{contacts}
|
||
|
|
||
|
Password
|
||
|
--------
|
||
|
|
||
|
.. autosummary::
|
||
|
:nosignatures:
|
||
|
|
||
|
{password}
|
||
|
|
||
|
.. toctree::
|
||
|
:hidden:
|
||
|
|
||
|
{password}
|
||
|
|
||
|
Bots
|
||
|
----
|
||
|
|
||
|
.. autosummary::
|
||
|
:nosignatures:
|
||
|
|
||
|
{bots}
|
||
|
|
||
|
.. toctree::
|
||
|
:hidden:
|
||
|
|
||
|
{bots}
|
||
|
|
||
|
Advanced
|
||
|
--------
|
||
|
|
||
|
Learn more about these methods at :doc:`Advanced Usage <../../topics/advanced-usage>`.
|
||
|
|
||
|
.. autosummary::
|
||
|
:nosignatures:
|
||
|
|
||
|
{advanced}
|
||
|
|
||
|
.. toctree::
|
||
|
:hidden:
|
||
|
|
||
|
{advanced}
|