Skip to content

Commit

Permalink
Merge pull request #1227 from invzhi/master
Browse files Browse the repository at this point in the history
Add blocks in slackevents.MessageEvent
  • Loading branch information
parsley42 committed Jan 30, 2024
2 parents 07c76ba + b801caa commit 86cd1bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions slackevents/inner_events.go
Expand Up @@ -267,6 +267,7 @@ type MessageEvent struct {
Upload bool `json:"upload"`
Files []File `json:"files"`

Blocks slack.Blocks `json:"blocks,omitempty"`
Attachments []slack.Attachment `json:"attachments,omitempty"`

// Root is the message that was broadcast to the channel when the SubType is
Expand Down

0 comments on commit 86cd1bd

Please sign in to comment.