summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/block_action.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-12-31 14:48:12 +0100
committerGitHub <noreply@github.com>2020-12-31 14:48:12 +0100
commit4f20ebead36876a88391bf033d1de3e4cf0228da (patch)
tree70b6fd79c6a5e00c958c29a7bd3926f074e76ba6 /vendor/github.com/slack-go/slack/block_action.go
parenta9f89dbc645aafc68daa9fc8d589f55104b535c7 (diff)
downloadmatterbridge-msglm-4f20ebead36876a88391bf033d1de3e4cf0228da.tar.gz
matterbridge-msglm-4f20ebead36876a88391bf033d1de3e4cf0228da.tar.bz2
matterbridge-msglm-4f20ebead36876a88391bf033d1de3e4cf0228da.zip
Update vendor for next release (#1343)
Diffstat (limited to 'vendor/github.com/slack-go/slack/block_action.go')
-rw-r--r--vendor/github.com/slack-go/slack/block_action.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/slack-go/slack/block_action.go b/vendor/github.com/slack-go/slack/block_action.go
index fe46a95c..c15e4a3f 100644
--- a/vendor/github.com/slack-go/slack/block_action.go
+++ b/vendor/github.com/slack-go/slack/block_action.go
@@ -6,7 +6,7 @@ package slack
type ActionBlock struct {
Type MessageBlockType `json:"type"`
BlockID string `json:"block_id,omitempty"`
- Elements BlockElements `json:"elements"`
+ Elements *BlockElements `json:"elements"`
}
// BlockType returns the type of the block
@@ -19,7 +19,7 @@ func NewActionBlock(blockID string, elements ...BlockElement) *ActionBlock {
return &ActionBlock{
Type: MBTAction,
BlockID: blockID,
- Elements: BlockElements{
+ Elements: &BlockElements{
ElementSet: elements,
},
}