From b30e85836e575974bac1b2ea91e9b6c2dd39fe44 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 5 Sep 2016 16:34:37 +0200 Subject: Add Slack support --- matterhook/matterhook.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'matterhook') diff --git a/matterhook/matterhook.go b/matterhook/matterhook.go index fc003cce..0880884b 100644 --- a/matterhook/matterhook.go +++ b/matterhook/matterhook.go @@ -27,6 +27,8 @@ type OMessage struct { // IMessage for mattermost outgoing webhook. (received from mattermost) type IMessage struct { + BotID string `schema:"bot_id"` + BotName string `schema:"bot_name"` Token string `schema:"token"` TeamID string `schema:"team_id"` TeamDomain string `schema:"team_domain"` @@ -36,6 +38,8 @@ type IMessage struct { UserID string `schema:"user_id"` UserName string `schema:"user_name"` PostId string `schema:"post_id"` + RawText string `schema:"raw_text"` + ServiceId string `schema:"service_id"` Text string `schema:"text"` TriggerWord string `schema:"trigger_word"` } -- cgit v1.2.3