Start using the new Sender and Chat Getter interface

This commit is contained in:
Lonami Exo
2022-02-12 11:30:29 +01:00
parent f0654a0833
commit c914a92dcf
6 changed files with 8 additions and 31 deletions

View File

@@ -136,7 +136,7 @@ class Entity:
return self.ty in (EntityType.GROUP, EntityType.MEGAGROUP)
@property
def is_channel(self):
def is_broadcast(self):
"""
``True`` if the entity is a broadcast channel or `broadcast group`_.