summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/misc.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/slack-go/slack/misc.go')
-rw-r--r--vendor/github.com/slack-go/slack/misc.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/vendor/github.com/slack-go/slack/misc.go b/vendor/github.com/slack-go/slack/misc.go
index 0dcee950..a5ca51bc 100644
--- a/vendor/github.com/slack-go/slack/misc.go
+++ b/vendor/github.com/slack-go/slack/misc.go
@@ -22,8 +22,9 @@ import (
// SlackResponse handles parsing out errors from the web api.
type SlackResponse struct {
- Ok bool `json:"ok"`
- Error string `json:"error"`
+ Ok bool `json:"ok"`
+ Error string `json:"error"`
+ ResponseMetadata ResponseMetadata `json:"response_metadata"`
}
func (t SlackResponse) Err() error {