Skip to content

Commit

Permalink
Merge pull request slack-go#120 from code0x9/master
Browse files Browse the repository at this point in the history
added app user access token response struct
  • Loading branch information
nlopes authored Jan 21, 2017
2 parents 9e36c75 + c882bd0 commit 56b573d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
type OAuthResponseIncomingWebhook struct {
URL string `json:"url"`
Channel string `json:"channel"`
ChannelID string `json:"channel_id,omitempty"`
ConfigurationURL string `json:"configuration_url"`
}

Expand All @@ -23,6 +24,7 @@ type OAuthResponse struct {
TeamID string `json:"team_id"`
IncomingWebhook OAuthResponseIncomingWebhook `json:"incoming_webhook"`
Bot OAuthResponseBot `json:"bot"`
UserID string `json:"user_id,omitempty"`
SlackResponse
}

Expand Down

0 comments on commit 56b573d

Please sign in to comment.