5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 17:30:26 +00:00

Add props

This commit is contained in:
Wim 2017-09-18 23:43:21 +02:00
parent ffa8f65aa8
commit 18981cb636

View File

@ -24,6 +24,7 @@ type OMessage struct {
Text string `json:"text"` Text string `json:"text"`
Attachments interface{} `json:"attachments,omitempty"` Attachments interface{} `json:"attachments,omitempty"`
Type string `json:"type,omitempty"` Type string `json:"type,omitempty"`
Props map[string]interface{} `json:"props"`
} }
// IMessage for mattermost outgoing webhook. (received from mattermost) // IMessage for mattermost outgoing webhook. (received from mattermost)