mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 11:32:30 +00:00
@@ -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 ''
|
||||
|
Reference in New Issue
Block a user