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 Feb 15, 2021
1 parent 841f33c commit b19f03c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions info.go
Original file line number Diff line number Diff line change
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 b19f03c

Please sign in to comment.