summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/webhooks.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/slack-go/slack/webhooks.go')
-rw-r--r--vendor/github.com/slack-go/slack/webhooks.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/github.com/slack-go/slack/webhooks.go b/vendor/github.com/slack-go/slack/webhooks.go
index 1016cb4f..39fff441 100644
--- a/vendor/github.com/slack-go/slack/webhooks.go
+++ b/vendor/github.com/slack-go/slack/webhooks.go
@@ -14,6 +14,7 @@ type WebhookMessage struct {
Text string `json:"text,omitempty"`
Attachments []Attachment `json:"attachments,omitempty"`
Parse string `json:"parse,omitempty"`
+ Blocks *Blocks `json:"blocks,omitempty"`
}
func PostWebhook(url string, msg *WebhookMessage) error {