diff options
author | Wim <wim@42.be> | 2019-12-07 22:54:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-07 22:54:36 +0100 |
commit | f43faf15f847ba8c68027f8de4456f9c5092b02d (patch) | |
tree | 8b311b37351f196f54b167f727f0e78768b089c6 /vendor/github.com/nlopes/slack/attachments.go | |
parent | 173a38a37416045958b33fe7c0f68e26880f6e2b (diff) | |
download | matterbridge-msglm-f43faf15f847ba8c68027f8de4456f9c5092b02d.tar.gz matterbridge-msglm-f43faf15f847ba8c68027f8de4456f9c5092b02d.tar.bz2 matterbridge-msglm-f43faf15f847ba8c68027f8de4456f9c5092b02d.zip |
Update slack vendor to master (#958)
Diffstat (limited to 'vendor/github.com/nlopes/slack/attachments.go')
-rw-r--r-- | vendor/github.com/nlopes/slack/attachments.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/github.com/nlopes/slack/attachments.go b/vendor/github.com/nlopes/slack/attachments.go index cf8b5c67..73cdebe6 100644 --- a/vendor/github.com/nlopes/slack/attachments.go +++ b/vendor/github.com/nlopes/slack/attachments.go @@ -61,7 +61,7 @@ type ConfirmationField struct { // Attachment contains all the information for an attachment type Attachment struct { Color string `json:"color,omitempty"` - Fallback string `json:"fallback"` + Fallback string `json:"fallback,omitempty"` CallbackID string `json:"callback_id,omitempty"` ID int `json:"id,omitempty"` @@ -75,7 +75,7 @@ type Attachment struct { Title string `json:"title,omitempty"` TitleLink string `json:"title_link,omitempty"` Pretext string `json:"pretext,omitempty"` - Text string `json:"text"` + Text string `json:"text,omitempty"` ImageURL string `json:"image_url,omitempty"` ThumbURL string `json:"thumb_url,omitempty"` @@ -84,6 +84,8 @@ type Attachment struct { Actions []AttachmentAction `json:"actions,omitempty"` MarkdownIn []string `json:"mrkdwn_in,omitempty"` + Blocks []Block `json:"blocks,omitempty"` + Footer string `json:"footer,omitempty"` FooterIcon string `json:"footer_icon,omitempty"` |