This page is about Pyrogram methods. All the methods listed here are bound to a :class:`~pyrogram.Client` instance, except for :meth:`~pyrogram.idle()` and :meth:`~pyrogram.compose()`, which are special functions that can be found in the main package directly.
from pyrogram import Client
app = Client("my_account")
with app:
app.send_message("me", "hi").. currentmodule:: pyrogram.Client
.. autosummary::
:nosignatures:
{utilities}
.. toctree::
:hidden:
{utilities}
.. currentmodule:: pyrogram
.. autosummary::
:nosignatures:
idle
compose
.. toctree::
:hidden:
idle
compose
.. currentmodule:: pyrogram.Client
.. autosummary::
:nosignatures:
{messages}
.. toctree::
:hidden:
{messages}
.. autosummary::
:nosignatures:
{chats}
.. toctree::
:hidden:
{chats}
.. autosummary::
:nosignatures:
{users}
.. toctree::
:hidden:
{users}
.. autosummary::
:nosignatures:
{invite_links}
.. toctree::
:hidden:
{invite_links}
.. autosummary::
:nosignatures:
{contacts}
.. toctree::
:hidden:
{contacts}
.. autosummary::
:nosignatures:
{password}
.. toctree::
:hidden:
{password}
.. autosummary::
:nosignatures:
{bots}
.. toctree::
:hidden:
{bots}
.. autosummary::
:nosignatures:
{authorization}
.. toctree::
:hidden:
{authorization}
Methods used only when dealing with the raw Telegram API. Learn more about how to use the raw API at :doc:`Advanced Usage <../../topics/advanced-usage>`.
.. autosummary::
:nosignatures:
{advanced}
.. toctree::
:hidden:
{advanced}