(self, message_info)
return self._match(message_info.message)
:type message_info: wechat_django.models.WeChatMessageInfo
:type message_info: wechat_django.models.WeChatMessageInfo
: type message_info : wechat_django . models . WeChatMessageInfo
def match(self, message_info):
        """
        :type message_info: wechat_django.models.WeChatMessageInfo
        """
        if self.type == self.Type.CUSTOM:
            return self._custom_match(message_info)

        return self._match(message_info.message)
def match ( self , message_info ) : if self . type == self . Type . CUSTOM : return self . _custom_match ( message_info ) return self . _match ( message_info . message )