MTPyroger/docs/source/api/client.rst
2019-05-16 21:28:34 +02:00

17 lines
304 B
ReStructuredText

Pyrogram Client
===============
This class exposes high-level methods for an easy access to the API.
.. code-block:: python
:emphasize-lines: 1-3
from pyrogram import Client
app = Client("my_account")
with app:
app.send_message("me", "Hi!")
.. autoclass:: pyrogram.Client()