summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/websocket_reactions.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/slack-go/slack/websocket_reactions.go')
-rw-r--r--vendor/github.com/slack-go/slack/websocket_reactions.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/vendor/github.com/slack-go/slack/websocket_reactions.go b/vendor/github.com/slack-go/slack/websocket_reactions.go
index e4973878..6098a6ca 100644
--- a/vendor/github.com/slack-go/slack/websocket_reactions.go
+++ b/vendor/github.com/slack-go/slack/websocket_reactions.go
@@ -1,7 +1,7 @@
package slack
-// reactionItem is a lighter-weight item than is returned by the reactions list.
-type reactionItem struct {
+// ReactionItem is a lighter-weight item than is returned by the reactions list.
+type ReactionItem struct {
Type string `json:"type"`
Channel string `json:"channel,omitempty"`
File string `json:"file,omitempty"`
@@ -9,17 +9,17 @@ type reactionItem struct {
Timestamp string `json:"ts,omitempty"`
}
-type reactionEvent struct {
+type ReactionEvent struct {
Type string `json:"type"`
User string `json:"user"`
ItemUser string `json:"item_user"`
- Item reactionItem `json:"item"`
+ Item ReactionItem `json:"item"`
Reaction string `json:"reaction"`
EventTimestamp string `json:"event_ts"`
}
// ReactionAddedEvent represents the Reaction added event
-type ReactionAddedEvent reactionEvent
+type ReactionAddedEvent ReactionEvent
// ReactionRemovedEvent represents the Reaction removed event
-type ReactionRemovedEvent reactionEvent
+type ReactionRemovedEvent ReactionEvent