mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-10 22:19:26 +01:00
Add support for Type and Attachments in incoming webhooks
This commit is contained in:
parent
38fce68609
commit
5c1b02c7a3
@ -21,6 +21,8 @@ type OMessage struct {
|
||||
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"`
|
||||
}
|
||||
|
||||
// IMessage for mattermost outgoing webhook. (received from mattermost)
|
||||
|
Loading…
Reference in New Issue
Block a user