Unsupported in the Bot API

def message_search(self, text, on_success, peer=None, min_date=None, max_date=None, max_id=None, offset=0, limit=255):
        """
        Unsupported in the Bot API
        """
        raise TWXUnsupportedMethod()