Skip to content

Commit

Permalink
Added missing information collected from rtm start
Browse files Browse the repository at this point in the history
  • Loading branch information
Karim Nahas committed Oct 8, 2020
1 parent 26dd6eb commit 56bd1b9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions info.go
Expand Up @@ -432,9 +432,15 @@ type Icons struct {
// Info contains various details about the authenticated user and team.
// It is returned by StartRTM or included in the "ConnectedEvent" RTM event.
type Info struct {
URL string `json:"url,omitempty"`
User *UserDetails `json:"self,omitempty"`
Team *Team `json:"team,omitempty"`
URL string `json:"url,omitempty"`
User *UserDetails `json:"self,omitempty"`
Team *Team `json:"team,omitempty"`
Channels []*Channel `json:"channels",omitempty`
Groups []*Channel `json:"groups",omitempty`
MPIMs []*Channel `json:"mpims",omitempty`
IMs []*Channel `json:"ims",omitempty`
Users []*User `json:"users,omitempty"`
Bots []*User `json:"bots,omitempty"`
}

type infoResponseFull struct {
Expand Down

0 comments on commit 56bd1b9

Please sign in to comment.