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.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/slack-go/slack/webhooks.go b/vendor/github.com/slack-go/slack/webhooks.go
index 39fff441..97346e1c 100644
--- a/vendor/github.com/slack-go/slack/webhooks.go
+++ b/vendor/github.com/slack-go/slack/webhooks.go
@@ -15,6 +15,9 @@ type WebhookMessage struct {
Attachments []Attachment `json:"attachments,omitempty"`
Parse string `json:"parse,omitempty"`
Blocks *Blocks `json:"blocks,omitempty"`
+ ResponseType string `json:"response_type,omitempty"`
+ ReplaceOriginal bool `json:"replace_original,omitempty"`
+ DeleteOriginal bool `json:"delete_original,omitempty"`
}
func PostWebhook(url string, msg *WebhookMessage) error {