@property
def is_private(self):
    'True if the message was sent as a private message.'
    return isinstance(self._chat_peer, types.PeerUser)
True if the message was sent as a private message.
@property
def is_private(self):
    
    return isinstance(self._chat_peer, types.PeerUser)