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