Documentation ¶
Overview ¶
Package bots is a lightweight wrapper over the "bots" methods in Slack's Web API: https://api.slack.com/methods?filter=bots.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
Vars sdkservices.Vars
}
type Bot ¶
type InfoResponse ¶
type InfoResponse struct { api.SlackResponse Bot Bot `json:"bot,omitempty"` }
https://api.slack.com/methods/bots.info#examples
func InfoWithToken ¶
func InfoWithToken(ctx context.Context, botToken string, authTest *auth.TestResponse) (*InfoResponse, error)
Info is only used internally, to check the usability of a bot token.
Click to show internal directories.
Click to hide internal directories.