diff options
Diffstat (limited to 'vendor/github.com/nlopes/slack/examples/channels')
-rw-r--r-- | vendor/github.com/nlopes/slack/examples/channels/channels.go | 4 |
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` } } |