code: def search_messages(self, *, query: str, **kwargs) -> SlackResponse:
          
          self._validate_xoxp_token()
          kwargs.update({"query": query})
          return self.api_call("search.messages", http_verb="GET", params=kwargs)
docs: Searches for messages matching a query.
  
          Args:
              query (str): Search query. May contains booleans, etc.
                  e.g. 'pickleface'