@property
def is_channel(self):
    'True if the message was sent on a megagroup or channel.'
    return isinstance(self._chat_peer, types.PeerChannel)
True if the message was sent on a megagroup or channel.
@property
def is_channel(self):
    
    return isinstance(self._chat_peer, types.PeerChannel)