mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-05 08:45:13 +00:00
Update docs
This commit is contained in:
@@ -10,7 +10,7 @@ Simple API Access
|
||||
-----------------
|
||||
|
||||
The easiest way to interact with the Telegram API is via the :class:`Client <pyrogram.Client>` class, which
|
||||
exposes bot-like_ methods:
|
||||
exposes `Bot API-like`_ methods:
|
||||
|
||||
- Get information about the authorized user:
|
||||
|
||||
@@ -94,4 +94,4 @@ Here some examples:
|
||||
)
|
||||
)
|
||||
|
||||
.. _bot-like: https://core.telegram.org/bots/api#available-methods
|
||||
.. _`Bot API-like`: https://core.telegram.org/bots/api#available-methods
|
@@ -12,7 +12,7 @@ If you already have one you can skip this step, otherwise:
|
||||
|
||||
#. Visit https://my.telegram.org/apps and log in with your Telegram Account.
|
||||
#. Fill out the form to register a new Telegram application.
|
||||
#. Done. The Telegram API key consists of two parts: the **App api_id** and the **App api_hash**
|
||||
#. Done. The Telegram API key consists of two parts: the **App api_id** and the **App api_hash**.
|
||||
|
||||
.. important:: This key should be kept secret.
|
||||
|
||||
|
@@ -1,17 +1,17 @@
|
||||
Quick Installation
|
||||
==================
|
||||
|
||||
The easiest way to install and upgrade Pyrogram is by using **pip**:
|
||||
- The easiest way to install and upgrade Pyrogram is by using **pip**:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: bash
|
||||
|
||||
$ pip3 install --upgrade pyrogram
|
||||
$ pip3 install --upgrade pyrogram
|
||||
|
||||
or, with TgCrypto_ (recommended):
|
||||
- or, with TgCrypto_ (recommended):
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: bash
|
||||
|
||||
$ pip3 install --upgrade pyrogram[tgcrypto]
|
||||
$ pip3 install --upgrade pyrogram[tgcrypto]
|
||||
|
||||
Bleeding Edge
|
||||
-------------
|
||||
@@ -32,6 +32,6 @@ If no error shows up you are good to go.
|
||||
|
||||
>>> import pyrogram
|
||||
>>> pyrogram.__version__
|
||||
'0.6.5'
|
||||
'0.7.0'
|
||||
|
||||
.. _TgCrypto: https://docs.pyrogram.ml/resources/TgCrypto
|
Reference in New Issue
Block a user