summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nlopes/slack/examples/channels
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-07-16 14:29:46 +0200
committerWim <wim@42.be>2017-07-16 14:29:46 +0200
commitaec5e3d77b6e480d04dd8773723de62416a94919 (patch)
tree57ab269e6c46e62e61db04a9ca6fbb55e736519f /vendor/github.com/nlopes/slack/examples/channels
parent335ddf8db543bf64522196e6928c3d10af64694c (diff)
downloadmatterbridge-msglm-aec5e3d77b6e480d04dd8773723de62416a94919.tar.gz
matterbridge-msglm-aec5e3d77b6e480d04dd8773723de62416a94919.tar.bz2
matterbridge-msglm-aec5e3d77b6e480d04dd8773723de62416a94919.zip
Update vendor (nlopes/slack)
Diffstat (limited to 'vendor/github.com/nlopes/slack/examples/channels')
-rw-r--r--vendor/github.com/nlopes/slack/examples/channels/channels.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/github.com/nlopes/slack/examples/channels/channels.go b/vendor/github.com/nlopes/slack/examples/channels/channels.go
index a4465bdb..37d5f741 100644
--- a/vendor/github.com/nlopes/slack/examples/channels/channels.go
+++ b/vendor/github.com/nlopes/slack/examples/channels/channels.go
@@ -14,6 +14,8 @@ func main() {
return
}
for _, channel := range channels {
- fmt.Println(channel.ID)
+ fmt.Println(channel.Name)
+ // channel is of type conversation & groupConversation
+ // see all available methods in `conversation.go`
}
}