mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-03 21:24:35 +03:00
parent
39e899294f
commit
b6fe4b8fec
|
@ -102,7 +102,7 @@ def get_display_name(entity):
|
|||
else:
|
||||
return ''
|
||||
|
||||
elif isinstance(entity, (types.Chat, types.Channel)):
|
||||
elif isinstance(entity, (types.Chat, types.ChatForbidden, types.Channel)):
|
||||
return entity.title
|
||||
|
||||
return ''
|
||||
|
|
Loading…
Reference in New Issue
Block a user