summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/views.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/slack-go/slack/views.go')
-rw-r--r--vendor/github.com/slack-go/slack/views.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/vendor/github.com/slack-go/slack/views.go b/vendor/github.com/slack-go/slack/views.go
index ee197ad8..e3ee8815 100644
--- a/vendor/github.com/slack-go/slack/views.go
+++ b/vendor/github.com/slack-go/slack/views.go
@@ -38,8 +38,16 @@ type View struct {
BotID string `json:"bot_id"`
}
+type ViewSubmissionCallbackResponseURL struct {
+ BlockID string `json:"block_id"`
+ ActionID string `json:"action_id"`
+ ChannelID string `json:"channel_id"`
+ ResponseURL string `json:"response_url"`
+}
+
type ViewSubmissionCallback struct {
- Hash string `json:"hash"`
+ Hash string `json:"hash"`
+ ResponseURLs []ViewSubmissionCallbackResponseURL `json:"response_urls,omitempty"`
}
type ViewClosedCallback struct {