From b801caabd08ad2bff506a649f9f7b0af53614ca8 Mon Sep 17 00:00:00 2001 From: invzhi Date: Wed, 20 Sep 2023 15:47:02 +0800 Subject: [PATCH] Add blocks in slackevents.MessageEvent --- slackevents/inner_events.go | 1 + 1 file changed, 1 insertion(+) diff --git a/slackevents/inner_events.go b/slackevents/inner_events.go index fb1ab132a..6be8b9201 100644 --- a/slackevents/inner_events.go +++ b/slackevents/inner_events.go @@ -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