    def text(self):
        """
        消息的文本内容
        """
        _type = self.type
        _card = self.card

        if _type == MAP:
            location = self.location
            if location:
                return location.get('label')
        elif _card:
            if _type == CARD:
                return _card.name
            elif _type == FRIENDS:
                return _card.raw.get('Content')

        ret = self.raw.get('Text')
        if isinstance(ret, str):
            return ret
消息的文本内容
wxpy/api/messages/message.py