mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Update old interactive example (#546)
This commit is contained in:
@@ -728,7 +728,6 @@ class TelegramClient(TelegramBareClient):
|
||||
# Add a few extra attributes to the Message to make it friendlier.
|
||||
messages.total = total_messages
|
||||
for m in messages:
|
||||
# TODO Better way to return a total without tuples?
|
||||
m.sender = (None if not m.from_id else
|
||||
entities[utils.get_peer_id(m.from_id)])
|
||||
|
||||
|
Reference in New Issue
Block a user