forked from lug/matterbridge
Update dependencies and build to go1.22 (#2113)
* Update dependencies and build to go1.22 * Fix api changes wrt to dependencies * Update golangci config
This commit is contained in:
12
vendor/github.com/slack-go/slack/reactions.go
generated
vendored
12
vendor/github.com/slack-go/slack/reactions.go
generated
vendored
@@ -67,10 +67,11 @@ const (
|
||||
|
||||
// ListReactionsParameters is the inputs to find all reactions by a user.
|
||||
type ListReactionsParameters struct {
|
||||
User string
|
||||
Count int
|
||||
Page int
|
||||
Full bool
|
||||
User string
|
||||
TeamID string
|
||||
Count int
|
||||
Page int
|
||||
Full bool
|
||||
}
|
||||
|
||||
// NewListReactionsParameters initializes the inputs to find all reactions
|
||||
@@ -246,6 +247,9 @@ func (api *Client) ListReactionsContext(ctx context.Context, params ListReaction
|
||||
if params.User != DEFAULT_REACTIONS_USER {
|
||||
values.Add("user", params.User)
|
||||
}
|
||||
if params.TeamID != "" {
|
||||
values.Add("team_id", params.TeamID)
|
||||
}
|
||||
if params.Count != DEFAULT_REACTIONS_COUNT {
|
||||
values.Add("count", strconv.Itoa(params.Count))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user