{"repo":"slack-go/slack","free":true,"listed":false,"github":"https://github.com/slack-go/slack","clone":"git clone https://github.com/slack-go/slack.git","description":"Slack API in Go","language":"Go","stars":4957,"topics":["slack","go","golang"],"license":"BSD-2-Clause","category":"chat-messaging","readme_excerpt":"Slack API in Go =============== You can chat with us on the #slack-go, #slack-go-ja Slack channel on the Gophers Slack. This library supports most if not all of the api.slack.com REST calls, as well as the Real-Time Messaging protocol over websocket, in a fully managed way. Project Status There is currently no major version released. Therefore, minor version releases may include backward incompatible changes. See Releases for more information about the changes. Go Versions supported We support the same versions of Go as the officially supported Go versions (see Go Release Policy). Installing go get Example Getting all groups Getting User Information HTTP retries Retries are off by default. Use OptionRetry(n) for 429-only retries, or OptionRetryConfig(cfg) for full control (connection, 429, opt-in 5xx). With a custom client, pass retry options after OptionHTTPClient . See package slack doc for handler details. Minimal Socket Mode usage: See https://github.com/slack-go/slack/blob/master/examples/socketmode/socketmode.go Minimal RTM usage: As mentioned in https://api.slack.com/rtm - for most applications, Socket Mode is a better way to communicate with Slack. See https://github.com/slack-go/slack/blob/master/examples/websocket/websocket.go Minimal EventsAPI usage: See https://github.com/slack-go/slack/blob/master/examples/eventsapi/events.go Socketmode Event Handler (Experimental) When using socket mode, dealing with an event can be pretty lengthy as it requires you to route the","default_branch":null,"files":null,"tree":[],"storefront":"/r/slack-go","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/slack-go/slack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}