summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nlopes/slack/block_object.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-12-07 22:54:36 +0100
committerGitHub <noreply@github.com>2019-12-07 22:54:36 +0100
commitf43faf15f847ba8c68027f8de4456f9c5092b02d (patch)
tree8b311b37351f196f54b167f727f0e78768b089c6 /vendor/github.com/nlopes/slack/block_object.go
parent173a38a37416045958b33fe7c0f68e26880f6e2b (diff)
downloadmatterbridge-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/block_object.go')
-rw-r--r--vendor/github.com/nlopes/slack/block_object.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/nlopes/slack/block_object.go b/vendor/github.com/nlopes/slack/block_object.go
index 9e77e6c7..824ec93c 100644
--- a/vendor/github.com/nlopes/slack/block_object.go
+++ b/vendor/github.com/nlopes/slack/block_object.go
@@ -178,7 +178,7 @@ func NewConfirmationBlockObject(title, text, confirm, deny *TextBlockObject) *Co
type OptionBlockObject struct {
Text *TextBlockObject `json:"text"`
Value string `json:"value"`
- URL string `json:"url"`
+ URL string `json:"url,omitempty"`
}
// NewOptionBlockObject returns an instance of a new Option Block Element