Skip to content

Commit

Permalink
add connected_team_ids, shared_team_ids, internal_team_ids, is_global…
Browse files Browse the repository at this point in the history
…_shared field to conversation
  • Loading branch information
zFlabmonsta committed Jan 22, 2024
1 parent e715221 commit 4160354
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conversation.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ type Conversation struct {
IsIM bool `json:"is_im"`
IsExtShared bool `json:"is_ext_shared"`
IsOrgShared bool `json:"is_org_shared"`
IsGlobalShared bool `json:"is_global_shared"`
IsPendingExtShared bool `json:"is_pending_ext_shared"`
IsPrivate bool `json:"is_private"`
IsMpIM bool `json:"is_mpim"`
Expand All @@ -30,6 +31,9 @@ type Conversation struct {
NumMembers int `json:"num_members"`
Priority float64 `json:"priority"`
User string `json:"user"`
ConnectedTeamIDs []string `json:"connected_team_ids,omitempty"`
SharedTeamIDs []string `json:"shared_team_ids,omitempty"`
InternalTeamIDs []string `json:"internal_team_ids,omitempty"`

// TODO support pending_shared
// TODO support previous_names
Expand Down

0 comments on commit 4160354

Please sign in to comment.