summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/attachments.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/slack-go/slack/attachments.go')
-rw-r--r--vendor/github.com/slack-go/slack/attachments.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/slack-go/slack/attachments.go b/vendor/github.com/slack-go/slack/attachments.go
index 5f388e9f..b5b79f9f 100644
--- a/vendor/github.com/slack-go/slack/attachments.go
+++ b/vendor/github.com/slack-go/slack/attachments.go
@@ -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"` // Required
+ Text string `json:"text,omitempty"`
ImageURL string `json:"image_url,omitempty"`
ThumbURL string `json:"thumb_url,omitempty"`