Fix docs' typos

This commit is contained in:
Lonami Exo 2018-06-16 21:51:13 +02:00
parent 8086772506
commit 9c63def14c
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ Basic Usage
# Listing all the dialogs (conversations you have open)
for dialog in client.get_dialogs(limit=10):
print(utils.get_display_name(dialog.entity), dialog.draft.message)
print(utils.get_display_name(dialog.entity), dialog.draft.text)
# Downloading profile photos (default path is the working directory)
client.download_profile_photo('username')

View File

@ -74,7 +74,7 @@ Many other common methods for quick scripts are also available:
# Dialogs are the conversations you have open
for dialog in client.get_dialogs(limit=10):
print(utils.get_display_name(dialog.entity), dialog.draft.message)
print(utils.get_display_name(dialog.entity), dialog.draft.text)
# Default path is the working directory
client.download_profile_photo('username')

View File

@ -215,7 +215,7 @@ Restricting Users
*****************
Similar to how you give or revoke admin permissions, you can edit the
banned rights of an user through :tl:`EditAdminRequest` and its parameter
banned rights of an user through :tl:`EditBannedRequest` and its parameter
:tl:`ChannelBannedRights`:
.. code-block:: python