mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-03 18:57:45 +00:00
Update vendor (#1498)
This commit is contained in:
1
vendor/github.com/slack-go/slack/files.go
generated
vendored
1
vendor/github.com/slack-go/slack/files.go
generated
vendored
@ -316,6 +316,7 @@ func (api *Client) UploadFileContext(ctx context.Context, params FileUploadParam
|
||||
}
|
||||
if params.Content != "" {
|
||||
values.Add("content", params.Content)
|
||||
values.Add("token", api.token)
|
||||
err = api.postMethod(ctx, "files.upload", values, response)
|
||||
} else if params.File != "" {
|
||||
err = postLocalWithMultipartResponse(ctx, api.httpclient, api.endpoint+"files.upload", params.File, "file", api.token, values, response, api)
|
||||
|
10
vendor/github.com/slack-go/slack/views.go
generated
vendored
10
vendor/github.com/slack-go/slack/views.go
generated
vendored
@ -38,8 +38,16 @@ type View struct {
|
||||
BotID string `json:"bot_id"`
|
||||
}
|
||||
|
||||
type ViewSubmissionCallbackResponseURL struct {
|
||||
BlockID string `json:"block_id"`
|
||||
ActionID string `json:"action_id"`
|
||||
ChannelID string `json:"channel_id"`
|
||||
ResponseURL string `json:"response_url"`
|
||||
}
|
||||
|
||||
type ViewSubmissionCallback struct {
|
||||
Hash string `json:"hash"`
|
||||
Hash string `json:"hash"`
|
||||
ResponseURLs []ViewSubmissionCallbackResponseURL `json:"response_urls,omitempty"`
|
||||
}
|
||||
|
||||
type ViewClosedCallback struct {
|
||||
|
Reference in New Issue
Block a user