Update old interactive example (#546)

This commit is contained in:
Lonami Exo
2018-01-16 18:36:50 +01:00
parent 49f204c955
commit fde0d60f72
2 changed files with 27 additions and 39 deletions

View File

@@ -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)])