From 78b17977c550978f0d07ae379a37d73b7baa863f Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 23 Jun 2016 20:29:51 +0200 Subject: Fix mattermost 3.1.0 API change. Closes #24 --- matterhook/matterhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matterhook/matterhook.go b/matterhook/matterhook.go index 0b023d39..f30d44b7 100644 --- a/matterhook/matterhook.go +++ b/matterhook/matterhook.go @@ -31,11 +31,11 @@ type IMessage struct { TeamID string `schema:"team_id"` TeamDomain string `schema:"team_domain"` ChannelID string `schema:"channel_id"` - ServiceID string `schema:"service_id"` ChannelName string `schema:"channel_name"` Timestamp string `schema:"timestamp"` UserID string `schema:"user_id"` UserName string `schema:"user_name"` + PostId string `schema:"post_id"` Text string `schema:"text"` TriggerWord string `schema:"trigger_word"` } -- cgit v1.2.3