summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/block.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2021-05-05 22:03:28 +0200
committerGitHub <noreply@github.com>2021-05-05 22:03:28 +0200
commita0bca42a7ad98a37f4bdc4d7adc419471163edfb (patch)
tree3e87fdb61128039b016adb4e586636484c63ed52 /vendor/github.com/slack-go/slack/block.go
parentaf543dcd05cfb5341311e2e214727e26411d2f92 (diff)
downloadmatterbridge-msglm-a0bca42a7ad98a37f4bdc4d7adc419471163edfb.tar.gz
matterbridge-msglm-a0bca42a7ad98a37f4bdc4d7adc419471163edfb.tar.bz2
matterbridge-msglm-a0bca42a7ad98a37f4bdc4d7adc419471163edfb.zip
Update vendor (#1461)
* Update vendored libs * Fix slack api changes
Diffstat (limited to 'vendor/github.com/slack-go/slack/block.go')
-rw-r--r--vendor/github.com/slack-go/slack/block.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/slack-go/slack/block.go b/vendor/github.com/slack-go/slack/block.go
index 9946a294..3686db85 100644
--- a/vendor/github.com/slack-go/slack/block.go
+++ b/vendor/github.com/slack-go/slack/block.go
@@ -35,7 +35,7 @@ type Blocks struct {
type BlockAction struct {
ActionID string `json:"action_id"`
BlockID string `json:"block_id"`
- Type actionType `json:"type"`
+ Type ActionType `json:"type"`
Text TextBlockObject `json:"text"`
Value string `json:"value"`
ActionTs string `json:"action_ts"`
@@ -58,7 +58,7 @@ type BlockAction struct {
}
// actionType returns the type of the action
-func (b BlockAction) actionType() actionType {
+func (b BlockAction) actionType() ActionType {
return b.Type
}