summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nlopes/slack/websocket_groups.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-03-01 20:59:19 +0100
committerGitHub <noreply@github.com>2020-03-01 20:59:19 +0100
commit250b3bb5795240d5ebdab5416ab99dbc41be734b (patch)
tree11e44ec2e7e37cd7eb0deaf0a7843fe6bf3c0e40 /vendor/github.com/nlopes/slack/websocket_groups.go
parente9edbfc051afc643d91fc04bc7fb3fe70039c213 (diff)
downloadmatterbridge-msglm-250b3bb5795240d5ebdab5416ab99dbc41be734b.tar.gz
matterbridge-msglm-250b3bb5795240d5ebdab5416ab99dbc41be734b.tar.bz2
matterbridge-msglm-250b3bb5795240d5ebdab5416ab99dbc41be734b.zip
Use upstream slack-go/slack again (#1018)
Diffstat (limited to 'vendor/github.com/nlopes/slack/websocket_groups.go')
-rw-r--r--vendor/github.com/nlopes/slack/websocket_groups.go49
1 files changed, 0 insertions, 49 deletions
diff --git a/vendor/github.com/nlopes/slack/websocket_groups.go b/vendor/github.com/nlopes/slack/websocket_groups.go
deleted file mode 100644
index eb88985c..00000000
--- a/vendor/github.com/nlopes/slack/websocket_groups.go
+++ /dev/null
@@ -1,49 +0,0 @@
-package slack
-
-// GroupCreatedEvent represents the Group created event
-type GroupCreatedEvent struct {
- Type string `json:"type"`
- User string `json:"user"`
- Channel ChannelCreatedInfo `json:"channel"`
-}
-
-// XXX: Should we really do this? event.Group is probably nicer than event.Channel
-// even though the api returns "channel"
-
-// GroupMarkedEvent represents the Group marked event
-type GroupMarkedEvent ChannelInfoEvent
-
-// GroupOpenEvent represents the Group open event
-type GroupOpenEvent ChannelInfoEvent
-
-// GroupCloseEvent represents the Group close event
-type GroupCloseEvent ChannelInfoEvent
-
-// GroupArchiveEvent represents the Group archive event
-type GroupArchiveEvent ChannelInfoEvent
-
-// GroupUnarchiveEvent represents the Group unarchive event
-type GroupUnarchiveEvent ChannelInfoEvent
-
-// GroupLeftEvent represents the Group left event
-type GroupLeftEvent ChannelInfoEvent
-
-// GroupJoinedEvent represents the Group joined event
-type GroupJoinedEvent ChannelJoinedEvent
-
-// GroupRenameEvent represents the Group rename event
-type GroupRenameEvent struct {
- Type string `json:"type"`
- Group GroupRenameInfo `json:"channel"`
- Timestamp string `json:"ts"`
-}
-
-// GroupRenameInfo represents the group info related to the renamed group
-type GroupRenameInfo struct {
- ID string `json:"id"`
- Name string `json:"name"`
- Created string `json:"created"`
-}
-
-// GroupHistoryChangedEvent represents the Group history changed event
-type GroupHistoryChangedEvent ChannelHistoryChangedEvent