Hangouts Chat gem
Send messages to Hangouts Chat rooms using incoming webhooks.
Installation
$ gem install hangouts-chat
or add to your Gemfile
require 'hangouts-chat'
Usage
sender = HangoutsChat::Sender.new 'webhook_URL'
sender.simple 'text'
How to get Webhook URL
- Open channel to which you want to send messages
- Click on the channel name in top bar and select 'Configure webhooks'
- Click on 'Add webhook' and fill name for bot, that will be display messages
- Click on 'Save' and copy 'Webhook URL'
Details: Setting up an incoming webhook
Comments
For now supported only Simple Text Messages
TODO
- Errors reports
- Support Card messages
- README badges etc