hangouts-chat-webhook
Fluent api to send webhook to Hangouts chat
Installation
$ npm install --save hangouts-chat-webhook
Usage
We don't include any http client in order to let you choose your preferred one. Below is a simple example with superagent.
;; const message: Message = ; superagent ;
Warning
The Api list is coming directly from Google Api, BUT a lot of method are present (ex: keyValue.setBottomLabel
) but don't work with hangouts chat, resulting a response code 200 and a blank message. No way for developper to understand the reason.
Also, the Hangouts Chat message formats documentation is not complete and don't allow to clearly understand how to build message correctly.
You have to test directly on hangout chat in order to be sure that the message will work.
License
MIT © tchiotludo