salt.modules.google_chat

Module for sending messages to google chat.

New in version 2019.2.0.

To use this module you need to configure a webhook in the google chat room where you would like the message to be sent, see:

salt.modules.google_chat.send_message(url, message)

Send a message to the google chat room specified in the webhook url.

salt '*' google_chat.send_message "https://chat.googleapis.com/v1/spaces/example_space/messages?key=example_key" "This is a test message"