summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nlopes/slack/websocket_channels.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-11-02 17:09:34 +0100
committerWim <wim@42.be>2017-11-02 17:09:34 +0100
commitb2a6777995c55233a47212743c781a27dde8dce6 (patch)
treebe4a9ef00448f82c71ae47d42835347160b70900 /vendor/github.com/nlopes/slack/websocket_channels.go
parentb461fc5e404c6e0df7289477171cad629cddb3e6 (diff)
downloadmatterbridge-msglm-b2a6777995c55233a47212743c781a27dde8dce6.tar.gz
matterbridge-msglm-b2a6777995c55233a47212743c781a27dde8dce6.tar.bz2
matterbridge-msglm-b2a6777995c55233a47212743c781a27dde8dce6.zip
Use matterbridge vendored slack
Diffstat (limited to 'vendor/github.com/nlopes/slack/websocket_channels.go')
-rw-r--r--vendor/github.com/nlopes/slack/websocket_channels.go72
1 files changed, 0 insertions, 72 deletions
diff --git a/vendor/github.com/nlopes/slack/websocket_channels.go b/vendor/github.com/nlopes/slack/websocket_channels.go
deleted file mode 100644
index 7dd3319b..00000000
--- a/vendor/github.com/nlopes/slack/websocket_channels.go
+++ /dev/null
@@ -1,72 +0,0 @@
-package slack
-
-// ChannelCreatedEvent represents the Channel created event
-type ChannelCreatedEvent struct {
- Type string `json:"type"`
- Channel ChannelCreatedInfo `json:"channel"`
- EventTimestamp string `json:"event_ts"`
-}
-
-// ChannelCreatedInfo represents the information associated with the Channel created event
-type ChannelCreatedInfo struct {
- ID string `json:"id"`
- IsChannel bool `json:"is_channel"`
- Name string `json:"name"`
- Created int `json:"created"`
- Creator string `json:"creator"`
-}
-
-// ChannelJoinedEvent represents the Channel joined event
-type ChannelJoinedEvent struct {
- Type string `json:"type"`
- Channel Channel `json:"channel"`
-}
-
-// ChannelInfoEvent represents the Channel info event
-type ChannelInfoEvent struct {
- // channel_left
- // channel_deleted
- // channel_archive
- // channel_unarchive
- Type string `json:"type"`
- Channel string `json:"channel"`
- User string `json:"user,omitempty"`
- Timestamp string `json:"ts,omitempty"`
-}
-
-// ChannelRenameEvent represents the Channel rename event
-type ChannelRenameEvent struct {
- Type string `json:"type"`
- Channel ChannelRenameInfo `json:"channel"`
- Timestamp string `json:"event_ts"`
-}
-
-// ChannelRenameInfo represents the information associated with a Channel rename event
-type ChannelRenameInfo struct {
- ID string `json:"id"`
- Name string `json:"name"`
- Created string `json:"created"`
-}
-
-// ChannelHistoryChangedEvent represents the Channel history changed event
-type ChannelHistoryChangedEvent struct {
- Type string `json:"type"`
- Latest string `json:"latest"`
- Timestamp string `json:"ts"`
- EventTimestamp string `json:"event_ts"`
-}
-
-// ChannelMarkedEvent represents the Channel marked event
-type ChannelMarkedEvent ChannelInfoEvent
-
-// ChannelLeftEvent represents the Channel left event
-type ChannelLeftEvent ChannelInfoEvent
-
-// ChannelDeletedEvent represents the Channel deleted event
-type ChannelDeletedEvent ChannelInfoEvent
-
-// ChannelArchiveEvent represents the Channel archive event
-type ChannelArchiveEvent ChannelInfoEvent
-
-// ChannelUnarchiveEvent represents the Channel unarchive event
-type ChannelUnarchiveEvent ChannelInfoEvent