code: def send_message(url, message):
      '''
      Send a message to the google chat room specified in the webhook url.
  
      .. code-block:: bash
  
          salt '*' google_chat.send_message "https://chat.googleapis.com/v1/spaces/example_space/messages?key=example_key" "This is a test message"
      '''
      headers = {'Content-Type': 'application/json'}
      data = {'text': message}
      result = __utils__['http.query'](url,
                                       'POST',
                                       data=json.dumps(data),
                                       header_dict=headers,
                                       decode=True,
                                       status=True)
  
      if result.get('status', 0) == 200:
          return True
      else:
          return Falsf send_message(url, message):
      '''
      Send a message to the google chat room specified in the webhook url.
  
      .. code-block:: bash
  
          salt '*' google_chat.send_message "https://chat.googleapis.com/v1/spaces/example_space/messages?key=example_key" "This is a test message"
      '''
      headers = {'Content-Type': 'application/json'}
      data = {'text': message}
      result = __utils__['http.query'](url,
                                       'POST',
                                       data=json.dumps(data),
                                       header_dict=headers,
                                       decode=True,
                                       status=True)
  
      if result.get('status', 0) == 200:
          return True
      else:
          return False
docs: Send a message to the google chat room specified in the webhook url.
  
      .. code-block:: bash
  
          salt '*' google_chat.send_message "https://chat.googleapis.com/v1/spaces/example_space/messages?key=example_key" "This is a test message"