def search_messages(self, *, query: str, **kwargs) -> SlackResponse:
        """Searches for messages matching a query.

        Args:
            query (str): Search query. May contains booleans, etc.
                e.g. 'pickleface'
        """
        self._validate_xoxp_token()
        kwargs.update({"query": query})
        return self.api_call("search.messages", http_verb="GET", params=kwargs)
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 )
Searches for messages matching a query.

        Args:
            query (str): Search query. May contains booleans, etc.
                e.g. 'pickleface'