Forwards events to HipChat


(hipchat {:keys [server token room notify]})

Creates a HipChat adapter. Takes your HipChat v2 authentication token, and returns a function which posts a message to a HipChat.

You can any a personal or room-specific token, which can be obtained from your profile page or a specific room.

More on api tokens at https://www.hipchat.com/docs/apiv2/auth

If you’re using hosted HipChat, you can leave out :server (or set it to ‘api.hipchat.com’).

(let [hc (hipchat {:server "..."
                   :token "..."
                   :room 12345
                   :notify 0})]
  (changed-state hc))