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 b5b79f9f..5f388e9f 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,omitempty"`
+ Text string `json:"text"` // Required
ImageURL string `json:"image_url,omitempty"`
ThumbURL string `json:"thumb_url,omitempty"`