Update README.rst

This commit is contained in:
Dan 2017-12-31 11:00:33 +01:00 committed by GitHub
parent 5297fb0587
commit 71f5fb55f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,8 +81,11 @@ Getting Started
client = Client(session_name="example") client = Client(session_name="example")
client.start() client.start()
# Get information about yourself # Send a message to yourself (Saved Messages)
print(client.get_me()) client.send_message(
chat_id="me",
text="Hi there! I'm using Pyrogram"
)
That's all you need for getting started with Pyrogram. For more detailed information, That's all you need for getting started with Pyrogram. For more detailed information,
please refer to the `Wiki`_: please refer to the `Wiki`_:
@ -91,7 +94,7 @@ please refer to the `Wiki`_:
Other references: Other references:
- `docs.pyrogram.ml`_ - https://docs.pyrogram.ml
Development Development
=========== ===========
@ -108,7 +111,7 @@ functions.
Documentation Documentation
============= =============
- Pyrogram's API documentation at `docs.pyrogram.ml`_. - Pyrogram's API documentation at https://docs.pyrogram.ml.
- Guides and examples can be found on the `Wiki`_. - Guides and examples can be found on the `Wiki`_.
@ -153,8 +156,6 @@ License
.. _`Telegram`: https://t.me/joinchat/AWDQ8lK2HgBN7ka4OyWVTw .. _`Telegram`: https://t.me/joinchat/AWDQ8lK2HgBN7ka4OyWVTw
.. _`docs.pyrogram.ml`: https://docs.pyrogram.ml
.. _`bot-like`: https://core.telegram.org/bots/api#available-methods .. _`bot-like`: https://core.telegram.org/bots/api#available-methods
.. _`GitHub`: https://github.com/pyrogram/pyrogram/issues .. _`GitHub`: https://github.com/pyrogram/pyrogram/issues
@ -176,6 +177,10 @@ License
<b>Telegram MTProto API Client Library for Python</b> <b>Telegram MTProto API Client Library for Python</b>
<br> <br>
<a href="https://pypi.python.org/pypi/Pyrogram">
Download
</a>
<a href="https://github.com/pyrogram/pyrogram/wiki"> <a href="https://github.com/pyrogram/pyrogram/wiki">
Wiki Wiki
</a> </a>
@ -185,7 +190,7 @@ License
</a> </a>
<a href="https://t.me/joinchat/AWDQ8lK2HgBN7ka4OyWVTw"> <a href="https://t.me/joinchat/AWDQ8lK2HgBN7ka4OyWVTw">
Telegram Group Group Chat
</a </a
<br><br><br> <br><br><br>
<a href="compiler/api/source/main_api.tl"> <a href="compiler/api/source/main_api.tl">