mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Avoid using undefined variable in the README.rst
This commit is contained in:
parent
835ff51e25
commit
3d68c879dd
|
@ -46,12 +46,12 @@ Doing stuff
|
|||
|
||||
.. code:: python
|
||||
|
||||
print(me.stringify())
|
||||
print(client.get_me().stringify())
|
||||
|
||||
client.send_message('username', 'Hello! Talking to you from Telethon')
|
||||
client.send_file('username', '/home/myself/Pictures/holidays.jpg')
|
||||
|
||||
client.download_profile_photo(me)
|
||||
client.download_profile_photo('me')
|
||||
messages = client.get_message_history('username')
|
||||
client.download_media(messages[0])
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user