mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-10 16:12:22 +03:00
.get_message_history doesn't return a tuple anymore
parent
01b1da3902
commit
6bac2fd65b
|
@ -31,7 +31,7 @@ client.send_file(myself, '/path/to/the/file.jpg', force_document=True)
|
|||
where = client.download_profile_photo(someone)
|
||||
|
||||
# Retrieving the message history
|
||||
total, messages, senders = client.get_message_history(someone)
|
||||
messages = client.get_message_history(someone)
|
||||
|
||||
# Downloading the media from a specific message
|
||||
# You can specify either a directory, a filename, or nothing at all
|
||||
|
|
Loading…
Reference in New Issue
Block a user