MTPyroger/docs/source/index.rst

67 lines
1.2 KiB
ReStructuredText
Raw Normal View History

2017-12-30 18:47:18 +00:00
Welcome to Pyrogram
===================
.. raw:: html
2017-12-31 10:03:10 +00:00
<div align="center">
2018-01-01 12:55:05 +00:00
<a href="https://pyrogram.ml">
<img src="https://pyrogram.ml/images/logo2.png" alt="Logo">
</a>
2017-12-31 10:03:10 +00:00
</div>
<p align="center">
<b>Telegram MTProto API Client Library for Python</b>
</p>
2017-12-30 18:47:18 +00:00
2018-01-06 11:18:15 +00:00
Preview
-------
2017-12-30 18:47:18 +00:00
2018-01-06 11:18:15 +00:00
.. code-block:: python
from pyrogram import Client
client = Client("example")
client.start()
client.send_message("me", "Hi there! I'm using Pyrogram")
client.send_photo("me", "/home/dan/pic.jpg", "Nice photo!")
client.stop()
About
-----
Welcome to the Pyrogram's documentation! Here you can find resources for learning how to use the library.
Contents are organized by topic and are accessible from the sidebar.
To get started, press Next.
.. toctree::
:hidden:
:caption: Getting Started
getting_started/QuickInstallation
getting_started/ProjectSetup
getting_started/BasicUsage
.. toctree::
:hidden:
:caption: Resources
resources/TextFormatting
resources/UpdateHandling
resources/ErrorHandling
2017-12-30 18:47:18 +00:00
.. toctree::
2018-01-06 11:18:15 +00:00
:hidden:
2018-01-04 02:05:16 +00:00
:caption: Main Package
2018-01-03 17:26:05 +00:00
2018-01-04 02:05:16 +00:00
pyrogram/index
2018-01-03 17:26:05 +00:00
.. toctree::
2018-01-06 11:18:15 +00:00
:hidden:
:caption: Telegram API
2018-01-03 17:26:05 +00:00
2018-01-03 17:36:23 +00:00
functions/index
2018-01-03 17:26:05 +00:00
types/index