diff options
author | Wim <wim@42.be> | 2018-01-08 22:41:38 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-01-08 22:41:38 +0100 |
commit | 4a96a977c0e86e22edcda40730779279334685be (patch) | |
tree | fea5efa54d17af2d3cadb4d4d5a42f57e9bb7fbe /vendor/github.com/matterbridge/slack/websocket_groups.go | |
parent | 9a95293bdf74a4d02827018649b6ea0ffdef74ba (diff) | |
download | matterbridge-msglm-4a96a977c0e86e22edcda40730779279334685be.tar.gz matterbridge-msglm-4a96a977c0e86e22edcda40730779279334685be.tar.bz2 matterbridge-msglm-4a96a977c0e86e22edcda40730779279334685be.zip |
Update vendor (slack)
Diffstat (limited to 'vendor/github.com/matterbridge/slack/websocket_groups.go')
-rw-r--r-- | vendor/github.com/matterbridge/slack/websocket_groups.go | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/vendor/github.com/matterbridge/slack/websocket_groups.go b/vendor/github.com/matterbridge/slack/websocket_groups.go deleted file mode 100644 index eb88985c..00000000 --- a/vendor/github.com/matterbridge/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 |