mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-09-10 23:32:30 +00:00
Update vendor (#1560)
This commit is contained in:
4
vendor/github.com/slack-go/slack/conversation.go
generated
vendored
4
vendor/github.com/slack-go/slack/conversation.go
generated
vendored
@@ -458,6 +458,7 @@ type GetConversationsParameters struct {
|
||||
ExcludeArchived bool
|
||||
Limit int
|
||||
Types []string
|
||||
TeamID string
|
||||
}
|
||||
|
||||
// GetConversations returns the list of channels in a Slack team
|
||||
@@ -482,6 +483,9 @@ func (api *Client) GetConversationsContext(ctx context.Context, params *GetConve
|
||||
if params.ExcludeArchived {
|
||||
values.Add("exclude_archived", strconv.FormatBool(params.ExcludeArchived))
|
||||
}
|
||||
if params.TeamID != "" {
|
||||
values.Add("team_id", params.TeamID)
|
||||
}
|
||||
|
||||
response := struct {
|
||||
Channels []Channel `json:"channels"`
|
||||
|
Reference in New Issue
Block a user