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