mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-17 18:46:40 +00:00
Merge branch 'LonamiWebs:v1' into main
This commit is contained in:
commit
3ffd810d78
@ -95,7 +95,8 @@ def get_display_name(entity):
|
||||
else:
|
||||
return ''
|
||||
|
||||
elif isinstance(entity, (types.Chat, types.ChatForbidden, types.Channel)):
|
||||
elif isinstance(entity, (
|
||||
types.Chat, types.ChatForbidden, types.Channel, types.ChannelForbidden)):
|
||||
return entity.title
|
||||
|
||||
return ''
|
||||
|
Loading…
Reference in New Issue
Block a user