mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 12:40:22 +03:00
update readme: get_message_history was deprecated
This commit is contained in:
parent
ae3957e843
commit
103be1d495
|
@ -52,7 +52,7 @@ Doing stuff
|
|||
client.send_file('username', '/home/myself/Pictures/holidays.jpg')
|
||||
|
||||
client.download_profile_photo('me')
|
||||
messages = client.get_message_history('username')
|
||||
messages = client.get_messages('username')
|
||||
client.download_media(messages[0])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user