Search for messages.
        :param text: Text to search for in messages
        :param on_success: Callback to call containing all the matching messages.
        :param peer: Peer to search, if None, search all dialogs.
        :param min_date: Start search from this datetime.
        :param max_date: Send search at this datetime.
        :param max_id: Don't return any messages after this Message or message_id.
        :param offset: Number of messages to skip.
        :param limit: How many messages to return.
        :return:

def message_search(self, text: str, on_success: callable, peer: Peer=None,
                       min_date: datetime=None, max_date: datetime=None,
                       max_id: int=None, offset: int=0, limit: int=255):
        """
        Search for messages.
        :param text: Text to search for in messages
        :param on_success: Callback to call containing all the matching messages.
        :param peer: Peer to search, if None, search all dialogs.
        :param min_date: Start search from this datetime.
        :param max_date: Send search at this datetime.
        :param max_id: Don't return any messages after this Message or message_id.
        :param offset: Number of messages to skip.
        :param limit: How many messages to return.
        :return:
        """
        pass