Update docs

This commit is contained in:
Dan 2018-06-22 13:10:14 +02:00
parent e3299bb3b7
commit 8748ff97ef
2 changed files with 5 additions and 4 deletions

View File

@ -6,6 +6,7 @@ and are handled by registering one or more callback functions with an Handler. T
from, one for each kind of update: from, one for each kind of update:
- `MessageHandler <../pyrogram/handlers/MessageHandler.html>`_ - `MessageHandler <../pyrogram/handlers/MessageHandler.html>`_
- `DeletedMessagesHandler <../pyrogram/handlers/DeletedMessagesHandler.html>`_
- `CallbackQueryHandler <../pyrogram/handlers/CallbackQueryHandler.html>`_ - `CallbackQueryHandler <../pyrogram/handlers/CallbackQueryHandler.html>`_
- `RawUpdateHandler <../pyrogram/handlers/RawUpdateHandler.html>`_ - `RawUpdateHandler <../pyrogram/handlers/RawUpdateHandler.html>`_

View File

@ -10,9 +10,9 @@ High-level API
The easiest and recommended way to interact with Telegram is via the high-level Pyrogram methods_ and types_, which are The easiest and recommended way to interact with Telegram is via the high-level Pyrogram methods_ and types_, which are
named after the `Telegram Bot API`_. named after the `Telegram Bot API`_.
.. hint:: If you can't find a method you want to use, chances are it's not implemented yet. In this case, you must use .. hint:: If you can't find an high-level method you want to use, chances are it's not implemented yet.
the `Raw Functions`_. Meanwhile, feel free to join our Community_ if you're stuck or want to propose a In this case, you must use the `Raw Functions`_. Meanwhile, feel free to join our Community_ if you get stuck
new method! or want to propose a new method!
Examples: Examples:
@ -39,7 +39,7 @@ Examples:
Using Raw Functions Using Raw Functions
------------------- -------------------
If you can't find a high-level method for your needs or want complete, low-level access to the whole Telegram API, If you can't find a high-level method for your needs or if want complete, low-level access to the whole Telegram API,
you have to use the raw :mod:`functions <pyrogram.api.functions>` and :mod:`types <pyrogram.api.types>` exposed by the you have to use the raw :mod:`functions <pyrogram.api.functions>` and :mod:`types <pyrogram.api.types>` exposed by the
``pyrogram.api`` package and call any Telegram API method you wish using the :meth:`send() <pyrogram.Client.send>` ``pyrogram.api`` package and call any Telegram API method you wish using the :meth:`send() <pyrogram.Client.send>`
method provided by the Client class. method provided by the Client class.