From a293ed46be13cdf1972630d22de6c44bfd991eb8 Mon Sep 17 00:00:00 2001 From: Matthew <50682742+matthew-graves@users.noreply.github.com> Date: Mon, 23 Jan 2023 20:56:11 -0800 Subject: [PATCH] Expose reactionEvents in innerevents Hello! This PR is to match the websocket change for #1095 to expose the reactionEvent types in innerevents. --- slackevents/inner_events.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slackevents/inner_events.go b/slackevents/inner_events.go index e88b6cefe..fa61454da 100644 --- a/slackevents/inner_events.go +++ b/slackevents/inner_events.go @@ -305,7 +305,7 @@ type pinEvent struct { HasPins bool `json:"has_pins,omitempty"` } -type reactionEvent struct { +type ReactionEvent struct { Type string `json:"type"` User string `json:"user"` Reaction string `json:"reaction"` @@ -315,10 +315,10 @@ type reactionEvent struct { } // ReactionAddedEvent An reaction was added to a message - https://api.slack.com/events/reaction_added -type ReactionAddedEvent reactionEvent +type ReactionAddedEvent ReactionEvent // ReactionRemovedEvent An reaction was removed from a message - https://api.slack.com/events/reaction_removed -type ReactionRemovedEvent reactionEvent +type ReactionRemovedEvent ReactionEvent // PinAddedEvent An item was pinned to a channel - https://api.slack.com/events/pin_added type PinAddedEvent pinEvent