summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nlopes/slack/websocket_misc.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-08-10 00:38:19 +0200
committerWim <wim@42.be>2018-08-10 00:38:19 +0200
commit68aeb93afa0dd4a5067fcefff9db0a70644d7128 (patch)
treefdd80104c029ba57cb27d54850a3aa7020fedfba /vendor/github.com/nlopes/slack/websocket_misc.go
parent51062863a5c34d81e296cf15c61140911037cf3b (diff)
downloadmatterbridge-msglm-68aeb93afa0dd4a5067fcefff9db0a70644d7128.tar.gz
matterbridge-msglm-68aeb93afa0dd4a5067fcefff9db0a70644d7128.tar.bz2
matterbridge-msglm-68aeb93afa0dd4a5067fcefff9db0a70644d7128.zip
Update nlopes/slack vendor
Diffstat (limited to 'vendor/github.com/nlopes/slack/websocket_misc.go')
-rw-r--r--vendor/github.com/nlopes/slack/websocket_misc.go21
1 files changed, 20 insertions, 1 deletions
diff --git a/vendor/github.com/nlopes/slack/websocket_misc.go b/vendor/github.com/nlopes/slack/websocket_misc.go
index ad283ea1..16f48c74 100644
--- a/vendor/github.com/nlopes/slack/websocket_misc.go
+++ b/vendor/github.com/nlopes/slack/websocket_misc.go
@@ -80,7 +80,7 @@ type EmojiChangedEvent struct {
SubType string `json:"subtype"`
Name string `json:"name"`
Names []string `json:"names"`
- Value string `json:"value"`
+ Value string `json:"value"`
EventTimestamp string `json:"event_ts"`
}
@@ -119,3 +119,22 @@ type ReconnectUrlEvent struct {
Type string `json:"type"`
URL string `json:"url"`
}
+
+// MemberJoinedChannelEvent, a user joined a public or private channel
+type MemberJoinedChannelEvent struct {
+ Type string `json:"type"`
+ User string `json:"user"`
+ Channel string `json:"channel"`
+ ChannelType string `json:"channel_type"`
+ Team string `json:"team"`
+ Inviter string `json:"inviter"`
+}
+
+// MemberJoinedChannelEvent, a user left a public or private channel
+type MemberLeftChannelEvent struct {
+ Type string `json:"type"`
+ User string `json:"user"`
+ Channel string `json:"channel"`
+ ChannelType string `json:"channel_type"`
+ Team string `json:"team"`
+}