commit 01185c9247a8695a30d189617e5afd0903fde6eb
Author: Wim <wim@42.be>
Date: Mon Sep 18 23:43:21 2017 +0000
diff --git a/matterhook/matterhook.go b/matterhook/matterhook.go
index b049d84..1877cd3 100644
--- a/matterhook/matterhook.go
+++ b/matterhook/matterhook.go
@@ -1713 +1714 @@ import (
// OMessage for mattermost incoming webhook. (send to mattermost)
type OMessage struct {
- Channel string `json:"channel,omitempty"`
- IconURL string `json:"icon_url,omitempty"`
- IconEmoji string `json:"icon_emoji,omitempty"`
- UserName string `json:"username,omitempty"`
- Text string `json:"text"`
- Attachments interface{} `json:"attachments,omitempty"`
- Type string `json:"type,omitempty"`
+ Channel string `json:"channel,omitempty"`
+ IconURL string `json:"icon_url,omitempty"`
+ IconEmoji string `json:"icon_emoji,omitempty"`
+ UserName string `json:"username,omitempty"`
+ Text string `json:"text"`
+ Attachments interface{} `json:"attachments,omitempty"`
+ Type string `json:"type,omitempty"`
+ Props map[string]interface{} `json:"props"`
}
// IMessage for mattermost outgoing webhook. (received from mattermost)